After upgrade: PHP Warning: PHP Startup: Unable to load dynamic library (Solved)

by

in

After upgrade to php53

#  php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/dbase.so' - /usr/lib64/php/modules/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ncurses.so' - /usr/lib64/php/modules/ncurses.so: undefined symbol: first_arg_force_ref in Unknown on line 0
PHP 5.3.13 (cli) (built: May  9 2012 09:51:06) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

solution is to go to “/etc/php.d”, and disable those .ini files:

# cd /etc/php.d
# mv dbase.ini dbase.ini.disabled
# mv ncurses.ini  ncurses.ini.disabled
# php -v
PHP 5.3.13 (cli) (built: May  9 2012 09:51:06) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

Comments

One response to “After upgrade: PHP Warning: PHP Startup: Unable to load dynamic library (Solved)”

  1. Jayesh Shinde Avatar
    Jayesh Shinde

    Very good info , its work for.
    I was getting the same error after upgrading the PHP from
    good blog.

    Thanks
    Regard
    Jayesh Shinde

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.