PHP upgrade

nikdahl

Verified User
Joined
Mar 14, 2005
Messages
65
Location
Seattle, WA, USA
Sorry guys, I know this topic has come up many many times before me.

but I'm looking for someone to just tell me flat out how I can upgrade from php 5.1.6 to the current version 5.2.5. How can I tell if the person that set this server up used apache or apache2?

OK, so heres what I've done.

wget http://files.directadmin.com/services/customapache/build
chmod 755 build
wget http://us.php.net/get/php-5.2.5.tar.gz/from/us3.php.net/mirror

Then I edited build and changed PHP_VER=5.2.5

So now, do I run ./build php?

I want it to keep all current configuration, so theoretically, if stole the parameters from a phpinfo();, and insert them into the configure.php, prior to running ./build php, then all should be fine, right?

Thanks!
 
I did this last week and it upgraded fine, however I was using customapache/ before. Your example shows you getting customapache so I'm not sure what the impact would be if you weren't using it previously.

My PHP configuration did not change, all I had to do was download PHP 5.2.5 and modify the version in the build script.

and yes, the right command is: ./build php
 
I did this last week and it upgraded fine, however I was using customapache/ before. Your example shows you getting customapache so I'm not sure what the impact would be if you weren't using it previously.

My PHP configuration did not change, all I had to do was download PHP 5.2.5 and modify the version in the build script.

and yes, the right command is: ./build php

this server was provisioned back in 04, when I wasn't with the company. So is there a way to tell if customapache was used to originally set up this server?
 
I want it to keep all current configuration

You should look at phpinfo() and make sure all the configuration options are in the new configuration.php

How can I tell if the person that set this server up used apache or apache2?

Click System Information
 
Back
Top