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

Is it possible to have PHP 5.6 and PHP 7 ?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Is it possible to have PHP 5.6 and PHP 7 ?
  • Quote

Post by Spheerys » Wed Feb 03, 2016 11:04 am

I need to be able to have both PHP 5.6 and 7 on the same server.
Is it possible to select which version we want for a specific website ?
Last edited by Spheerys on Wed Feb 03, 2016 1:16 pm, edited 1 time in total.
Top

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

Re: Is it possible to have PHP 5.6 and PHP 7 ?
  • Quote

Post by skurudo » Wed Feb 03, 2016 11:20 am

Possible.

- make different templates based on php-cgi (for example php56-cgi and php7-cgi) and inside
- compile php from source
- edit new templates and add correct action phpcgi-script

Templates here - /usr/local/vesta/data/templates/web/apache2
Top

Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Re: Is it possible to have PHP 5.6 and PHP 7 ?
  • Quote

Post by Spheerys » Wed Feb 03, 2016 1:50 pm

Thanks, I will dig in this way :)
Top


Post Reply
  • Print view

3 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
 

 

Login  •  Register

I forgot my password