How to edit php.ini from ssh
Code Library, Linux Apache Server June 18th, 2007Type:
1. “cd /etc”
2. “ls”
Check that there is the php.ini listed if not you will have to ask your hosting provider where it is.
3. “vi php.ini”
Find the bit in php.ini you would like to edit.
4. “i” - This enables you to edit the php.ini file
5. After changing the file, please Esc.
6: “:wq” - (w = saves the file, q = quit)
7. reboot your server and your done.
Rate This Post:








July 21st, 2008 at 4:54 am
this is helpful, thx
October 22nd, 2008 at 9:08 pm
Thank you so much!! exactly what I needed!