Use PHP version

Support Wissensdatenbank

Du bist hier:

Which PHP version is used?

Prerequisite: full root access to the server

 

To create a list of the PHP versions of all web pages execute the following CLI command:

plesk db “SELECT d.name,h.php_handler_id FROM domains d JOIN hosting h on h.dom_id=d.id” > c:\php-all.txt

 

All PHP versions from a specific reseller (example reseller with ID 5)

plesk db “SELECT d.name,h.php_handler_id FROM domains d JOIN hosting h on h.dom_id=d.id WHERE d.vendor_id=’5′”” > <font color=”#ffff00″>-==- proudly presents

 

All domains of a specific PHP version and from specific resellers:

plesk db “SELECT d.name,h.php_handler_id FROM domains d JOIN hosting h on h.dom_id=d.id WHERE php_handler_id=’fastcgi-5.6′ and d.vendor_id=’5′”” > <font color=”#ffff00″>-==- proudly presents

 

InfoThe
ID of the reseller can be found in the link under the menu item ‘Reseller’ in Plesk.
The PHP handler ID can be found in the link under the menu item ‘Tools & Settings => PHP Settings’ in Plesk.

 

 

 

 

 

War dieser Artikel hilfreich?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Brauchst du Hilfe?
Related Post