View Single Post
  #1  
Old 10-04-2012, 09:13 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Default PHP suEXEC daemon mode doesn't read in PHP_INI_SCAN_DIR php.ini

Hi Guys,

Just deployed 4.2 onto a server to see if it would fix a previous problem, and also did the whole recompile of php and turned on the PHP suEXEC Daemon mode to give it a good test.

It works fantastic, except for the small fact that it will not read in per user php.ini despite the setting being in the Environment section:

PHP_INI_SCAN_DIR=$VH_ROOT/public_html

Switching straight back from the PHP suEXEC Daemon mode fixes the issue straight away and it starts reading in the per user php.ini's again.

Is this just a bug, or will this be the case and if you use PHP_INI_SCAN_DIR you won't be able to use PHP suEXEC Daemon?

Cheers,
Craig
Reply With Quote