Switch from php5 to php7


#1

I was installing the latest easyengine on Ubuntu 16.04. I was installing the stack and after that PHP7, all with ee commands. After that I was creating my domain including --php7 . Running the info I do get:

Nginx configuration wp wpredis (enabled) PHP Version 7.0 HHVM enabled

So everything looks fine, but a wordpress plugin shows me that my wordpress site is running on PHP 5.6.33-1+ubuntu16.04.1+deb.sury.org+1 @64BitOS . Was I missing any step? The webpage is running fine, but I would like to know how to fix this. Surely other users will have the same problem. Thanks in advance for any help


#2

Hello,

What is the command used to create your website ?

Because HHVM option used php-fpm as fallback, but it’s probably php5.6.


#3

Hello virtubox,

first thanks for responding so quickly. here is what I have done:

wget -qO ee rt.cx/ee && sudo bash ee sudo ee stack install ee stack install --php7

sudo ee site create mywebpage.com --wpredis --php7 --hhvm

sudo ee site info mywebpage.com

Nginx configuration wp wpredis (enabled) PHP Version 7.0 HHVM enabled SSL disabled


#4

ok, I was switching off HHVM and now I do have PHP 7, thanks a lot virtubox


#5

I think it’s better, HHVM was very popular few years ago, but it was before php7 release.


#6