We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
PHP7 on ubuntu
PHP7 on ubuntu
Hi,
I tried removing php5 and upgrading to php7 on my vestacp installation..
Install went fine, but then i got server error.
Server log say: connect() failed (111: Connection refused) while connecting to upstream
Someone any guide how to do it? (had to replace a backup)
I tried removing php5 and upgrading to php7 on my vestacp installation..
Install went fine, but then i got server error.
Server log say: connect() failed (111: Connection refused) while connecting to upstream
Someone any guide how to do it? (had to replace a backup)
Re: PHP7 on ubuntu
Something like this:
https://www.digitalocean.com/community/ ... untu-14-04
Find repo, upgrade modules.
https://www.digitalocean.com/community/ ... untu-14-04
Find repo, upgrade modules.
-
- Posts: 10
- Joined: Sat Jan 10, 2015 7:54 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: PHP7 on ubuntu
After upgrade webmail is not working
Re: PHP7 on ubuntu
/etc/nginx/sites-enabled/default is not present, when you want to use this guide, where is it with vestacp?
I need to edit it for the new php-fpm socket..
I need to edit it for the new php-fpm socket..
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: PHP7 on ubuntu
Check the templates in /usr/local/vesta/data/templates and the config files /home/yourusername/conf/web/sennevb wrote:/etc/nginx/sites-enabled/default is not present, when you want to use this guide, where is it with vestacp?
I need to edit it for the new php-fpm socket..
Re: PHP7 on ubuntu
You have to update Roundcube to 1.2betaprometheus wrote:After upgrade webmail is not working
More info: https://roundcube.net/news/2015/11/23/r ... a-out-now/
Edit: Yep... its possible
SpoilerShow
Last edited by newtron on Tue Feb 02, 2016 11:41 am, edited 1 time in total.
Re: PHP7 on ubuntu
How's your setup like?newtron wrote:prometheus wrote:-snip
- Nginx with apache or Nginx without apache?
Because I would love to upgrade but even when I tried fixing roundcube other errors kept happening.
If it's not a hassle, I would like some guidance. If that's okay
Re: PHP7 on ubuntu
I'm just reading it trough..sennevb wrote:/etc/nginx/sites-enabled/default is not present, when you want to use this guide, where is it with vestacp?
I need to edit it for the new php-fpm socket..
I dont need php-fpm right, since nginx is not handling the php, it is apache. Nginx only handling images right??
Anyone can confirm??
Re: PHP7 on ubuntu
Right... but not right, if you see the "network" in your browser you will see the X-server is nginx..sennevb wrote:Nginx only handling images right??
Anyone can confirm??
Apache without Nginx, but that isnt the problem, you have to upgrade roundcube to the latest beta (download in official webpage, github ver not run...), and download latest beta from PhpMyAdmin, it runs too with PHP7.suassive wrote:How's your setup like?
- Nginx with apache or Nginx without apache?
Because I would love to upgrade but even when I tried fixing roundcube other errors kept happening.
If it's not a hassle, I would like some guidance. If that's okay
And confirmed, Wordpress and PrestaShop 1.6.1.4 runs perfect on PHP7 :D
SpoilerShow
Re: PHP7 on ubuntu
Yep, apache run php, not nginx. If you use nginx + php-fpm, php-rpm run php-scripts.sennevb wrote: I dont need php-fpm right, since nginx is not handling the php, it is apache. Nginx only handling images right??
Anyone can confirm??
Nginx not only for images, js and other.. it's powerfull proxy tool - https://en.wikipedia.org/wiki/Nginx