Are you sure you want to close the chat?Chat will be closed and the chat history will be cleared.
continue to sign out,
or stay on chat.
To review this chat session please click this windows.
Chat Online
Chat Online0
Support

Forum

A place for Dynadot and community experts alike to ask questions, share ideas, and more.
Trying to edit php.ini file on VPS hosted Wordpress Site
Posted By eko
11/14/2015 11:15
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.
Reply Quote
12/15/2015 17:18
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
Reply Quote