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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Litespeed 4.2.1 Custom PHP Issue w\Daemon Mode

Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2012, 10:16 PM
Corey Corey is offline
Member
 
Join Date: Sep 2011
Posts: 15
Default Litespeed 4.2.1 Custom PHP Issue w\Daemon Mode

Hello,

I've tried 4.2.1 out however I'm having issues with the PHP_INI_SCAN_DIR environmental variable. If Daemon mode is enabled and this line is in the environmental section "PHP_INI_SCAN_DIR=$VH_ROOT" it seems the the scan_dir var is set to /usr/local/lsws/, this is shown by dumping $_ENV and also in phpinfo under the "Scan this dir for additional .ini files" section.

If I change it to be "PHP_INI_SCAN_DIR=$VH_ROOT/php" it breaks some websites and the phpinfo section for Scan this dir is set to /usr/local/lsws/php

I read that 4.2.1 addresses issues with custom php.ini, is there a different way to set custom PHP files in 4.2.1 or am I doing something wrong? I reproduced this issue on multiple servers and also completely removed Litespeed and installed it again with default settings. The issue persists regardless of what I do.
Reply With Quote
  #2  
Old 12-10-2012, 08:10 PM
Corey Corey is offline
Member
 
Join Date: Sep 2011
Posts: 15
bump......
Reply With Quote
  #3  
Old 12-10-2012, 08:32 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
please refer
http://blog.litespeedtech.com/2012/1...-not-possible/
"When php.ini needs to be overridden for one user, LSWS 4.2.1 will automatically switch to non-daemon mode and start a fresh PHP process with a customized php.ini."

I think it also apply for PHP_INI_SCAN_DIR case.
Reply With Quote
  #4  
Old 12-11-2012, 07:06 AM
Corey Corey is offline
Member
 
Join Date: Sep 2011
Posts: 15
It is not working.
Reply With Quote
  #5  
Old 12-16-2012, 09:58 PM
Corey Corey is offline
Member
 
Join Date: Sep 2011
Posts: 15
Since you guys apparently have no interest in fixing bugs, I'll downgrade back to 4.1.13.

Thanks for the help...
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 08:22 AM.



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