|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-04 22:19 UTC] jani@php.net
[2009-02-05 04:20 UTC] ali dot hamad at dci dot net dot sa
[2009-02-12 01:00 UTC] php-bugs at lists dot php dot net
[2009-02-26 17:00 UTC] inno dot vation at gmx dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 19:00:01 2025 UTC |
Description: ------------ 1) my disable_functions in php.ini : disable_functions = php_uname 2) in httpd.conf , inside the vhost for the user, I have : <Directory "/home/userName/public_html/"> <IfModule mod_php5.c> php_admin_value disable_functions "system" </IfModule> </Directory> 3) Here is my code : <?php echo "disable_functions=".ini_get('disable_functions'); echo "<br>"; echo "php_uname=".php_uname(); echo "<br>"; ?> 4) expected result : disable_functions=system php_uname= Linux ...etc. 5) Actual result : disable_functions=system php_uname= notice, no output from php_uname and in the php error log : [04-Feb-2009 06:08:28] PHP Warning: php_uname() has been disabled for security reasons in ..etc I think it is a bug since the ini_get call to disable_functions gave me what supposed to be disabled, system function. However, php_uname, is still disabled even if I overwrite disable_functions setting using the php_admin_value in the user vhost. Regards, Ali Hamad.