{"id":85,"date":"2012-06-28T12:11:53","date_gmt":"2012-06-28T12:11:53","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/blog\/?p=85"},"modified":"2023-09-22T07:13:20","modified_gmt":"2023-09-22T06:13:20","slug":"usrbinphp-symbol-lookup-error-usrlocallibphpextensionsno-debug-non-zts-20060613suhosin-so-undefined-symbol-zend-atol","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/blog\/wordpress\/usrbinphp-symbol-lookup-error-usrlocallibphpextensionsno-debug-non-zts-20060613suhosin-so-undefined-symbol-zend-atol\/","title":{"rendered":"\/usr\/bin\/php: symbol lookup error: \/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20060613\/suhosin.so: undefined symbol: zend_atol"},"content":{"rendered":"<p>When accessing WordPress admin URL, you might see below error logs on the server.<\/p>\n<p><strong>\/usr\/bin\/php: symbol lookup error: \/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20060613\/suhosin.so: undefined symbol: zend_atol<\/strong><br \/>\n<strong>[error] [client] Premature end of script headers: \/home\/cPane-username\/public_html\/wp-admin\/index.php<\/strong><\/p>\n<p>This might be because of recent php update by your <strong><a title=\"hosting provider\" href=\"http:\/\/www.milesweb.co.uk\" target=\"_blank\" rel=\"noopener\">web hosting provider<\/a><\/strong> OR wordpress being updated to a latest version. Disabling suhosin is not a solution. You will have to enable suhosin simulation instead.<\/p>\n<p>Ask your web host to perform the changes OR change it yourself if you have root privileges.<\/p>\n<p>Open php.ini file on your server. Find for<\/p>\n<blockquote><p><code>extension=\"suhosin.so\"<\/code><\/p><\/blockquote>\n<p>Replace it with. In short, comment the line.<\/p>\n<blockquote><p><code>;extension=\"suhosin.so\"<\/code><\/p><\/blockquote>\n<p>Add line below<\/p>\n<blockquote><p><strong><code>suhosin.simulation On<\/code><\/strong><\/p><\/blockquote>\n<p>Save php.ini and restart apache.<\/p>\n<blockquote><p>\/etc\/init.d\/httpd restart<\/p><\/blockquote>\n<p>Now, try accessing the WordPress admin URL. You will not see any error logs on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"read-more\" href=\"https:\/\/www.milesweb.co.uk\/blog\/wordpress\/usrbinphp-symbol-lookup-error-usrlocallibphpextensionsno-debug-non-zts-20060613suhosin-so-undefined-symbol-zend-atol\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[281],"tags":[24,25],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-suhosin-issues","tag-wordpress-issues"],"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":12626,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions\/12626"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}