Enabling PERL.

3 posts / 0 new
Last post
#1 Sun, 10/03/2010 - 11:10
raimis100

Enabling PERL.

Hey

I can not run perl scripts and phpinfo shows no PERL modules. How can I install perl addon?

Sun, 10/03/2010 - 11:45
raimis100

Any help on this?

Sun, 10/03/2010 - 17:55
andreychek

Howdy,

Any help on this?

Especially on the weekend, it'll sometimes take longer than 30 minutes to get a response :-)

phpinfo shows no PERL modules

Yeah, you wouldn't actually see that in phpinfo... Perl is an alternative to PHP. So you can run PHP scripts, or you can run Perl scripts, but you wouldn't see anything about Perl in your PHP config.

How can I install perl addon?

There's different ways to make this work... by default on most setups, Perl and other CGI scripts won't run out of your DocumentRoot (ie, your public_html dir). You'd need to put them into your cgi-bin directory (in $HOME/cgi-bin). That setup should work by default on most systems.

Also, make sure that the files are owned by the same user who owns the cgi-bin dir, and make sure that they're setup to be executable.

Give that a shot and see if that does the trick for you. If that doesn't work, take note of the error you're getting, including any messages that show up in $HOME/logs/error_log, and feel free to post all that here.

-Eric

Topic locked