Search

Language:  
Search for:

Available article translations:

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

APPLIES TO:
  • Parallels Plesk Panel 8.x for Linux/Unix

Resolution

PHP on Debian can be upgraded in the following way: 
 
1. Comment the Plesk source in the /etc/apt/sources.list file, similarly to the following:


and update:

# apt-get update

2. Run the apt-cache search | grep php5 command to see which 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. Activate the Plesk source in the file /etc/apt/sources.list and update:

# apt-get update

6. Install libapache2-mod-php5 and psa-php5-configurator:

# apt-get install libapache2-mod-php5 psa-php5-configurator



75b59b1c6cdbaf382ebb2e4d11777032 5d735c0e028ee5b991e4fb80d34fb87f 49af2da0f2dd4c81e962790bbbd0c2b4 56797cefb1efc9130f7c48a7d1db0f0c

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification