These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for cannot install perl module. shows blank on the new forum.
Hi.
I'm new to webmin/virtualmin. I am logged into the backend, in webmin -> others ->perl module
I am trying to install MultiThread, but when webmin tries to run make, test, and install, it just shows blank without any progress. I have tried installing other modules and they installed fine. But with MultiThread the won't go anyfurther.
Any suggestions?
Thanks
Howdy,
There's a handful of modules that won't install properly... in some cases that's because they require some sort of user input.
You can always install them from the command line though... you can do that with this command:
cpan -i MODULE_NAME
Thanks!!!
Now another question, how do I disable suEXEC? Can't seem to find it :)
I highly recommend not disabling suexec... it provides an excellent layer of security for web apps running on your system, and assists in protecting users from each other by running apps as the Virtual Server owner, and not as the Apache user.
However, if you really wish to disable it -- the easiest way is to just change the PHP Execution Mode to mod_php.
You can do that in Server Configuration -> Website Options, and in there you can tweak the PHP Execution Mode to your desired value.
We would recommend using CGI or FCGID with suexec though :-)
-Eric
so to disable suExec, I need to set PHP script execution mod to apache mod_php (run as apache user)?? Anything else I need to change?
A script I need to run requires that suExcec is disabled for this particular server.
Also, in virtualmin, to enable perl MultiThread as module not as addon, I can just install the module by typing 'cpan -i MultiThread' in console?
Thanks guys!
so to disable suExec, I need to set PHP script execution mod to apache mod_php (run as apache user)?? Anything else I need to change?
Changing the PHP Execution Mode to mod_php switches that particular domain to a PHP mode that does not use suexec.
to enable perl MultiThread as module not as addon, I can just install the module by typing 'cpan -i MultiThread' in console?
Well, you asked how to install the MultiThread Perl module... if you aren't able to do that from within Virtualmin, than you can install a Perl module from CPAN using the command line using cpan -i like you showed above.
-Eric
Thank you. Worked like a charm!!