ALWS IT Support Blog
27Feb/100

How to edit php.ini from ssh

To edit the php.ini on you server log on to the server via ssh (putty)
1. Log on to your server via ssh
2. Change directory from present home folder using 'cd ..' command
3. # cd /etc
4. # ls (make sure your php.ini file is present)
5. # vi php.ini
6. Find the bit in php.ini you would like to edit, hit 'i' - this enables you to edit the php.ini file
7. After chnaging the file, type 'Esc'
8. Type ':wq' - (w=saves the file, q=quit)
7. Reboot the web server

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.