How to fix error " 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/ 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


and change to


3) Add the following line

suhosin.simulation On

4) Save the file and restart apache service.

If any feedback, queries are always welcome!

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Pin on Pinterest0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

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