apache need to reload for every changes in php.ini per domain ?

4 posts / 0 new
Last post
#1 Tue, 12/28/2010 - 16:21
adrianmak

apache need to reload for every changes in php.ini per domain ?

Is it necessary to restart apache for every changes in /home/DOMAIN-NAME/etc/php.ini for each domain name ?

I tried modify the php memory limit in php.ini for a domain but new php settings didn't work unitl I restart apache.

Tue, 12/28/2010 - 16:28
andreychek

Howdy,

You shouldn't need to reload Apache unless you're using mod_php. If you're using CGI or FCGID, that change should be picked up automatically.

With FCGID -- it may take a few minutes for the change to be picked up since that does do some caching.

-Eric

Tue, 12/28/2010 - 16:33
adrianmak

Thank you for point out it may take a few minutes for the changes

Tue, 12/28/2010 - 16:36
Locutus

Either that, or kill the FCGID process, causing Apache to start a new one with the changed settings upon the next PHP request (if I'm not mistaken).

Topic locked