Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
March 16, 2010, 11:06:44 PM

Pages: 1 2 [3]   Go Down
  Print  
Author Topic: How to upgrade php4 to php5 on VPS plan?  (Read 5721 times)
mke
Trekkie
**
Offline Offline

Posts: 16


« Reply #30 on: May 04, 2009, 06:29:54 PM »

Hello Relaxasaurus,

That's right the link should be updated to

http://www.atomicorp.com/channels/atomic/centos/4/i386/RPMS/atomic-release-1.0-10.el4.art.noarch.rpm

Please try it and repeat the install steps related to PHP. Please reply how it goes for you.


Hi, I just upgraded php and mysql using your link

At the end I did that:
-Replace /etc/my.cnf with /etc/my.cnf.rpmnew
-Replace /etc/php.ini with /etc/php.ini.rpmnew
-Reboot Server

but PHP DOES NOT SEEM TO WORK :/  checked it by testing http://74.50.5.242/2.html

Code:
<html>
<body>
test php
<?php
phpinfo();
?>

</body>
</html>

but I see in plesk that at least mysql works


Here are my results:

Running Transaction
  Installing: php-common                   #                       [ 1/34]warning: /etc/php.ini cr       eated as /etc/php.ini.rpmnew
  Installing: php-common                   ####################### [ 1/34]
  Installing: php-pdo                      ####################### [ 2/34]
  Installing: php-cli                      ####################### [ 3/34]
  Installing: autoconf                     ####################### [ 4/34]
  Installing: automake                     ####################### [ 5/34]
  Updating  : php                          ####################### [ 6/34]
  Updating  : php-pear                     ####################### [ 7/34]
  Installing: postgresql-libs              ####################### [ 8/34]
  Installing: t1lib                        ####################### [ 9/34]
  Installing: libc-client                  ####################### [10/34]
  Updating  : php-ldap                     ####################### [11/34]
  Updating  : php-mysql                    ####################### [12/34]
  Updating  : php-xmlrpc                   ####################### [13/34]
  Updating  : php-snmp                     ####################### [14/34]
  Updating  : php-ncurses                  ####################### [15/34]
  Updating  : php-gd                       ######################  [16/34]warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
  Updating  : php-gd                       ######################  [16/34]warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
  Updating  : php-gd                       ####################### [16/34]
  Updating  : php-devel                    ####################### [17/34]
  Updating  : php-pgsql                    ####################### [18/34]
  Updating  : php-imap                     ####################### [19/34]
  Updating  : php-odbc                     ####################### [20/34]
  Updating  : php-mbstring                 ####################### [21/34]
  Cleanup   : php-ldap                     ####################### [22/34]
  Cleanup   : php-mysql                    ####################### [23/34]
  Cleanup   : php-xmlrpc                   ####################### [24/34]
  Cleanup   : php-snmp                     ####################### [25/34]
  Cleanup   : php-ncurses                  ####################### [26/34]
  Cleanup   : php-gd                       ####################### [27/34]
  Cleanup   : php-devel                    ####################### [28/34]
  Cleanup   : php                          ####################### [29/34]
  Cleanup   : php-pgsql                    ####################### [30/34]
  Cleanup   : php-imap                     ####################### [31/34]
  Cleanup   : php-odbc                     ####################### [32/34]
  Cleanup   : php-mbstring                 ####################### [33/34]
  Cleanup   : php-pear                     ####################### [34/34]

Dependency Installed: autoconf.noarch 0:2.59-5 automake.noarch 0:1.9.2-3 libc-client.i386 0:2002e-14 php-cli.i386 0:5.2.9-2.el4.art php-common.i386 0:5.2.9-2.el4.art php-pdo.i386 0:5.2.9-2.el4.art postgresql-libs.i386 0:7.4.19-1.el4_6.1 t1lib.i386 0:5.1.2-2.el4.art
Updated: php.i386 0:5.2.9-2.el4.art php-devel.i386 0:5.2.9-2.el4.art php-gd.i386 0:5.2.9-2.el4.art php-imap.i386 0:5.2.9-2.el4.art php-ldap.i386 0:5.2.9-2.el4.art php-mbstring.i386 0:5.2.9-2.el4.art php-mysql.i386 0:5.2.9-2.el4.art php-ncurses.i386 0:5.2.9-2.el4.art php-odbc.i386 0:5.2.9-2.el4.art php-pear.noarch 1:1.7.2-2.el4.art php-pgsql.i386 0:5.2.9-2.el4.art php-snmp.i386 0:5.2.9-2.el4.art php-xmlrpc.i386 0:5.2.9-2.el4.art
Complete!


