open_basedir issue PHP 5.5 Apache 2.4 PHP5-FPM

I built a new site in 5.7 on an Ubunt 12.04 server with PHP 5.3/Apache 2.2 FPM, which was configured with open_basedir set to this:

php_admin_value[open_basedir] = /home/jez/:/tmp:/usr/share/php/:/var/lib/php5/

I then moved the whole thing to another server, Ubuntu 14.05/PHP 5.5.9/Apache 2.4 with an identical open_basedir value and I find that the dashboard site map and view image no longer work. I see errors like this in Firebug:
{"error":{"message":"is_file(): open_basedir restriction in effect. File(\/HOME\/JEZ\/WWW\/EXAMPLE
.COM\/CONCRETE\/SRC\/FILE\/SERVICE\/FILE.PHP) is not within the allowed path(s): (\/home\/jez\/
:\/var\/www\/:\/tmp:\/usr\/share\/php\/:\/var\/lib\/php5\/)"},"errors":["is_file(): open_basedir restriction
is not within the allowed path(s): (\/home\/jez\/:\/var\/www\/:\/tmp:\/usr\/share\/php\/:\/var\/lib

Both servers have error reporting set to E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT but the only way to make PHP5.5 work
is to disable E_WARNING which seems rather brutal.

Anyone else seen a similar issue? Maybe it's related to which seems to have got some attention recently?

View Replies: