• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 12.5 - PHP 5.3.3 by OS Vendor

Erwan

Regular Pleskian
Hello,

On one of our server, we have Plesk 12.5 licence with PHP 5.3.3 by OS Vendor.
In the Plesk Installer (Add/Remove Components > Web hosting features > Different PHP interpreters versions), we don't have PHP version 6, only PHP 5.3.3 by OS Vendor.

How can we update PHP or installed differentversion?
Thank you.

We don't have this problem with our others Plesk installations.
 
Hi Erwan,

you could still use the Plesk autoinstaller to install additional components:

plesk sbin autoinstaller --select-product-id plesk --select-release-current --show-components --show-options

plesk sbin autoinstaller --select-product-id plesk --select-release-current --install-component php5.6
 
Thank you for the response...

#plesk sbin autoinstaller --select-product-id plesk --select-release-current --show-components --show-options
Doing restart of Plesk Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 12%..26%..34%..41%..56%..65%..73%..82%..92%..100% was finished.
File downloading ppsmbe.inf3: 82%..100% was finished.
File downloading sitebuilder.inf3: 76%..100% was finished.
File downloading sso.inf3: 80%..100% was finished.
File downloading setemplates.inf3: 100% was finished.
File downloading pp-sitebuilder.inf3: 11%..21%..38%..40%..61%..79%..85%..100% was finished.
File downloading billing.inf3: 14%..26%..40%..55%..71%..84%..100% was finished.
File downloading mysql.inf3: 22%..100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 16%..54%..100% was finished.
File downloading php70.inf3: 100% was finished.
File downloading php56.inf3: 100% was finished.
File downloading php55.inf3: 100% was finished.
File downloading php54.inf3: 80%..100% was finished.
File downloading php53.inf3: 40%..100% was finished.
File downloading php52.inf3: 100% was finished.
File downloading pmm.inf3: 100% was finished.
Checking for installed packages...
File downloading PSA_12.5.30/plesk-12.5.30-cos5-x86_64.inf3: 15%..23%..41%..61%..74%..87%..100% was finished.
Downloading extension catalog feed...
File downloading PSA_12.5.30/plesk-patches-12.5.30-cos5-x86_64.inf3: 13%..26%..32%..46%..53%..65%..72%..80%..94%..100% was finished.
File downloading SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhall-all.inf3: 92%..100% was finished.
File downloading BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% was finished.
File downloading MYSQL_5.5.46/mysql-5.5.46-rhel5-x86_64.inf3: 100% was finished.
File downloading APACHE_2.2.31/apache-2.2.31-rh5-x86_64.inf3: 100% was finished.
File downloading NGINX_1.9.4/nginx-1.9.4-cos5-x86_64.inf3: 100% was finished.
File downloading PMM_0.1.10/pmm-0.1.10-cos5-x86_64.inf3: 84%..100% was finished.
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished


Detecting installed product components.

panel [up2date] - Plesk
bind [up2date] - BIND DNS server
postgresql [install] - PostgreSQL server
pmm-old [up2date] - Migration Manager
health-monitor [up2date] - Server Health Monitor
pba [up2date] - Payment gateway and registrar modules adapted to Business Manager
fail2ban [up2date] - Fail2Ban
selinux [up2date] - SELinux policy
l10n [up2date] - All language localization for Plesk
sitebuilder [up2date] - Web Presence Builder
billing [up2date] - Plesk billing
pmm [install] - Plesk Migrator
web-hosting [up2date] - Plesk Web hosting
proftpd [up2date] - ProFTPD
java [install] - Support for Tomcat Java Servlets
miva [install] - MIVA Empresa
webalizer [up2date] - Webalizer
awstats [up2date] - AWStats
modsecurity [install] - ModSecurity
mod_fcgid [up2date] - mod_fcgid
mod_perl [up2date] - mod_perl
mod-bw [up2date] - mod_bw
asp [install] - Apache ASP support
mod_python [up2date] - mod_python
apache [up2date] - Apache
apache-sni [install] - Apache web server with SNI support
php53 [up2date] - PHP 5.3 from OS vendor
php5 [install] - PHP 5 from OS vendor
nginx [install] - Nginx web server
phpfpm [error] - PHP-FPM support from OS vendor (requires one of 'atomic' or 'remi' repositories enabled)
horde [up2date] - Horde
roundcube [install] - Roundcube
kav [up2date] - Kaspersky Anti-Virus
drweb [up2date] - Odin Premium Antivirus
spamassassin [up2date] - SpamAssassin
mailman [up2date] - Mailman
postfix [install] - Postfix
qmail [up2date] - Qmail
msmtp [install] - MSMTP (relay only)
dovecot [install] - Dovecot
courier [up2date] - Courier
mysql-sys [up2date] - MySQL server
mysql [install] - MySQL v5.5 (packaged by Odin)
config-troubleshooter[install] - Plesk Web Server Configuration Troubleshooter
psa-firewall [up2date] - Plesk Firewall
psa-vpn [up2date] - Plesk VPN
psa-fileserver [install] - Plesk file server
sshterm [up2date] - SSHTerm
watchdog [up2date] - Watchdog system monitoring
cloudflare [install] - Cloudflare ServerShield
magicspam [install] - MagicSpam Embedded Protection
heavy-metal-skin [install] - Skins and Color Schemes

