I have noticed that I have got a rather large error log building up that keeps repeating the same issues.. I was wondering if anyone knows how i can fix them.. The errors being shown are: [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 04:52:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0 Code (markup):
If you don't need those extensions which would appear to be the case as you didn't say your site was not working then you can just find the extension lines in php.ini and comment them out. If you're on shared hosting then talk to your host to get it fixed.
Would these errors prevent me from being able to insert into my database, because I am appearing to have a problem storing data which is not being caused by an SQL error from what I can see.
Yes if your script is using pdo then as that's one of the extensions not loading that would stop your script working. Check you've built the extensions and if so check your paths in php.ini, if this is shared hosting the host should be fixing this for you very quickly.
If it's not managed then yes it's you or a server admin you employ. There's not a simple answer to this one as it depends how you installed PHP and where you installed it to. It could be as simple as the extension_dir is set wrong in php.ini if you look in /usr/local/lib/php/extensions/ does the no-debug-zts-20060613 directory exist or is it something else, in that something else are there the missing extension files, if so you can try updating extension_dir in php.ini to this other directory. Do you have a control panel such as cPanel? NOTE: Backup anything you change before you change it and keep notes so you can undo it or give it to a server admin. Just one other thing, if you've just taken delivery of this VPS and have done nothing with it then you may well be able to have your supplier resolve if for you.
I have got cPanel etc.. I have had the VPS for a few months now. Just come across this error. All the files are present in that folder.
Seems to have fixed some issues, still have these in the error log though? [02-Aug-2010 08:20:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mssql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mssql.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 08:20:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_msql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_msql.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 08:20:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pgsql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pgsql.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 08:20:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2ts.lin: cannot open shared object file: No such file or directory in Unknown on line 0 [02-Aug-2010 08:20:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0 Code (markup): Thanks for all your help!
You might be able to copy the missing files from the other folder, however I'd be inclined to just rebuild PHP as that should ensure you have all the correct versions.
You could probably find your php.ini on your server by doing: php --ini Then, remove the extension= lines containing those modules, then restart apache with: /etc/init.d/httpd restart