Tuesday, 15 July 2014

PHP’s open_basedir value giving a binary value in Apache logs -


Review logfiles to find out why my site came down a few days ago, I found hundreds of lines like this (Partially rewritten "X"):

[Friday 27 27:14:36 ​​2009] [Error] [Client xxx.xxx.xxx.xxx] PHP Warning: Need_once (): Open_basedir restriction in effect. File (/var/www/xxx/xxx.php) is not allowed within the path (s): (\ xa0 \ x99 \ xc4) in /var/www/xxx/index.php on line 17

Note that the open_basedir value is binary, so it will not match anything.

No, there was no change to the server to change this, and there was no one to stop it. This apparently does not restart / reload (Apache or other services) ) Was resolved on itself. The open_basedir command in the Apache Conf file looks like this:

php_admin_value open_basedir / var / www: / usr / share / php

What would cause a binary Open_basedir value to reload with value, or where can I start to troubleshoot it?

Apache Version: 2.2.8, PHP: 5.3.0, Linux 2.6.24-23

looks identical, which should be fixed in 5.3.1.


No comments:

Post a Comment