These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for apache need to reload for every changes in php.ini per domain ? on the new forum.
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.
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
Thank you for point out it may take a few minutes for the changes
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).