Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

How do I upgrade PHP to version 5 on Debian server with Plesk installed?

Article ID: 1782 
Last Review: Feb,13 2009
Author: Vitaly Malakhov
Last updated by: Vitaly Malakhov APPLIES TO:
  • Plesk 8.x for Linux/Unix

Resolution

PHP on Debian can be upgrade in the following way: 
 
1. Comment the Plesk source in the /etc/apt/sources.list file, something like:


and update:

# apt-get update

2. run `apt-cache search | grep php5` command to see wich packages are available

3. install the necessary php5 packages, for example:

# apt-get install php5 php5-common php5-gd php5-imap php5-mysql php5-xmlrpc php5-cgi php5-xsl php5-curl php5-cli

4. remove libapache2-mod-php4 and psa-php4-configurator:

# dpkg -r --force-depends libapache2-mod-php4 psa-php4-configurator

5. activated Plesk source in the file /etc/apt/sources.list and update:

# apt-get update

6. install libapache2-mod-php5 psa-php5-configurator:

# apt-get install libapache2-mod-php5 psa-php5-configurator
Keywords: how to upgrade php debian


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop for Mac
- Parallels Workstation
- Parallels Workstation Extreme
Server Virtualization
- Parallels Server
- Parallels Server for Mac
- Parallels Virtuozzo Containers
- Parallels Infrastructure Manager
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Plesk Family
More Products