SS88 wrote:Technically, yes, you should but it's unlikely to to remove in 7.
When you issue "service" it states: Redirecting to /bin/systemctl - so it works correctly.
If it fails, you can skip that step because it's removed, relinked to php 7 and added back to systemctl
Today I followed your steps on a fresh installed clean CentOS 7 Minimal (1511) and VestaCP 0.98-16 . This step returned the same error as former. Then I ignored that as you instructed. Then I run rest steps and finally I "see" php7 when execute this command:
Code: Select all
# php -v
PHP 7.0.12 (cli) (built: Oct 13 2016 16:56:51) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.12, Copyright (c) 1999-2016, by Zend Technologies
Then I created a new website on VestaCP panel and installed Joomla CMS for that website.
Next, I went to the backend "system information" of Joomla and saw following message:
PHP Version 5.6.27
I think my old PHP 5.x should be replaced with new PHP7, but why Joomla still running on PHP 5?
I even tried reboot my server and then check it again in Joomla, it still shows "php 5.6.27".
Well, @SS88, did you really tested your tutorial on CentOS7 ? Since you insist to use "service ..." command instead of "systemctl ..." command, I guess maybe you just copied your steps on CentOS 6 here?
I am looking for a "repeatable" solid solution about "upgrading to/installing PHP 7 on CentOS 7 for VestaCP". If you have some spare time, could you please check again your steps on CentOS 7 minimal installation with Joomla CMS ?
Before you confirm this can really change the PHP version for Joomla, I am afraid I can not execute your tutorial on my production server.