The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by Shark Stone, Aug 21, 2010.

  1. Shark Stone

    Shark Stone Member

    Joined:
    Feb 20, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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. prashant_ohol

    prashant_ohol Active Member

    Joined:
    Nov 22, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    hey,

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




    Prashant
     
  3. PlayGod

    PlayGod Registered

    Joined:
    Mar 3, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
    #3 PlayGod, Sep 12, 2010
    Last edited by a moderator: Sep 18, 2010
  4. desiguru

    desiguru Well-Known Member

    Joined:
    Aug 27, 2008
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    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. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. corpresa

    corpresa Active Member

    Joined:
    Jan 16, 2009
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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?
     
  8. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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:
     
    #8 cPanelDon, Nov 23, 2010
    Last edited: Nov 23, 2010
  9. david83

    david83 Member

    Joined:
    Aug 2, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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#
    
     
  10. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. david83

    david83 Member

    Joined:
    Aug 2, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany, Niedersachsen
    Yes youre right! Ive upgraded php from 5.2.9 to 5.2.15 and sohosin works fine yet.
    Thank you very much!

    Thats great i now, no one can work without good informations...

    Regards David
     
  12. kilroy

    kilroy Active Member

    Joined:
    Jun 22, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Re: Cron Job Error: php: symbol lookup error: suhosin.so: undefined symbol:

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

Share This Page