/usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol

Updated on 22 September 2023 2 min Read

When accessing WordPress admin URL, you might see below error logs on the server.

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

This might be because of recent php update by your web hosting provider OR wordpress being updated to a latest version. Disabling suhosin is not a solution. You will have to enable suhosin simulation instead.

Ask your web host to perform the changes OR change it yourself if you have root privileges.

Open php.ini file on your server. Find for

extension="suhosin.so"

Replace it with. In short, comment the line.

;extension="suhosin.so"

Add line below

suhosin.simulation On

Save php.ini and restart apache.

/etc/init.d/httpd restart

Now, try accessing the WordPress admin URL. You will not see any error logs on the server.

The Author

Neha Kahnna is a professional content writer associated with MilesWeb. She curates articles on web hosting, latest SEO trends and technology topics. Her insightful content captivates the reader’s attention and deliver a higher learning ROI.