switch from 2 PHP versions to lsphp and altphp?

anti-ts

Verified User
Joined
Jan 25, 2014
Messages
42
Hi...

I'm interested to update a production server with minimal downtime and problems.

Latest DA, with:
php1_release=5.5
php2_release=5.3
php1_mode=fastcgi
php2_mode=fastcgi

I want to:
1. enable lsphp (using Cloudlinux)
2. remove multiple PHP versions (since this will be provided by CL altphp)
3. manually map currently selected PHP versions per domain (5.5 and 5.3) to CL altphp, so I need to find out which domains currently use php1 and which use php2 to do it.


Could you please help me a bit on how to do the above 1,2,3 steps?

Thank you very much.
 
To answer (3) of my own question for anyone interested:

To find out which domains are using which DA PHP version, I'm using this simple grep:

grep php1_select /usr/local/directadmin/data/users/*/domains/*.conf /dev/null
 
Back
Top