Link to home
Start Free TrialLog in
Avatar of Robert Granlund
Robert GranlundFlag for United States of America

asked on

SSH Comand line

I need to upload a large SQL file to my DB.  However, it is larger than what the default php.ini file will allow. (65MB)
My host told me I needed to edit the php.ini file via SSH Command line.  I tried to use my ftp (FileZilla) but it would not overwrite the file.

Do I use a program to overwrite via SSH Command line?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you connect via SFTP on filezilla you can right click the file and change the permissions  so you can overwrite it.
If you have SSH access then usually your host will have a terminal you can use online, log into your hosting control panel with the host and see if there is an SSH terminal
Use scp to transfer the file, then move it to where you need it:

scp filename.sql remotehost.domain.com:/home/username/