CGI bin - Lamp

Hi guys,

I wish to create a CGI bin on my server, however i have currently got some importan stuff in the var/www folder running. IF i install CGI will that be affected at all.

Also could any one suggest a good tutorial for installing lamp as i have heard that is what i require.

cheers in advance for any help.

Here ya go:
ApacheMySQLPHP - Community Help Wiki install the default LAMP stack in Ubuntu 7.04 (Feisty Fawn) Ubuntu 7.10 (Gutsy Gibbon) Ubuntu 8.04 LTS (Hardy Heron), 8.10 (Intrepid Ibex), 9.04 (Jaunty Jackalope), 9.10 (Karmic Koala) and 10.04 (Lucid Lynx)

sudo tasksel install lamp-server

I don’t know how it will affect other stuff, I suppose it depends on what you already have installed ? … which web server are you running now ?

If Mad Penguin set up your server, the LAMP stack is probably already installed.

For configuring Apache to permit CGI… See here:
it seems (for Apache 2.x in Ubuntu 10.xx) the default cgi-bin directory is /usr/lib/cgi-bin

Then you’ll have to add the line:

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
to your [b]/etc/apache2/httpd.conf[/b] file. as explained here: (or use one of the other methods described to enable CGI execution)

thanks for this.

Had major issues with my home connection recently ahvent been able to get on internet much hopefull all fixed.

Il look into this.