cannot install perl module. shows blank

7 posts / 0 new
Last post
#1 Tue, 09/18/2012 - 15:16
bangsters

cannot install perl module. shows blank

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

Tue, 09/18/2012 - 16:07
andreychek

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

Tue, 09/18/2012 - 18:08
bangsters

Thanks!!!

Now another question, how do I disable suEXEC? Can't seem to find it :)

Tue, 09/18/2012 - 21:21
andreychek

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

Tue, 09/18/2012 - 23:40
bangsters

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!

Wed, 09/19/2012 - 00:07
andreychek

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

Wed, 09/19/2012 - 09:05
bangsters

Thank you. Worked like a charm!!

Topic locked