7 Responses to “PHP 5.4.31, for Wheezy and Squeeze”

Enrico

After the upgrade, my log is full of the error “Warning: simplexml_load_file(): I/O warning : failed to load external entity” and all xml files was suddenly invalid.

Modifing the PHP in this way
from
// $xml = simplexml_load_file($path);
to
$xml = simplexml_load_string(file_get_contents($path));
all is ok.

I have upgraded another similar system (Debian 6.0 + dotdeb squeeze-php54 ) without problems so probably is a configuration problem, but i tested all the obvious thing ( filename, owner, right ) and not so obvious ( apache ssl config, removed php5-xmlrpc, pecl ) but i have no result.