Cron Job Error: php: symbol lookup error: suhosin.so: undefined symbol: zend_atol

Shark Stone

Member
Feb 20, 2010
9
0
51
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?
 

PlayGod

Registered
Mar 3, 2007
4
0
151
backwoods TN
Re: Make Server Compatible with Wordpress automatic updates and plugin installations

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:
Code:
suhosin.simulation = On
...then restarted httpd

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.php
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, 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 a moderator:

desiguru

Well-Known Member
Aug 27, 2008
74
0
56
Anyone know what this error means?

/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
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
14
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Friendly Moderator Note

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.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
14
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Perform a full uninstall then reinstall of the PHP suhosin extension

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:
  1. Perform an uninstall of the existing PHP suhosin extension:
    Code:
    # /scripts/phpextensionmgr uninstall PHPSuHosin
  2. 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:
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
To enhance readability I recommend wrapping command-line output within the BBcode "CODE" tags (Reference: cPanel Forums - BB Code List - Code).
 

corpresa

Active Member
Jan 16, 2009
33
0
56
Barcelona
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?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
14
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
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:
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:
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
To enhance readability I recommend wrapping command-line output within the BBcode "CODE" tags (Reference: cPanel Forums - BB Code List - Code).
 
Last edited:

david83

Member
Aug 2, 2010
5
0
51
Germany, Niedersachsen
Hello Guys,

Ive got the same error!
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#
Ive reinstalled suhosin but nothing happend.


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#
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
14
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Hello Guys,

Ive got the same error!
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#
Ive reinstalled suhosin but nothing happend.


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#
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. :)
 

david83

Member
Aug 2, 2010
5
0
51
Germany, Niedersachsen
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.
Yes youre right! Ive upgraded php from 5.2.9 to 5.2.15 and sohosin works fine yet.
Thank you very much!

P.S. Thank you for the verbose information; the level of detail is most useful and very much appreciated.
Thats great i now, no one can work without good informations...

Regards David
 

kilroy

Active Member
Jun 22, 2002
37
0
156
Re: Cron Job Error: php: symbol lookup error: suhosin.so: undefined symbol:

I just wanted to say that worked for me too. Thanks!