• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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

daanse

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?
 
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