mattclements Posted September 8, 2009 Share Posted September 8, 2009 Hello all, On running any command line PHP (such as even php -v) I get: [root@server /]# php -v Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.0.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.0.so: cannot open shared object file: No such file or directory PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/odbc.so' - libodbc.so.1: 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/sitebuilder.so' - /usr/lib64/php/modules/sitebuilder.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/snmp.so' - libnetsnmp.so.5: 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/zip.so' - /usr/lib64/php/modules/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.0.4 (cli) (built: Nov 8 2005 08:27:11) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies When I look at the extentions folder I have: [root@server modules]# ls bcmath.so gd.so mbstring.so ncurses.so snmp.so xsl.so dba.so imap.so mysqli.so odbc.so soap.so dom.so ldap.so mysql.so pgsql.so xmlrpc.so Any clues? Regards, Matt Quote Link to comment Share on other sites More sharing options...
mattclements Posted September 8, 2009 Author Share Posted September 8, 2009 Fixed! I had a folder called php.d with lots of .ini files in it linking to modules. Cheers, Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.