Page 1 of 1

Recommending PHP 7.3

Posted: Sun Dec 23, 2018 3:09 pm
by tom256
Hi there, I need PHP 7.3 for one of my PHP projects.
Will VestaCP upgrade PHP version to 7.3 in it's next release? Will it support selecting different PHP version through GUI ?

Re: Recommending PHP 7.3

Posted: Tue Dec 25, 2018 11:41 am
by putude
Hi,

Sorry, I am not the expert. But I have tried install php73 and it's works.

1. install sk-phpinstaller_beta02_3.sh
2. yum install php73-php-imap php73-php-process php73-php-pspell php73-php-xml php73-php-xmlrpc php73-php-pdo php73-php-ldap php73-php-pecl-zip php73-php-common php73-php php73-php-mcrypt php73-php-gmp php73-php-mysqlnd php73-php-mbstring php73-php-gd php73-php-tidy php73-php-pecl-memcache --enablerepo=remi

3. cd /usr/local/vesta/data/templates/web/httpd/
{copy existing template for example sk-php54.sh}

4. cp sk-php54.sh sk-php73.sh; cp sk-php54.tpl sk-php73.tpl; cp sk-php54.stpl sk-php73.stpl
5. {edit sk-php73.sh, change the following line..}
exec /usr/bin/php54-cgi
to
exec /usr/bin/php73-cgi

6. service vesta restart

It should be there is a php7.3 option now.

Re: Recommending PHP 7.3

Posted: Wed Dec 26, 2018 7:05 pm
by tom256
putude wrote:
Tue Dec 25, 2018 11:41 am
2. yum install php73-php-imap php73-php-process php73-php-pspell php73-php-xml php73-php-xmlrpc php73-php-pdo php73-php-ldap php73-php-pecl-zip php73-php-common php73-php php73-php-mcrypt php73-php-gmp php73-php-mysqlnd php73-php-mbstring php73-php-gd php73-php-tidy php73-php-pecl-memcache --enablerepo=remi
I think this is for CentOS, I'm using Ubuntu Server.

Re: Recommending PHP 7.3

Posted: Tue Jan 15, 2019 1:36 pm
by skamasle
You can try this one

viewtopic.php?f=41&t=17129

Re: Recommending PHP 7.3

Posted: Sat Apr 06, 2019 2:06 pm
by mephivio
Hi guys,
Works well with Debian 9.8.
No problem

Re: Recommending PHP 7.3

Posted: Mon May 20, 2019 9:12 am
by tmomas
skamasle wrote:
Tue Jan 15, 2019 1:36 pm
You can try this one

viewtopic.php?f=41&t=17129
Thank you!

Re: Recommending PHP 7.3

Posted: Tue Jun 11, 2019 6:23 am
by ramirojoaquin
Anyone knows how to perform the upgrade if vesta is configured as Nginx + PHP-FPM?
PHP version selector would be an excellent feature to have...

Thanks!

Re: Recommending PHP 7.3

Posted: Tue Jun 11, 2019 7:06 pm
by skamasle
ramirojoaquin wrote:
Tue Jun 11, 2019 6:23 am
Anyone knows how to perform the upgrade if vesta is configured as Nginx + PHP-FPM?
PHP version selector would be an excellent feature to have...

Thanks!
If you know how, you can just upgrade main php version in server, and all should work fine if you make it good

Is same think as default php upgrade or uninstall php and install again, easy way is enable remi repo with php 7.3 and just do a php upgrade if you use centos, in debian / ubuntu depends of you distro version may you need third party repos