admanage - performance enhanced search technology

Installing PHP5

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 272 posts

Joined: Feb 2005

THe server that i am using at present (a VPS) is running an old version of PHP4. I want to upgrade to PHP5 but not sure how. I have become aware that you need to unistall php4 before installing php5?

Any direction appreciated

www.phpstarter.net

www.accessoriescentral.co.uk - For all your mobile phone accessories.

JeevesBond's picture
Moderator

He has: 3,465 posts

Joined: Jun 2002

Firstly we'll need to know what distro you're using. Redhat, Fedora, CentOS, Debian? Secondly: have you got SSH (command line) access and access to the root account?

If you do have SSH access, try typing this at the prompt:

cat /proc/version

That should tell us what you're using. Smiling

a Padded Cell our articles site!

Abhishek Reddy's picture
Moderator

He has: 3,289 posts

Joined: Jul 2001

I don't believe it's necessary to remove PHP4, depending on the system you are running. If you install PHP5 to a different location (or let your package manager do it), all you have to do is configure Apache to use PHP5.