• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Show subscriptions PHP versions and handlers

masterdam79

New Pleskian
For a client I need to produce an overview which subscriptions are using which PHP handler/version.
AFAICS there is no such posibility in any bin in /usr/local/psa/bin/ or /usr/local/psa/admin/bin/ or the Plesk Web user interface.
Googling led me nowhere.

I assume I'd have to create some custom query on the psa database?
 
You can find this information in 'hosting' table. For example:

mysql> select dom_id,www_root,php_handler_id from hosting;
+--------+---------------------------------------------------+----------------+
| dom_id | www_root | php_handler_id |
+--------+---------------------------------------------------+----------------+
| 1 | /var/www/vhosts/ppu12-0.demo.pp.plesk.ru/httpdocs | fastcgi |
+--------+---------------------------------------------------+----------------+
1 row in set (0.00 sec)
 
Igor, thanks for your reply.
One step forward in the right direction.
I was simultaniously looking for the PHP version to be listed.
For example, under fastcgi we have PHP 5.4 and PHP 5.5 and I'd need to know which subscription is running which PHP version as well.
At least I can filter the (apache_)module/mod_php with PHP 5.3 now, thanks!
 
Back
Top