cPanel WHMLinux

How to fix error "suhosin.so: undefined symbol: zend_atol"

php logoSuhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core.

If you are getting error as

/usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
[Sun Jan 30 11:07:08 2011] [error] [client] Premature end of script headers: /home/username/public_html/wp-admin/index.php

 

You will have to disable suhosin for the domain in the problem. It works when you enable suhosin.simulation for the account instead of disabling suhosin on the server.

1) open php.ini file

2) Locate

extension="suhosin.so"

and change to

;extension="suhosin.so"

3) Add the following line

suhosin.simulation On

4) Save the file and restart apache service.

If any feedback, queries are always welcome!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button