• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Issue SOFTACULOUS not detecting php 5.6.30 and it's PHP extension

NEWCHILD

Basic Pleskian
Hi,

Please how come softaculous is not detecting the specified php version for each domain / subscription. It keeps taking version 5.4 which seems to be the os default for plesk.

upload_2017-7-8_21-29-18.png

Please advise.
 
What about upgrading default OS vendor's PHP to 5.6.x and install the corresponding php-mcrypt extension?
 
OS ‪CentOS Linux 7.3.1611 (Core)‬
Product Plesk Onyx
Version 17.5.3 Update #13, last updated on July 10, 2017 11:44 PM
 
Yes, "yum-config-manager --enable remi-php71" will enable update to 7.1. If you want update vendor's php to 5.6 only, use "yum-config-manager --enable remi-php56" command.
 
Yes, "yum-config-manager --enable remi-php71" will enable update to 7.1. If you want update vendor's php to 5.6 only, use "yum-config-manager --enable remi-php56" command.
It's done Thanks i now have

php -v
PHP 5.6.31 (cli) (built: Jul 6 2017 08:06:11)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

But i still need to install the following extensions:

mcrypt, intl, ldap, bcmath, soap & Zend Guard Loader.

They all seem checked here but it still complaining of the extensions.

upload_2017-7-11_8-10-40.png
 
You can find all loaded modules with

# php -m

Then install needed modules with

# yum install php-mcrypt php-intl php-ldap php-bcmath php-soap

Zend Guard Loader can be found here Download Zend Guard
 
hello

when i do
# yum-config-manager --enable remi-php56

php -v still gives PHP 5.4.45 (cli) (built: Aug 23 2016 14:41:13)



centos 6.7 final
Plesk12.5.30 Update #67
 
hello

when i do
# yum-config-manager --enable remi-php56

php -v still gives PHP 5.4.45 (cli) (built: Aug 23 2016 14:41:13)



centos 6.7 final
Plesk12.5.30 Update #67
You have to run

# yum update php

After that.
 
You have to run

# yum update php

After that.
[root@xxxxxxx ~]# yum update php
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* atomic: mirror1.34sp.com
* base: centos.mirrors.ovh.net
* city-fan.org: www.city-fan.org
* extras: mirror.plusserver.com
* updates: centos.mirrors.ovh.net
* webtatic: uk.repo.webtatic.com
atomic | 3.4 kB 00:00
base | 3.7 kB 00:00
city-fan.org | 2.9 kB 00:00
extras | 3.4 kB 00:00
mysql-connectors-community | 2.5 kB 00:00
mysql-tools-community | 2.5 kB 00:00
mysql56-community | 2.5 kB 00:00
plesk-php-5.6 | 2.9 kB 00:00
plesk-php-7.0 | 2.9 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
No Packages marked for Update
[root@xxxxxx ~]# php -v
PHP 5.4.45 (cli) (built: Aug 23 2016 14:41:13)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd.
 
Have you added remi and epel repositories before as it is described above?
 
If you can't update your vendor php Version for some reasons, you can also try to add a hook inside this directory where you can change the php version for the installer (or just tell him the version he need):

on centos:

copy the .txt files to php and add the "$version" and "define..." lines.

/usr/local/softaculous/enduser/hooks/pre_install.php
/usr/local/softaculous/enduser/hooks/pre_upgrade.php

for pre_upgrade.php it's:

function __pre_upgrade($installation){

global $soft, $software, $globals;

// Do stuff here e.g. is as follows

$version = '7.0';

define('php_version', $version);

if($soft == 26){ /* Do things only if its WordPress */ }

}
 
Back
Top