php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
How could i fix this?
php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
How could i fix this?
hey,
it seems ur using php-5, inorder to resolve this you will have to reinstall suhosin.
Prashant
The original thread of context for this post is as follows:
There are still some issues with Wordpress automated upgrades. After automated update to WP 3.0.x, the admin user is unable to log in, and is redirected to a wordpress 404 page.
Cpanel Apache/PHP setup:
Default PHP Version 5
PHP 5 Handler suphp
Apache suEXEC on
On the advice of another wordpress user and server admin, I have added php.ini to the public_html and wordpress installation directories with only the following:
...then restarted httpdCode:suhosin.simulation = On
This fixed the automated upgrade issues and admin user /wp-admin/ folder 500 & 404 issues for wordpress running in public_html as the main domain, and for wordpress running in a subdirectory as main domain.
However, for wordpress running in a subdomain, the issue remains. After automated update to WP 3.0.x, the admin user is unable to log in, and is redirected to a wordpress 404 page.
Code:[error] [client xx.11.243.xxx] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol [error] [client xx.11.243.xxx] Premature end of script headers: index.phpCode:[error] [client xx.11.243.xxx] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol, referer: http://sassy-shadows.com/wp-login.php [error] [client xx.11.243.xxx] Premature end of script headers: index.php, referer: http://sassy-shadows.com/wp-login.php
Last edited by cPanelDon; 09-18-2010 at 04:28 AM. Reason: Insert title and reference to original thread (for context)
/usr/local/apache/bin/httpd: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
I got a client who keeps on getting this error
I have merged a few recent posts into an earlier thread as they appear to stem from the same difficulty surrounding PHP and the PHP suhosin extension.
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
It was suggested earlier in this thread to try re-installing the PHP suhosin extension; to help clarify the procedure, here are the steps that may be performed via root SSH access to accomplish uninstalling and then reinstalling PHP suhosin:
- Perform an uninstall of the existing PHP suhosin extension:
Code:# /scripts/phpextensionmgr uninstall PHPSuHosin- Perform a fresh (re-)install of the PHP suhosin extension:
Code:# /scripts/phpextensionmgr install PHPSuHosin
If removing and then reinstalling PHP suhosin does not fully alleviate the difficulty, please provide additional details regarding your PHP installation; the following commands will help to obtain this information that may be used to assist with further troubleshooting:
To enhance readability I recommend wrapping command-line output within the BBcode "CODE" tags (Reference: cPanel Forums - BB Code List - Code).Code:# /usr/local/bin/php -v # /usr/local/bin/php -m # /usr/local/bin/php -i | grep configure # /usr/local/cpanel/bin/rebuild_phpconf --current
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
hello, i was facing by this problem, and i did do this indications, i uninstalled suhosin and reinstalled through commands line, and the error persist.
can you help me?
What is the full command entered in the cron job (i.e., what is entire command that is executed to run your PHP script)?
What is the specific software name and version involved (i.e., which software provides the PHP script that is being executed)?
Please provide the requested detail that was mentioned earlier:
Last edited by cPanelDon; 11-23-2010 at 10:17 PM. Reason: Clarification
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
Hello Guys,
Ive got the same error!
Ive reinstalled suhosin but nothing happend.Code:-bash-3.2# php -q /home/david83/public_html/portal/admin/cron.php php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol -bash-3.2#
My Details:
Code:-bash-3.2# /usr/local/bin/php -v PHP 5.2.9 (cli) (built: Dec 20 2010 23:51:08) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH -bash-3.2# /usr/local/bin/php -m [PHP Modules] bcmath calendar ctype curl date dom exif filter ftp gd gettext hash iconv imap ionCube Loader json libxml mbstring mcrypt mhash mime_magic mysql openssl pcre posix pspell Reflection session SimpleXML soap sockets SPL SQLite standard suhosin tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl Zend Optimizer zip zlib [Zend Modules] Zend Optimizer the ionCube PHP Loader -bash-3.2# /usr/local/bin/php -i | grep configure Configure Command => './configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zend-multibyte' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mm=/opt/mm/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr' -bash-3.2# /usr/local/cpanel/bin/rebuild_phpconf --current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: suphp SUEXEC: enabled -bash-3.2#
DBinternetservice.de CPanel Webhosting, VPS, Domains, Server http://www.dbinternetservice.de
I cannot guarantee if this will alleviate the problem, but I would consider updating the PHP installation from PHP 5.2.9 to a more recent version such as PHP 5.2.15; this can be done using EasyApache.
P.S. Thank you for the verbose information; the level of detail is most useful and very much appreciated.![]()
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
Yes youre right! Ive upgraded php from 5.2.9 to 5.2.15 and sohosin works fine yet.I cannot guarantee if this will alleviate the problem, but I would consider updating the PHP installation from PHP 5.2.9 to a more recent version such as PHP 5.2.15; this can be done using EasyApache.
Thank you very much!
Thats great i now, no one can work without good informations...P.S. Thank you for the verbose information; the level of detail is most useful and very much appreciated.
Regards David
DBinternetservice.de CPanel Webhosting, VPS, Domains, Server http://www.dbinternetservice.de
I just wanted to say that worked for me too. Thanks!