Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

PHP7 on ubuntu

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

PHP7 on ubuntu
  • Quote

Post by sennevb » Sat Jan 23, 2016 2:59 pm

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

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: PHP7 on ubuntu
  • Quote

Post by skurudo » Sat Jan 23, 2016 7:58 pm

Something like this:
https://www.digitalocean.com/community/ ... untu-14-04

Find repo, upgrade modules.
Top

prometheus
Posts: 10
Joined: Sat Jan 10, 2015 7:54 pm
Contact:
Contact prometheus
Website

Os: Debian 8x
Web: apache + nginx
Re: PHP7 on ubuntu
  • Quote

Post by prometheus » Sun Jan 24, 2016 5:53 pm

After upgrade webmail is not working
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: PHP7 on ubuntu
  • Quote

Post by sennevb » Sun Jan 24, 2016 7:23 pm

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

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: PHP7 on ubuntu
  • Quote

Post by tjebbeke » Mon Jan 25, 2016 7:57 am

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..
Check the templates in /usr/local/vesta/data/templates and the config files /home/yourusername/conf/web/
Top

newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

Re: PHP7 on ubuntu
  • Quote

Post by newtron » Mon Jan 25, 2016 3:44 pm

prometheus wrote:After upgrade webmail is not working
You have to update Roundcube to 1.2beta

More info: https://roundcube.net/news/2015/11/23/r ... a-out-now/

Edit: Yep... its possible
SpoilerShow
Image
Tested on Debian Testing
Last edited by newtron on Tue Feb 02, 2016 11:41 am, edited 1 time in total.
Top

suassive
Posts: 17
Joined: Thu Jul 16, 2015 4:49 am

Re: PHP7 on ubuntu
  • Quote

Post by suassive » Fri Jan 29, 2016 7:11 pm

newtron wrote:
prometheus wrote:-snip
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
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: PHP7 on ubuntu
  • Quote

Post by sennevb » Sat Jan 30, 2016 6:55 pm

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'm just reading it trough..
I dont need php-fpm right, since nginx is not handling the php, it is apache. Nginx only handling images right??
Anyone can confirm??
Top

newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

Re: PHP7 on ubuntu
  • Quote

Post by newtron » Tue Feb 02, 2016 11:36 am

sennevb wrote:Nginx only handling images right??
Anyone can confirm??
Right... but not right, if you see the "network" in your browser you will see the X-server is nginx..
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
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.

And confirmed, Wordpress and PrestaShop 1.6.1.4 runs perfect on PHP7 :D
SpoilerShow
Image
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: PHP7 on ubuntu
  • Quote

Post by skurudo » Tue Feb 02, 2016 11:54 am

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??
Yep, apache run php, not nginx. If you use nginx + php-fpm, php-rpm run php-scripts.

Nginx not only for images, js and other.. it's powerfull proxy tool - https://en.wikipedia.org/wiki/Nginx
Top


Post Reply
  • Print view

10 posts • Page 1 of 1

Return to “Web Server”



  • 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
 

 

cron

Login  •  Register

I forgot my password