• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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