Page 1 of 1

How to able perl and cgi on Lampp?

PostPosted: 02. December 2008 08:18
by h2non
I need able this extensions of lampp server, but, on /xampp page, seens disable.

What can I do for able this?

Thanks in advanced!

PostPosted: 02. December 2008 12:33
by glitzi85
If you want a Perl-Script run under CGI you can put this script in /opt/lampp/cgi-bin and call it via http://localhost/cgi-bin/script.pl

glitzi

PostPosted: 02. December 2008 14:56
by h2non
Thanks for your answer!
However, in the homeland security information as I get off:

Image

How can I fix this?

Apparently it is only an indication, as the MySQL database is running perfectly.

Thank you!

PostPosted: 03. December 2008 02:42
by glitzi85
Yeah, the Status-Page is not working properly always.

Try to put your Perl-Scripts in the cgi-bin folder and execute them. If you get an error, post it here.

No idea where the perl interpreter of XAMPP is located, but you can also use your system interpreter. Find out with
Code: Select all
whereis perl
where your Perl Executable is located and use this in the Shebang.

glitzi

PostPosted: 03. December 2008 07:58
by Wiedmann
No idea where the perl interpreter of XAMPP is located,

/opt/lampp/bin/perl