Help Plesk Barfed a Hair ball after trying to upgrade php
Posted: Fri Apr 10, 2009 8:35 am
Hello All definately would appreciate any advice here
I have a VPS with lunar pages
centos 4.2 and recent upgrade to plesk 9 php 4.3.9(i think )
anyways a couple of my joomla sites needed php 5 to
be able to upgrade
lunar pages provided me these instructions which I followed
@@@@@@@@
Here is some info on the process of installing php5 and mysql5. Please make sure you have yum installed
rpm -ivh http://www.atomicorp.com/channels/atomi ... noarch.rpm
rpm --nodeps -e php-domxml
yum update php*
yum update mysql*
yum install php-xml
Run php -v to verify the new version. If there are a lot of errors related to not being able to load modules, do this:
mv /etc/php.ini /etc/php.ini.bak
mv /etc/php.ini.rpmnew /etc/php.ini
Verify that the errors are cleared.
Restart Apache.
Ensure that the customer is warned to not run yum update on the machine as this may break things. If you wish to be sure that nothing is done like this, do the following:
rpm -e atomic-release
rpm -e `rpm -aq | grep yum`
The atomic repository info is from the Plesk forums, and has packages designed specially to work with Plesk.
@@@@@@@@@@@
I followed these instructions and everything seemed to go fine until
I got to the php -v step
I can not get rid of the errors (shown below )
[root@vps ~]# php -v
PHP: Error parsing /etc/php.ini on line 213
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/dbase.so' - /usr/lib/php4/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/dom.so' - /usr/lib/php4/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/json.so' - /usr/lib/php4/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xmlreader.so' - /usr/lib/php4/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xmlwriter.so' - /usr/lib/php4/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xsl.so' - /usr/lib/php4/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/zip.so' - /usr/lib/php4/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 4.3.9 (cgi) (built: Sep 27 2006 20:40:56)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.
[root@vps ~]#
On the surface the server appears to be runing fine
its just the plesk interface that is messed up
in the control panel (wont load ) I can only use Virtuozzo
clicking on server link in plesk shows
Service is not available now, probably your Plesk is misconfigured.
Contact Your provider for details.
Internal Plesk error occurred: bad column in table: `backup_time` time NOT NULL default '00:00:00',
Any Help would be greatly appreciated
Edit
I thought I better add this Im sure its probably fairly clear I am no linux guru
anyways
As I needed to install yum first and they did not provide instructions for this
I did some googling and did find some instructions (cant find em now of course)
Anyways the instructions I found refered to an atomic sh script of sometype when it ran
I noticed that the rpm listed was not a 1.09 as in their instructions it was a 1.10 I believe
it all happed very quickly but I though it was just an updated version
anyway I dont know if its related but i thought I should add that in here
Thanx
I have a VPS with lunar pages
centos 4.2 and recent upgrade to plesk 9 php 4.3.9(i think )
anyways a couple of my joomla sites needed php 5 to
be able to upgrade
lunar pages provided me these instructions which I followed
@@@@@@@@
Here is some info on the process of installing php5 and mysql5. Please make sure you have yum installed
rpm -ivh http://www.atomicorp.com/channels/atomi ... noarch.rpm
rpm --nodeps -e php-domxml
yum update php*
yum update mysql*
yum install php-xml
Run php -v to verify the new version. If there are a lot of errors related to not being able to load modules, do this:
mv /etc/php.ini /etc/php.ini.bak
mv /etc/php.ini.rpmnew /etc/php.ini
Verify that the errors are cleared.
Restart Apache.
Ensure that the customer is warned to not run yum update on the machine as this may break things. If you wish to be sure that nothing is done like this, do the following:
rpm -e atomic-release
rpm -e `rpm -aq | grep yum`
The atomic repository info is from the Plesk forums, and has packages designed specially to work with Plesk.
@@@@@@@@@@@
I followed these instructions and everything seemed to go fine until
I got to the php -v step
I can not get rid of the errors (shown below )
[root@vps ~]# php -v
PHP: Error parsing /etc/php.ini on line 213
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/dbase.so' - /usr/lib/php4/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/dom.so' - /usr/lib/php4/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/json.so' - /usr/lib/php4/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xmlreader.so' - /usr/lib/php4/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xmlwriter.so' - /usr/lib/php4/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/xsl.so' - /usr/lib/php4/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/zip.so' - /usr/lib/php4/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 4.3.9 (cgi) (built: Sep 27 2006 20:40:56)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.
[root@vps ~]#
On the surface the server appears to be runing fine
its just the plesk interface that is messed up
in the control panel (wont load ) I can only use Virtuozzo
clicking on server link in plesk shows
Service is not available now, probably your Plesk is misconfigured.
Contact Your provider for details.
Internal Plesk error occurred: bad column in table: `backup_time` time NOT NULL default '00:00:00',
Any Help would be greatly appreciated
Edit
I thought I better add this Im sure its probably fairly clear I am no linux guru
anyways
As I needed to install yum first and they did not provide instructions for this
I did some googling and did find some instructions (cant find em now of course)
Anyways the instructions I found refered to an atomic sh script of sometype when it ran
I noticed that the rpm listed was not a 1.09 as in their instructions it was a 1.10 I believe
it all happed very quickly but I though it was just an updated version
anyway I dont know if its related but i thought I should add that in here
Thanx