php extensions missing

Luke

Verified User
Joined
Feb 15, 2014
Messages
46
Today I moved my website from poor host to VPS Centos 6 64 bit, moving were done by Direcadmin panel with Create/restore backup. And after everything my site working on new vps, but I get a lot of errors like:

Code:
[09-Nov-2010 21:20:41] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[09-Nov-2010 21:20:41] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2.lin: cannot open shared object file: No such file or directory in Unknown on line 0

I googled these errors and found out, that my php/extensions folder is missing or is somewhere else, but not in /usr/local/lib/php

Code:
PHP 5.3.28 (cli) (built: Dec 31 2013 12:52:18) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

How may I fix these errors, should I try reinstalling OS?
 
Directadmin does not provide any extensions for PHP by default. If you need custom extensions you should install it firstly, and only then you should add them into php.ini. And I doubt you've got PHP 5.2 installed on the server (but still that might be though).

Anyway you might need to start with a default php.ini provided by Directadmin, and then modify it. Please do not use any php.ini files found on forums unless you sure it suits you.

p.s. What do you need ixed.5.2.lin extension for?
 
Back
Top