Thread: Editing PHP.ini
View Single Post
Old March 13th, 2006, 9:37 AM   #2 (permalink)
mr_fern
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
Most likely the file will be located here:
/usr/local/Zend/etc/php.ini

The easiest way to locate the file is to create a php info page with
<?php phpinfo(); ?>

The first table tells you the php.ini path

Go into SSH and either download the file to your computer, or use the command
nano /path/to/php.ini

and edit the file on the server. If you're using Nano (it's a text editor), when you're done with the file, do the following: Ctrl-X, Y, Enter
Ctrl-X tries to exit out, since the file's modified it askes if you want to save changes (y for yes), and then it prompts for a file name (the current file name is there), so you just hit enter

Make sure to restart Apache after making changes, because it only reads the configuration file at start up, so any changes won't be visible until apache's restarted.
__________________
Nobody doing nothing
mr_fern is offline   Reply With Quote