Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Modification & Patches
  • Search

Recommending PHP 7.3

Section with modification and patches for Vesta
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Recommending PHP 7.3
  • Quote

Post by tom256 » Sun Dec 23, 2018 3:09 pm

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 ?
Top

putude
Posts: 10
Joined: Fri Oct 13, 2017 6:41 am

Os: CentOS 6x
Web: apache + nginx
Re: Recommending PHP 7.3
  • Quote

Post by putude » Tue Dec 25, 2018 11:41 am

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.
Top

tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Recommending PHP 7.3
  • Quote

Post by tom256 » Wed Dec 26, 2018 7:05 pm

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Recommending PHP 7.3
  • Quote

Post by skamasle » Tue Jan 15, 2019 1:36 pm

You can try this one

viewtopic.php?f=41&t=17129
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: Recommending PHP 7.3
  • Quote

Post by mephivio » Sat Apr 06, 2019 2:06 pm

Hi guys,
Works well with Debian 9.8.
No problem
Top

tmomas
Posts: 1
Joined: Mon May 20, 2019 9:11 am

Os: Ubuntu 12x
Web: apache
Re: Recommending PHP 7.3
  • Quote

Post by tmomas » Mon May 20, 2019 9:12 am

skamasle wrote: ↑
Tue Jan 15, 2019 1:36 pm
You can try this one

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

ramirojoaquin
Posts: 2
Joined: Sat Nov 17, 2018 10:08 pm

Os: Debian 8x
Web: nginx + php-fpm
Re: Recommending PHP 7.3
  • Quote

Post by ramirojoaquin » 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!
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Recommending PHP 7.3
  • Quote

Post by skamasle » Tue Jun 11, 2019 7:06 pm

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
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Modification & Patches”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password