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
9 posts • Page 1 of 1
tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 16x
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: 11
Joined: Fri Oct 13, 2017 6:41 am

Os: CentOS 7x
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 16x
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: 589
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
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075
Top

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

Os: Debian 9x
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 13x
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 9x
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: 589
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
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075
Top

rubiroid
Posts: 1
Joined: Thu Feb 25, 2021 8:42 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Recommending PHP 7.3
  • Quote

Post by rubiroid » Thu Feb 25, 2021 10:59 pm

Well, I think that the author of the topic has already solved this problem, since a huge amount of time has passed, but if any of you have a similar problem in the future, then don't you think that contacting the support service directly will be faster and more reliable? In this way, they will be able to provide you with accurate information about their updates, which will save you a huge amount of time. It is also a good option to turn to special services that can help you solve this problem in a different way. For example the company helped me a lot https://www.swiftcomm.co.uk/products/ma ... t-support/, which helped me a lot with improving my project. I think that if you have a very serious project that you have spent a huge amount of time and money on, then you need to use such a service!
Top


Post Reply
  • Print view

9 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