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?
How could i fix this?
suhosin.simulation = On
[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
[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
# /scripts/phpextensionmgr uninstall PHPSuHosin
# /scripts/phpextensionmgr install PHPSuHosin
# /usr/local/bin/php -v
# /usr/local/bin/php -m
# /usr/local/bin/php -i | grep configure
# /usr/local/cpanel/bin/rebuild_phpconf --current
What is the full command entered in the cron job (i.e., what is entire command that is executed to run your PHP script)?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?
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
-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#
-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.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#
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.
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.