#plesk sbin autoinstaller --select-product-id plesk --select-release-current --install-component php5.6
Doing restart of Plesk Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 12%..25%..32%..41%..51%..65%..70%..83%..90%..100% was finished.
File downloading ppsmbe.inf3: 61%..100% was finished.
File downloading sitebuilder.inf3: 12%..63%..100% was finished.
File downloading sso.inf3: 13%..100% was finished.
File downloading setemplates.inf3: 100% was finished.
File downloading pp-sitebuilder.inf3: 10%..21%..37%..43%..52%..61%..72%..84%..96%..100% was finished.
File downloading billing.inf3: 13%..26%..31%..40%..65%..83%..95%..100% was finished.
File downloading mysql.inf3: 88%..100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 16%..54%..81%..100% was finished.
File downloading php70.inf3: 100% was finished.
File downloading php56.inf3: 80%..100% was finished.
File downloading php55.inf3: 80%..100% was finished.
File downloading php54.inf3: 100% was finished.
File downloading php53.inf3: 100% was finished.
File downloading php52.inf3: 40%..100% was finished.
File downloading pmm.inf3: 100% was finished.
Checking for installed packages...
File downloading PSA_12.5.30/plesk-12.5.30-cos5-x86_64.inf3: 15%..25%..43%..50%..68%..80%..93%..100% was finished.
Downloading extension catalog feed...
File downloading PSA_12.5.30/plesk-patches-12.5.30-cos5-x86_64.inf3: 10%..25%..30%..43%..51%..63%..70%..84%..90%..100% was finished.
File downloading SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhall-all.inf3: 100% was finished.
File downloading BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% was finished.
File downloading MYSQL_5.5.46/mysql-5.5.46-rhel5-x86_64.inf3: 43%..100% was finished.
File downloading APACHE_2.2.31/apache-2.2.31-rh5-x86_64.inf3: 100% was finished.
File downloading NGINX_1.9.4/nginx-1.9.4-cos5-x86_64.inf3: 100% was finished.
File downloading PMM_0.1.10/pmm-0.1.10-cos5-x86_64.inf3: 42%..100% was finished.
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-e8562897-459f07a4 gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished


Detecting installed product components.
Gathering information about installed license key...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished


You already have the latest version of product(s) and all selected components
installed. Installation will not continue.
=========================================================================================

And we can not choose another PHP version. There is only 5.3.3 OS by Vendor.
 
Hi Erwan,

please be aware, that CentOS 5 is not supported, as you can read as well at Plesk KB - article 125146 :

How can I use multiple PHP versions in Plesk 12.0 and in Plesk 12.5?

Now, with Plesk 12.0 and Plesk 12.5, you can install and use multiple PHP 5.x versions built by the Plesk team via Plesk panel, without any additional third-party repositories or building PHP from sources by yourself!

Plesk PHP packages do not conflict with or replace other PHP packages, so you can continue using your current PHP builds or third-party PHP packages.

PHP packages from the Plesk team are available on:

Plesk 12: CentOS 6, CentOS 7, and Ubuntu 12

Plesk 12.5: Ubuntu 12,14, Debian 7,8 and CentOS/RHEL 6, 7 operating systems.
 
Additional note:

IF you are an experienced linux server administrator ( and ONLY if this is the case!!! ), you could still try the optinal string "--override-os-version <arg>" ( where <arg> has to be the desired 6.7 or 7.2 version, when you use CentOS ) in your autoinstaller - command, so that you can install the additional PHP - versions 5.4, 5.5, 5.6 and 7.0. Please be aware, that you will not get any support or help to solve possible issues, because this override - procedure can cause issues/problems/errors, which you should solve on your own.


Possible commands would loook like this then:

plesk sbin autoinstaller --select-product-id plesk --select-release-current --override-os-version 6.7 --install-component php5.4
plesk sbin autoinstaller --select-product-id plesk --select-release-current --override-os-version 6.7 --install-component php5.5
plesk sbin autoinstaller --select-product-id plesk --select-release-current --override-os-version 6.7 --install-component php5.6
plesk sbin autoinstaller --select-product-id plesk --select-release-current --override-os-version 6.7 --install-component php7.0
 
hello everyone

could i remove "PHP 5 from OS vendor" and select php 5.6 and php 7.0 ?

thanks by advance?
 
hello everyone

could i remove "PHP 5 from OS vendor" and select php 5.6 and php 7.0 ?

thanks by advance?
Could you please be more specific? What is your desired scenario in details?
 
php_by_os_remove.png


so is there a problem if i remove PHP 5 from OS vendor ?
 
Well. Go to PHP settings of your site and select PHP5.6 or PHP7.0 for your site instead of "PHP 5 from OS vendor". What is the problem with it?
 
Well. Go to PHP settings of your site and select PHP5.6 or PHP7.0 for your site instead of "PHP 5 from OS vendor". What is the problem with it?
i did this laready

but i need also from shell compose somethings than it's use php 5.4 and give errors because php 5.4 doenst permit to use class syntax
 
Well. Go to PHP settings of your site and select PHP5.6 or PHP7.0 for your site instead of "PHP 5 from OS vendor". What is the problem with it?
i have another q. is there a way to change php -v from 5.4 to 5.6 ?
thanks by advance
 
Back
Top