How to able perl and cgi on Lampp?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to able perl and cgi on Lampp?

Postby h2non » 02. December 2008 08:18

I need able this extensions of lampp server, but, on /xampp page, seens disable.

What can I do for able this?

Thanks in advanced!
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby glitzi85 » 02. December 2008 12:33

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby h2non » 02. December 2008 14:56

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!
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby glitzi85 » 03. December 2008 02:42

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby Wiedmann » 03. December 2008 07:58

No idea where the perl interpreter of XAMPP is located,

/opt/lampp/bin/perl
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 30 guests