Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Feb 2010
    Posts
    9

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

    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?

  2. #2
    Member
    Join Date
    Nov 2004
    Posts
    37

    Smile

    hey,

    it seems ur using php-5, inorder to resolve this you will have to reinstall suhosin.




    Prashant

  3. #3
    Registered User
    Join Date
    Mar 2007
    Location
    backwoods TN
    Posts
    4

    Post 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 cPanelDon; 09-18-2010 at 04:28 AM. Reason: Insert title and reference to original thread (for context)

  4. #4
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default 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

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Arrow 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.

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb 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).

  7. #7
    Member
    Join Date
    Jan 2009
    Location
    Barcelona
    Posts
    33

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

    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?

  8. #8
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

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

    Quote Originally Posted by corpresa View Post
    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:
    Quote Originally Posted by cPanelDon View Post
    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 by cPanelDon; 11-23-2010 at 10:17 PM. Reason: Clarification

  9. #9
    Member
    Join Date
    Aug 2010
    Location
    Germany, Niedersachsen
    Posts
    5

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

    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#
    DBinternetservice.de CPanel Webhosting, VPS, Domains, Server http://www.dbinternetservice.de

  10. #10
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

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

    Quote Originally Posted by david83 View Post
    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.

  11. #11
    Member
    Join Date
    Aug 2010
    Location
    Germany, Niedersachsen
    Posts
    5

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

    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
    DBinternetservice.de CPanel Webhosting, VPS, Domains, Server http://www.dbinternetservice.de

  12. #12
    Member
    Join Date
    Jun 2002
    Posts
    39

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

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

Similar Threads & Tags
Similar threads

  1. symbol lookup error after UPCP
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-30-2007, 06:15 PM
  2. undefined symbol: Perl_Gthr_key_ptr
    By Game Wizards in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-14-2007, 10:11 AM
  3. undefined symbol: zend_extensions ???
    By jols in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-22-2006, 12:18 AM
  4. bind error undefined symbol: isc_net_pton
    By octeto in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-07-2006, 02:58 PM
  5. undefined symbol: shm_open
    By raylin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-24-2002, 08:30 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube