Page 1 of 1

switch to php7

Posted: Sat Mar 26, 2016 2:11 am
by zer0hardc0re
Hi there guys, so I installed Vesta control panel on my 1gb memory droplet (vps). I've got nginx running in the front and apache in the back.

I've upgraded to php 7 with putty/CL and when I type in "php -v" in the CL, it shows that I'm running php 7.

So in order to test things out, I decided to create a file called phpinfo and when I run it, it says that I'm running "5.5.9-1ubuntu4.14"

I've also got Wordpress installed and when I run the system status, it also shows that I'm using 5.5.9

SO now I'm confused. Which version am I really using and how can I switch (default) to php7?

Thank you for your input

Re: switch to php7

Posted: Sat Mar 26, 2016 5:05 am
by pandabb
Hello check this thread - http://forum.vestacp.com/viewtopic.php? ... 512#p41512

read from page 1.

Re: switch to php7

Posted: Sat Mar 26, 2016 11:09 am
by skamasle
pandabb wrote:Hello check this thread - http://forum.vestacp.com/viewtopic.php? ... 512#p41512

read from page 1.
Dont working in ubuntu :/


Maybe @zer0hardc0re dont restart apache

Re: switch to php7

Posted: Sat Mar 26, 2016 1:34 pm
by zer0hardc0re
skamasle wrote:
pandabb wrote:Hello check this thread - http://forum.vestacp.com/viewtopic.php? ... 512#p41512

read from page 1.
Dont working in ubuntu :/


Maybe @zer0hardc0re dont restart apache
Yes I did restart apache