want to make sure I understand multiple php versions correctly

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
631
looks like I will need to enable dual php to run 5.4 for one domain. so if I read it right I make sure (in options.conf) modruid2 is set to off then I just do something like this:
php1_release=5.5
php5_cli=yes
php2_release=5.4
php1_mode=fastcgi
php2_mode=fastcgi
correct? one thing I have not seen is where the php version is applied to the domain, is this done through htaccess or something? or when multiple enabled is there a version selection on domain setup?

editor isn't loading for me so I cannot use codeboxes will try manually coding
 
Last edited:
ok there will be a option to choose then?
just now saw reference to that so thats good.
need to get 5.5 and 5.4 to build correctly first, for some reason 5.4 wasn't actually building.
pretty sure I made error and set both to cli though and if I understand right that would be the issue.
 
Hi,

I have used CB2.0 with two PHP versions but when I try to change PHP version for one domain in does nothing. Its the same as before. Any tip?
 
Hi,

I have used CB2.0 with two PHP versions but when I try to change PHP version for one domain in does nothing. Its the same as before. Any tip?

In custom httpd, check the generated file. One version of PHP should be assigned to the .php file extension and the other to .php54 or .php55
 
Back
Top