[root@vps ~]# yum install php-xml
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.2.9-2.el4.art.i 100% |=========================|  15 kB    00:00
---> Package php-xml.i386 0:5.2.9-2.el4.art set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 php-xml                 i386       5.2.9-2.el4.art  atomic             89 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 89 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-xml-5.2.9-2.el 100% |=========================|  89 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: php-xml                      ######################### [1/1]

Installed: php-xml.i386 0:5.2.9-2.el4.art
Complete!

what can I do now?
« Last Edit: May 04, 2009, 06:33:36 PM by mke » Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #31 on: May 04, 2009, 09:58:07 PM »


If you renamed 2.html to 2.php, does it work?
Logged

Kind Regards,
Vlad Artamonov
mke
Trekkie
**
Offline Offline

Posts: 16


« Reply #32 on: May 05, 2009, 03:38:11 AM »

no
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #33 on: May 06, 2009, 10:33:41 PM »

Hi Mke,

Do you have a ticket opened regarding this issue? I'll need it to get into your VPS to check the setup.
Logged

Kind Regards,
Vlad Artamonov
Jupiter
Spaceship Captain
*****
Offline Offline

Posts: 106



WWW
« Reply #34 on: July 08, 2009, 08:50:27 AM »

This thread is about 11 months old and the info still has not been added to the VPS FAQ... Since then some urls have changed and some steps have been added to the end of the update.

When will the COMPLETE and UPDATED instructions be added to the FAQ?
Logged
conga3
Knows just enough to get in trouble.
Spacescooter Operator
*****
Online Online

Posts: 37


WWW
« Reply #35 on: July 08, 2009, 08:30:20 PM »

 Not Me
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #36 on: July 11, 2009, 04:57:41 AM »

Hello Jupiter,

I've put this into my to-do list on the upcoming week.
Logged

Kind Regards,
Vlad Artamonov
Jupiter
Spaceship Captain
*****
Offline Offline

Posts: 106



WWW
« Reply #37 on: August 04, 2009, 01:07:11 PM »

Hello Jupiter,

I've put this into my to-do list on the upcoming week.
Ummmmmmmm....

HuhHuhHuhHuh
Logged
Jupiter
Spaceship Captain
*****
Offline Offline

Posts: 106



WWW
« Reply #38 on: August 12, 2009, 08:27:05 AM »

Hello Jupiter,

I've put this into my to-do list on the upcoming week.
Anybody home???
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #39 on: August 13, 2009, 05:18:54 AM »

Hi,

I'm terribly sorry for the delay. Had a million things to do the past few weeks. I'm working on how to right now and will post it shortly.
Logged

Kind Regards,
Vlad Artamonov
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #40 on: August 13, 2009, 06:48:27 AM »


Here we go:

http://www.lunarforums.com/lunarpages_vps_hosting/php_and_mysql_upgrade_tutorial_for_vps_container_with_centos4-t53224.0.html

Please start using that post as this one has a lot of old references and is too complex to get clear instructions.
Logged

Kind Regards,
Vlad Artamonov
Jupiter
Spaceship Captain
*****
Offline Offline

Posts: 106



WWW
« Reply #41 on: August 13, 2009, 06:53:45 AM »


Here we go:

http://www.lunarforums.com/lunarpages_vps_hosting/php_and_mysql_upgrade_tutorial_for_vps_container_with_centos4-t53224.0.html

Please start using that post as this one has a lot of old references and is too complex to get clear instructions.
Thumbs Up  Clapping Thumbs Up Clapping Thumbs Up Clapping


Now I just need to get the nerve to try this.  Grinning Grinning Grinning
Logged
conga3
Knows just enough to get in trouble.
Spacescooter Operator
*****
Online Online

Posts: 37


WWW
« Reply #42 on: August 13, 2009, 07:26:13 AM »

 Thumbs Up

Good stuff perestrelka!
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1311



« Reply #43 on: August 23, 2009, 01:43:44 AM »


Anytime. Let me know, if something needs to be adjusted.
Logged

Kind Regards,
Vlad Artamonov
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to: