LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > PHP suEXEC daemon mode doesn't read in PHP_INI_SCAN_DIR php.ini

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 10-04-2012, 10:14 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
are you using cagefs at the same time?
Reply With Quote
  #3  
Old 10-04-2012, 10:15 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
No... We are just using normal LVE.
Not CageFS.
Not yet anyway.
Reply With Quote
  #4  
Old 10-04-2012, 10:22 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
it may still relate to lve.

see if you can disable lve for a while and see if PHP_INI_SCAN_DIR works
Reply With Quote
  #5  
Old 10-04-2012, 10:34 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
I turned off LVE in LiteSpeed to see what would happen, but it still doesn't pick up the php.ini at all.
Reply With Quote
  #6  
Old 10-08-2012, 10:24 PM
Jesse Jesse is offline
Member
 
Join Date: May 2012
Posts: 10
Is there any quick workaround to this issue so we can operate on 4.2, will we have to wait til 4.2.1 or is the new behaviour deemed correct?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:03 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.