• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Find out which Modules are used (python, perl) ?

mdde

Regular Pleskian
Hi,
i want to find out which Modules are used by current customers.
Python / Perl...

Is that possible?

My Goal: disable it from old Server, in order to move to new Server without activate Modules on destination Server?!

Thank you.
 
You can find this info in hosting table of Plesk database for corresponding domain ID. For instance:

mysql> select perl,python,coldfusion,asp,miva from hosting where dom_id=1;
+------+--------+------------+-------+-------+
| perl | python | coldfusion | asp | miva |
+------+--------+------------+-------+-------+
| true | true | false | false | false |
+------+--------+------------+-------+-------+
1 row in set (0.00 sec)
 
Login to Plesk database with command

# plesk db

and then run this SQL command.
 
Thankyou.
Output is as following:
Code:
mysql> select perl,python,coldfusion,asp,miva from hosting where dom_id=1;
+------+--------+------------+-------+-------+
| perl | python | coldfusion | asp   | miva  |
+------+--------+------------+-------+-------+
| true | false  | false      | false | false |
+------+--------+------------+-------+-------+
1 row in set (0.00 sec)

Does that means, that no one on the Server runs something with perl?
So i can turn off Perl / remove Perl?
 
It means that domain with id 1 has enabled perl support.
 
yeah, i think everyone has, because the Service Plan was served like this at beginning.
No i have 300 Domains with Service plans, which allows Perl but propally don't need it.
My goal: Find out who's really using Perl and if no body cares, disable and delete Perl.
This i think is not easy or not possible, right?
 
Maybe you can find site with many .pl files with something like

# find /var/www/vhosts/ -name *.pl

and decide that this site probably uses perl, but I'm not sure :)
 
HI, thank you.
can i run this command with search eveything except the "test.pl" which is somehow in every httpdocs?
 
Hi daanse,

can i run this command with search eveything except the "test.pl" which is somehow in every httpdocs?

Possible example command to exclude names like "test.pl", when using find:

find /var/www/vhosts/ -name *.pl \( ! -name test.pl \)

For further documentations with the command "find" on linux systems, consider to read the manuals with the command "man find" over your command line, or choose to visit for example: => https://linux.die.net/man/1/find
 
Back
Top