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

Diffrent PHP version - two domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Diffrent PHP version - two domain
  • Quote

Post by maniek015 » Wed Sep 21, 2016 5:58 am

Hello.
I have two sites (two domains) in my VestaCP.
First i want PHP 7.0 version , second domain I want to 5.6.24 version.
Is it possible to have two versions of PHP on the same server? If you have a topic is sorry for doubling
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Diffrent PHP version - two domain
  • Quote

Post by ScIT » Wed Sep 21, 2016 6:43 am

Hi

Have found the following and do already some internal testing: http://anikin.pw/all/multiversionnost-p ... s-vestacp/

For compiling php binary I use atm "phpbrew".

Different PHP Versions are already running (5.3, 5.4 and 7.0), but I need to do further testings, if it realy works as expected.

Regards
Raphael
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Diffrent PHP version - two domain
  • Quote

Post by ScIT » Mon Sep 26, 2016 8:29 am

Ok, "MultiPHP" Configuration works like a charm. I've done some documentation with apache2 template files if you want to do it "by hand": https://git.scit.ch/rs/VestaCP-MultiPHP

Also there seems to be a script here in the forum for automated installation: viewtopic.php?f=19&t=10854 (but seems to be CentOS only).

Best Regards
Raphael
Top

maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Re: Diffrent PHP version - two domain
  • Quote

Post by maniek015 » Mon Sep 26, 2016 3:01 pm

This is work for VestaCP on Debian system?
Top

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

Re: Diffrent PHP version - two domain
  • Quote

Post by skurudo » Mon Sep 26, 2016 3:12 pm

maniek015 wrote:This is work for VestaCP on Debian system?
First link for Debian.
Pretty nice guide.
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Diffrent PHP version - two domain
  • Quote

Post by ScIT » Mon Sep 26, 2016 5:26 pm

skurudo wrote:
maniek015 wrote:This is work for VestaCP on Debian system?
First link for Debian.
Pretty nice guide.
Hi Skurudo

Thank you, will translate the german parts soon to english. Guide is tested on Ubuntu Server 14.04 LTS, should also work on Debian, maybe someone can test it and let us know ;-).

Update: Tutorial is now tranlsated in english with some additional references and comments.

Best Regards
Raphael
Top

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

Re: Diffrent PHP version - two domain
  • Quote

Post by skurudo » Mon Sep 26, 2016 5:59 pm

ScIT wrote: Thank you, will translate the german parts soon to english. Guide is tested on Ubuntu Server 14.04 LTS, should also work on Debian, maybe someone can test it and let us know ;-).
Thank you, it's nice guide.
German was my school language, it was fine too ;-)

Raphael, may be you wish make your own topic in viewforum.php?f=19 ? And we make this topic sticky.
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Diffrent PHP version - two domain
  • Quote

Post by ScIT » Tue Sep 27, 2016 9:38 am

skurudo wrote:Raphael, may be you wish make your own topic in viewforum.php?f=19 ? And we make this topic sticky.
Done => viewtopic.php?f=19&p=50824#p50824
Top

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

Re: Diffrent PHP version - two domain
  • Quote

Post by skurudo » Tue Sep 27, 2016 11:48 am

ScIT wrote:Done => viewtopic.php?f=19&p=50824#p50824
Thanks, new sticky topic appear;-)
Top


Post Reply
  • Print view

9 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