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.

PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.lin

Discussion in 'General Discussion' started by PPNSteve, Mar 2, 2012.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    so as to not steal another user's thread, I've made my own..

    Been noticing a lot of
    in my apache error logs

    no major changes made on the server, only whm/cP updates..

    WHM 11.32.1 (build 4)
    RHEL5.8 32bit

    How do we fix it?
     
  2. hoststop

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bolton, UK
    cPanel Access Level:
    Root Administrator
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    Check if the binary exists in extension directory on the server OR the extension directory is correctly defined in php.ini. These are the possibilities which is causing problems.
     
  3. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    It's there.. has been since we built this apache server.. some 3 yrs ago.

    This is a recent issue, just popping up out of nowhere. (maybe update related?)

    Code:
    root@svr2 [/]# cd /usr/local/lib/php/extensions/no-debug-zts-20060613/
    root@svr2 [/usr/local/lib/php/extensions/no-debug-zts-20060613]# ls -al
    total 1292
    drwxr-xr-x 2 root root   4096 Mar  2 06:40 ./
    drwxr-xr-x 4 root root   4096 Feb 13  2009 ../
    -rwxr-xr-x 1 root root 456709 Feb 13  2009 eaccelerator.so*
    -rwxr-xr-x 1 root root 132585 Feb 16  2009 ffmpeg.so*
    -rw-r--r-- 1 root root  71064 Feb 13  2009 ixed.5.2.lin
    -rw-r--r-- 1 root root  73912 Feb 13  2009 ixed.5.2ts.lin
    -rwxr-xr-x 1 root root 176762 Aug 10  2010 memcache.so*
    -rw-r--r-- 1 root root  61400 Jan  4  2009 phpshield.5.2ts.lin
    -rw-r--r-- 1 root root 295548 Mar  2 06:40 timezonedb.so
    root@svr2 [/usr/local/lib/php/extensions/no-debug-zts-20060613]# php -v
    PHP 5.2.8 (cli) (built: Feb 13 2009 10:34:56)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
        with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
        with the ionCube PHP Loader v3.3.1, Copyright (c) 2002-2009, by ionCube Ltd., and
        with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
    
     
    #3 PPNSteve, Mar 2, 2012
    Last edited: Mar 2, 2012
  4. hoststop

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bolton, UK
    cPanel Access Level:
    Root Administrator
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    Hi Steve.. Try setting permissions to 755 on ixed.5.2* once and see if that makes the trick.
     
  5. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    that may have done it. I don't see the error on restarting Apache..

    Now for the real hard question, Why after all this time did it decide to throw errors now when it was perfectly fine previously (for last few years)?
     
  6. Daniel15

    Daniel15 Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
  7. hoststop

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bolton, UK
    cPanel Access Level:
    Root Administrator
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    Hi Steve.. Are you still facing this issue ?
     
  8. Evolve

    Evolve Well-Known Member

    Joined:
    Jan 31, 2007
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    Hello, (sorry i swore i was in a memcache thread when writing this..)

    Instead of making a new thread on the same subject I'll try to tag my question on here.

    I'm getting the following errors after changing from DSO to SuPHP

    I've compiled EasyApache with the Memcache module and installed it via the WHM -> Module Installers and everything was working with DSO however after changing to SuPHP I am getting the following error (even after trying to reinstall the PECL):

    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - /usr/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0, referer:
    The extension is located at /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
    however the the first location in the warning (/usr/lib/php/extensions/no-debug-non-zts-20060613/) doesn't exist since it lacks the "local" folder in the address and /usr/lib/php/extensions folder doesn't exist. Is this my issue?

    /usr/local/lib php.ini has:
    Code:
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
    extension=memcache.so
    Thanks
     
    #8 Evolve, Jun 10, 2012
    Last edited: Jun 10, 2012
  9. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Re: PHP Warning: PHP Startup: Unable to load dynamic library ... ixed.5.2.

    Steve, have you tried symlinking the the directory it's looking for??

    Code:
    ln -s no-debug-non-zts-20090626 no-debug-non-zts-20060613
    (execute this from within the /usr/local/lib/php/extensions/ directory)
     
    #9 egillette, Aug 31, 2012
    Last edited: Aug 31, 2012
Loading...

Share This Page