I've got a server running a primary and secondary PHP version (in this case 5 and 7). I'm slowly migrating all sites hosted there to PHP 7. I set the PHP version through the DirectAdmin domain setup options.
My question is, is there a way to list what user is using what PHP version? Either through DirectAdmin, or SSH.
I've tried calling php --version
, but that just returns the primary PHP version.
I'm looking for a way to get a nice list of active PHP versions.
Info:
- CentOS 7
- DirectAdmin 1.50 (with custombuild 2.0)