Big error message files
-
I have the latest stable version of PHP installed: PHP 5.4.22
Wordpress 3.7.a
site: https://ssnet.org/I first got huge error files which had repeated messages like this:
[14-Dec-2013 19:25:07 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: undefined symbol: output_globals in Unknown on line 0
I found out that suhosin.so is no longer supported by PHP 5.4.22
So I deleted suhosin.so file at
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.soSince that wasn’t enough, I also commented out the suhosin.co reference in php.ini
No more PHP errors like that ??
But I promptly got warnings in error files that said that dir “/public_html/wp-content/mu-plugins” does not exist. So I created the dir, naturally.
Now get multiple Worpress errors like the following, which I did not get before inactivating suhosin.so:
[15-Dec-2013 18:52:52 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/ssnet/public_html/wp-includes/load.php on line 278
[15-Dec-2013 18:52:53 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/ssnet/public_html/wp-includes/load.php:278) in /home/ssnet/public_html/wp-includes/class-IXR.php on line 475
[15-Dec-2013 18:52:53 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/ssnet/public_html/wp-includes/load.php:278) in /home/ssnet/public_html/wp-includes/class-IXR.php on line 476
[15-Dec-2013 18:52:53 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/ssnet/public_html/wp-includes/load.php:278) in /home/ssnet/public_html/wp-includes/class-IXR.php on line 478
[15-Dec-2013 18:52:53 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/ssnet/public_html/wp-includes/load.php:278) in /home/ssnet/public_html/wp-includes/class-IXR.php on line 481My load.php line 277-278 read:
if ( defined( 'XMLRPC_REQUEST' ) ) ini_set( 'display_errors', 0 );
My class-IXR.php lines 472 – 483 read:
else $xml = '<?xml version="1.0"?>'."\n".$xml; $length = strlen($xml); header('Connection: close'); header('Content-Length: '.$length); if ($charset) header('Content-Type: text/xml; charset='.$charset); else header('Content-Type: text/xml'); header('Date: '.date('r')); echo $xml; exit;
I’m stumped. I did locate xmlrpc.php, but I don’t know what to do with it. I thought there used to be something in general WordPress settings to enable or disable xmlrpc. I have a feeling that it should just be disabled. (How?)(We post only through the WordPress web interface, but might some plugins require this?)
I did find out that suhosin.so provided “hardening” to make PHP more secure. This hardening has now been built into the new PHP 5 versions, and thus suhosin.so is no longer needed.
That said, I’m pretty ignorant about all of this .. just did a lot of googling before turning to you good people who have helped me so much before.
- The topic ‘Big error message files’ is closed to new replies.