How do I update PHP?

How do I update PHP?

Posted by: Tenstones
Posted on: 2008-08-28 13:05:00

After the foo we went through getting a custom PHP install and APC running, we ended up with PHP 5.2.5 installed.

I can't for the life of me and Google find the command to update PHP.

Tenstones Gaming Community

Re: How do I update PHP?

Posted by: silkrooster
Posted on: 2008-08-28 16:24:00

There is no update command. Just reinstall php again. The script on the wiki should be pointing to the lastest version of php.

My website

Re: How do I update PHP?

Posted by: Tenstones
Posted on: 2008-08-29 05:10:00

I can't use something like:

sudo php5 apt-get install php5-cgi php5-cli

I got that from: http://nixcraft.com/ubuntu-debian/11815-how-upgrade-php.html which says it's for going from php4 to php5.

Tenstones Gaming Community

Re: How do I update PHP?

Posted by: sdayman
Posted on: 2008-08-29 06:54:00

That works swell if you have root access and want to upgrade the standard installation. However, your private PHP contained in your user account will need a manual process, as all the paths are different.

-Scott

Re: How do I update PHP?

Posted by: sXi
Posted on: 2008-08-29 19:04:00

http://php526.dreamhosters.com

On the sudo: If everyone on a shared server had the ability to update/reinstall the entire server environment, mayhem would ensue. Having the ability to customise your own environment on a user level is something 99% of shared hosts don't provide. We're quite fortunate here at Dreamhost.


Tags: gaming communityphp 5googleapcfoo