Changed Servers - Many issues, anyone able to help?

Status
Not open for further replies.

AlternativeWeb

Active Member
512
2010
154
0
[Resolved] Changed Servers - Many issues, anyone able to help?

After my host moved my servers, nothing was working even after pointing the domain to the new IP.

I read somewhere I should try the command "/script/upcp" and it seem it's my domains are showing up, but now it looks like im having path issues or something.

Any idea whats wrong?



SSH:
Code:
[admin@server ~]$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.so: cannot open shared object file: No such                                                                                                                file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.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/lib/php/modules/dbase.so' - /usr/lib/php/modules/dbase.so: cannot open shared object file: No su                                                                                                               ch file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dbase.so' - /usr/lib/php/modules/dbase.so: cannot open shared object file: No such fi                                                                                                               le or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: cannot open shared object file: No such f                                                                                                               ile or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: cannot open shared object file: No such file o                                                                                                               r directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such fil                                                                                                               e or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.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/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such                                                                                                                file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.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/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object file: No                                                                                                                such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.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/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No su                                                                                                               ch file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such fi                                                                                                               le or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - /usr/lib/php/modules/mysqli.so: cannot open shared object file: No                                                                                                                such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - /usr/lib/php/modules/mysqli.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/lib/php/modules/pdo.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: No such f                                                                                                               ile or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: No such file o                                                                                                               r directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.so: cannot open shared object fil                                                                                                               e: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.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/lib/php/modules/pdo_sqlite.so' - /usr/lib/php/modules/pdo_sqlite.so: cannot open shared object f                                                                                                               ile: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_sqlite.so' - /usr/lib/php/modules/pdo_sqlite.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/lib/php/modules/wddx.so' - /usr/lib/php/modules/wddx.so: cannot open shared object file: No such                                                                                                                file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/wddx.so' - /usr/lib/php/modules/wddx.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/lib/php/modules/xmlreader.so' - /usr/lib/php/modules/xmlreader.so: cannot open shared object fil                                                                                                               e: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xmlreader.so' - /usr/lib/php/modules/xmlreader.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/lib/php/modules/xmlwriter.so' - /usr/lib/php/modules/xmlwriter.so: cannot open shared object fil                                                                                                               e: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xmlwriter.so' - /usr/lib/php/modules/xmlwriter.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/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: cannot open shared object file: No such f                                                                                                               ile or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: cannot open shared object file: No such file o                                                                                                               r directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: cannot open shared object file: No such f                                                                                                               ile or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: cannot open shared object file: No such file o                                                                                                               r directory in Unknown on line 0
PHP 5.2.17 (cli) (built: Feb 16 2012 13:47:28)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.0.11, Copyright (c) 2002-2011, 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





Browser, View Source:
Code:
An unexpected database error occurred. Please try again later.
<!-- The Mysqli extension is required for this adapter but the 
extension is not loaded -->

Browser (second site):
Code:
Fatal Error 

The GD Graphics Library or Imagick Image Library was not found. 

Application Exited
 
Last edited:
17 comments
I know where the php.ini is located, but how do I know which is the correct modules directory and and where in the php.ini file do I change exactly?
 
What is your os and are you using a panel?

in the php.ini it should tell you the php extension dir. And should list the ones loaded without the # in front of the load.

on centos yum install php-gd
 
Last edited:
im on centos, but it should already be installed, but i what matches problem more is what l0calh0st suggested, but i'm not sure how to find the correct path
 
Hello,


According to your error . You have receieved default server with no php modules loaded

If you are using cpanel . Login in the WHM , Select Easy apache in the left column at the bottom .

Next select the apache version you want to install or upgrade , select php version , next select " Customize the build " , You will see alots of modules to be installed , like , suphp, ,memcache , ioncube loader , GD graphics , mysqli , etc. Select the once you need .

Click build the apache and php . After rebuild select the correct phphandler like suphp for more security
 
Are you on a 32 or 64 bit server? If unsure post the results of uname -a


Do this if it's a 64bit server:
Now edit /etc/php.ini and look for extension_dir.


Change that dir to: /usr/lib64/php/modules
Save the file, restart apache by running service httpd restart. Then execute php-v and provide us the results.
 
Ok the php extension library is /usr/lib/php/modules

Check if the .so files missing in the error list are there.

If not run in ssh this command

find / -name xmlwriter.so

If you find this one the rest should be there. You can copy them to the extension folder or change /usr/lib/php/modules to wherever you find the files.
 
I'm using Kloxo (LX admin), but on my old server it was already installed and everything was working smoothly.

The errors didn't come about until it wasn't until they moved it to another box. Would I still need to rebuild apache?
 
I followed what l0calh0st said and now everything is back to normal.
Thank you all for assisting me with this, I very much appreciate it!
 
Last edited:
Status
Not open for further replies.
Back
Top