PHP settings check - A bug?

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
tuxg
Junior Member
Posts: 21
Joined: 02 Sep 2007, 15:11

PHP settings check - A bug?

Post 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
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

So long as you're running the latest version, then csf gets the settings from:

/usr/local/bin/php -i
tuxg
Junior Member
Posts: 21
Joined: 02 Sep 2007, 15:11

Post 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
Post Reply