bram85 Posted August 25, 2008 Share Posted August 25, 2008 Hello. We run PHP scripts in CGI mode and under suexec (each site has its own user). We want to override certain directives like session.save_path in a separate php.ini for each site. Then there's a wrapper script for PHP which sets PHPRC to the folder with the customized php.ini and call pgp-cgi. However, directives in the global php.ini are overridden, it forgets about include_dirs for example. Is it possible to let PHP use the global php.ini, except for the few directives we specify in separate files? To me it looks like it's either the local php.ini file or the global one, but not both. Quote Link to comment https://forums.phpfreaks.com/topic/121223-override-phpini-directives-in-cgi-mode-suexec/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.