PDA

View Full Version : PHP.ini



rucas911
11-11-2008, 08:06 PM
I am hosting a joomla site through host monster, 2 of them actually. I have a couple changes I want to make to the PHP.ini file, one of which is disable the magic quotes.

The only php.ini file I can find is in the root of www directory. I edited that one accordingly but nothing happened. I believe you have to restart your web service for the PHP.ini to take affect. If I am correct please tell me how I can do that or who can do it for me, and if I'm wrong could someone tell me what I need to do to make this happen?

Thanks

Chella
11-11-2008, 10:01 PM
I believe you need to copy it into the directory of the site(s) you wish to apply it to.

linFox
11-11-2008, 10:09 PM
By default, you do have to copy the modified php.ini into every folder with php files that you want to be affected.
However you can use the one root php.ini file globally by switching to "PHP5 (Single php.ini)" in PHP Config in cPanel.

rucas911
11-13-2008, 05:07 AM
I switched to the single php.ini option like you suggested. This works for me because we only have 2 php sites being hosted and the settings I needed to modify needed to be done for both.

Thanks for the help.