Page 1 of 3 123 LastLast
Results 1 to 15 of 37

Thread: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

  1. #1
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    I get this warning in my error_log :
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot open shared object file: No such file or directory in Unknown on line 0
    My error_log would go up with this error

    I check /usr/local/lib/php/extensions/no-debug-non-zts-20090626/. It's empty no extension there.
    I googled this problem, the best suggestion I got that to copy those extensions to above folder and add it to dynamic library section in php.ini

    I've been looking all php extension I've installed, but don't know where to look at.

    Please help where can I find those extensions or .so? I'm using easy apache with PHP 5.3.4
    Thanks
    Last edited by pixert; 02-13-2011 at 10:40 AM.

  2. #2
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Are you using Zend/ionCube? If so, Then you have to downgrade to PHP 5.2.x (Best is 5.2.16).

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  3. #3
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    I'm using Ion Cube. I downgraded the PHP to 5.2.16. The error still exists.
    Apache version is 2.2. Do I have to downgrade the Apache?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Can you please try the following commands in root SSH:

    Code:
    /scripts/phpextensionmgr uninstall IonCubeLoader
    /scripts/phpextensionmgr install IonCubeLoader
    You shouldn't have to re-run Apache nor downgrade it to get IonCube working. We provide the script above to uninstall and install IonCubeLoader and several other PHP extensions. You can run the following command to see which are available to uninstall and/or install using that script:

    Code:
    /scripts/phpextensionmgr list
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Thank you, Tristan.
    You really helpful. I have a question about php.ini
    i don't see extension=mcrypt.so in php ini.
    I installed mcrypt via exhaustive options list, but i can't see mycrypt.so in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ (I downgraded the PHP). I'm also using suphp.

    Odd. Error_log fires up below warning everytime i'm executing php files
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot open shared object file: No such file or directory in Unknown on line 0

    Any suggestion?

  6. #6
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    i don't see extension=mcrypt.so in php ini.
    I installed mcrypt via exhaustive options list, but i can't see mycrypt.so in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ (I downgraded the PHP). I'm also using suphp.
    You can execute this command to know the modules in PHP

    Code:
    php -m
    And to make sure the module is installed just do this

    Code:
    php -m | grep mcrypt
    If it appears then it's installed.


    Odd. Error_log fires up below warning everytime i'm executing php files
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot open shared object file: No such file or directory in Unknown on line 0
    Get the right path of the extensions then change it in your php.ini to make this error not appear again.
    Last edited by ModServ; 02-15-2011 at 12:47 AM.

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  7. #7
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Hi Me_388, thank you so much for your help.
    How can I find the right path of the module?

  8. #8
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Hello pixert,

    You welcome...

    About the extensions you mean on the second problem you could execute this command

    Code:
    ls -lh /usr/local/lib/php/extensions/no-debug-non-zts*
    Then you could take the right path with right numbers
    Code:
    no-debug-non-zts-xxxxxxxx
    and change it in your php.ini file. Then don't forget to restart apaceh

    Code:
    service httpd restart

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  9. #9
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    there's no another file in /usr/local/lib/php/extensions/no-debug-non-zts*.
    that's odd. php.ini says the correct path, but no .so* file there? easy apache installed the correct modules
    I did try easy apache via WHM and SSH, same results
    Last edited by pixert; 02-15-2011 at 02:03 AM.

  10. #10
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Hello,

    Really, That's weird, Here are my result:

    Code:
    root@xxxx [~]# ls -lh /usr/local/lib/php/extensions/no-debug-non-zts*
    total 4.4M
    drwxr-xr-x 2 root root 4.0K Jan 24 01:33 ./
    drwxr-xr-x 3 root root 4.0K Oct  8 10:46 ../
    -rwxr-xr-x 1 root root 413K Jan 19 07:52 eaccelerator.so*
    -rwxr-xr-x 1 root root 134K Dec  4 02:01 pdo_mysql.so*
    -rwxr-xr-x 1 root root 298K Dec  4 02:01 pdo.so*
    -rwxr-xr-x 1 root root 1.7M Dec  4 02:01 pdo_sqlite.so*
    -rwxr-xr-x 1 root root 1.3M Dec  4 02:01 sqlite.so*
    -rwxr-xr-x 1 root root 608K Jan 19 07:52 suhosin.so*
    -rwxr-xr-x 1 root root  49K Jan 23 19:06 uploadprogress.so*

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  11. #11
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Could you try to execute those two commands:

    Code:
    updatedb
    Note: It will take a lot of time depending on your server spec and number of files you have.

    Then see what extensions you installed "eaccelerator,suhosin,sqlite" and search for it by this command:

    Code:
    locate eaccelerator.so
    I know it's a beginner way to do but we are moving step by step to solve this problem but I really think the solution is easy out there but as you know remote solutions are harder than local..

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  12. #12
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    I find the following

    /opt/libmcrypt/lib/libmcrypt.so
    /opt/libmcrypt/lib/libmcrypt.so.4
    /opt/libmcrypt/lib/libmcrypt.so.4.4.8
    /usr/local/cpanel/3rdparty/lib/libmcrypt.so
    /usr/local/cpanel/3rdparty/lib/libmcrypt.so.4
    /usr/local/cpanel/3rdparty/lib/libmcrypt.so.4.4.8
    /usr/local/cpanel/lib/libmcrypt.so.4
    /usr/local/cpanel/src/3rdparty/gpl/libmcrypt-2.5.8/lib/.libs/libmcrypt.so
    /usr/local/cpanel/src/3rdparty/gpl/libmcrypt-2.5.8/lib/.libs/libmcrypt.so.4
    /usr/local/cpanel/src/3rdparty/gpl/libmcrypt-2.5.8/lib/.libs/libmcrypt.so.4.4.8

    Which one is the right one?

  13. #13
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    229
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    Hello,

    It's not anyone of those, Could you please provide me with the command you use to search ?

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  14. #14
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    # updatedb
    # locate *mcrypt.so

    I don't know what to do, I never came accross problems like this before?
    It's odd. Easy Apache cannot create *.so files in its directory.

  15. #15
    Member
    Join Date
    Feb 2011
    Posts
    8

    Default Re: Odd -empty /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    I just disabled error_log in php ini
    I'm running the following and get below results
    # php -m
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/ex tensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-no n-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    [PHP Modules]
    bcmath
    calendar
    ctype
    curl
    date
    dom
    exif
    filter
    ftp
    gd
    gettext
    hash
    iconv
    imap
    json
    libxml
    mbstring
    mcrypt
    mysql
    openssl
    pcre
    posix
    Reflection
    session
    SimpleXML
    sockets
    SPL
    SQLite
    standard
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    zlib

    [Zend Modules]

Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 18
    Last Post: 11-12-2012, 04:08 PM
  2. PHP: Error parsing /usr/local/lib/php.ini on line 827
    By Nicarlo in forum New User Questions
    Replies: 9
    Last Post: 04-29-2011, 10:13 PM
  3. PHP: Error parsing /usr/local/lib/php.ini on line 782
    By BerbBrown in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 04-11-2011, 05:07 PM
  4. PHP: Error parsing /usr/local/lib/php.ini on line 1136
    By desiguru in forum New User Questions
    Replies: 1
    Last Post: 12-08-2009, 07:11 PM
  5. cannot overwrite remote file " /usr/local/lib/php.ini?
    By ehuey in forum New User Questions
    Replies: 3
    Last Post: 03-15-2008, 01:02 PM