Page 1 of 1

PHP settings check - A bug?

Posted: 12 Oct 2007, 07:30
by tuxg
Hi,

csf 2.90 shows the PHP settings to be changed to:

enable_dl = Off
register_globals = Off

while they are already set that way. Is this a bug or any other php.ini file overriding
the main one? Is there a way to figure this out?

thank you,
tuxg

Posted: 15 Oct 2007, 09:37
by chirpy
So long as you're running the latest version, then csf gets the settings from:

/usr/local/bin/php -i

Posted: 16 Oct 2007, 13:22
by tuxg
Hi Chirpy,

Here is what it says:
-bash-3.00# grep enable_dl /usr/local/lib/php.ini
enable_dl = Off
-bash-3.00# grep register_globals /usr/local/lib/php.ini
; register_globals to be on; Using form variables as globals can easily lead
register_globals = Off
; to initialize a session variable in the global scope, albeit register_globals
-bash-3.00# /usr/local/bin/php -i | grep enable_dl
enable_dl => Off => Off
-bash-3.00# /usr/local/bin/php -i | grep register_globals
register_globals => Off => Off
-bash-3.00#

Does this look correct in my settings?
My csf ver is 2.90

Thank you,
tuxg