Hi, I just signed up for VPS hosting, and have got word press installed. I need to edit the php.ini file to change values such as upload_max_filesize so I can install the theme I want.
I have connected to my server space using Filezilla, and found the correct php.ini file. however, I am unable to download it and get an ambiguous error - "could not start transfer", which after some research, suggests a problem/restriction on the server side.
Please advise.
Posted By teamdynadot12/16/2015 01:18
teamdynadot replied eko
This line of command will help update the size limit from 2MB to 20 MB. Login through the SSH tunnel and type the following:
sed -i s/"upload_max_filesize = 2M"/"upload_max_filesize = 20M"/g /etc/php5/apache2/php.ini
Alternatively, you can run the vi editor and edit the php.ini file.
vi /etc/php5/apache2/php.ini
Trying to edit php.ini file on VPS hosted Wordpress Site