LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   Litespeed 4.2.1 Custom PHP Issue w\Daemon Mode (http://www.litespeedtech.com/support/forum/showthread.php?t=6433)

Corey 12-08-2012 10:16 PM

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.

Corey 12-10-2012 08:10 PM

bump......

NiteWave 12-10-2012 08:32 PM

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.

Corey 12-11-2012 07:06 AM

It is not working.

Corey 12-16-2012 09:58 PM

Since you guys apparently have no interest in fixing bugs, I'll downgrade back to 4.1.13.

Thanks for the help...


All times are GMT -7. The time now is 08:51 PM.