Invert php versions

jonium

Verified User
Joined
Nov 10, 2010
Messages
129
Location
Alezio - Lecce- Apulia - South Italy
Hello,
On a server I have Php 5.6.39 as primary and Php 7.0 as secondary and I'm thinking to invert them in order to push the client to update their apps and used php versions.
I have a doubt: what does happen to client's virtual hosts if I invert the primary and secondary Php versions?
Do they keep their version? I think no.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

You are correct, the PHP version for their domains will change too, all the domains will run under PHP 7.0. You will need to add php1_select=2 into domain's configs files if you want them to run under PHP 5.6

/usr/local/directadmin/data/users/username/domains/domain.com.conf

and rewrite configs.
 
Top