• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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