GetDotted Domains

Viewing Thread:
"Question about Apache and CGI-BIN/Perl"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 29/10/02 at 14:56
Regular
Posts: 787
I've got Apache running sweet now with PHP4 but I can't figure out how to use the CGI-BIN. Do I have to install Perl and then configure it with Apache?

Or is this double dutch?

Basically, all I would like to do is be able to script on my own machine to test my new web pages but I can't fathom out any of the stuff I find on the web.

Does the installation of a web server on your own machine really have to be so confusing? ;)

Thanks in advance for any help (looking at you Turbonutter!!).
Tue 29/10/02 at 21:41
Regular
"Kill all Hippies"
Posts: 437
Cheers lads. I shall take a look at the sites you suggested.
Tue 29/10/02 at 18:10
Regular
"Eff, you see, kay?"
Posts: 14,156
But you don't want PERL or the CGI-BIN at all. PHP is better than it all, and doesn't require you to set up said CGI-BIN.

If you REALLY want PERL then download ActivePerl (http://www.activestate.com/) and follow their instructions.
Tue 29/10/02 at 16:35
Regular
"Devil in disguise"
Posts: 3,151
2 ways to get perl running with apache. You can either install the perl module for apache or just download and install perl and at the top of your cgi script just place the path to the perl exe.
I really recommend just downloading and installing perl and just sticking the path at the top of your scripts though. Something like...

#!/Perl/bin/Perl.exe

(thats mine anyway as I've got perl installed to c:\Perl ).

cjh, if you don't want the hassle of trying to set things up, I really recommend you find yourself a ready to install package of what you want. Personally I use easyphp (from easyphp.org). Its apache, php and mysql ready configured. Really easy to set up, run the installer (its in french but its just the standard installer interface most progs have asking the regular questions), and afterwards run it, and it leaves you with an icon in the systray where you can stop/start apache/mysql as you like.
If that isn't to your taste, then theres many more, I'm sure google will yield you some on a search, and I guess others on here can provide you links. :)

-G
Tue 29/10/02 at 15:34
Regular
"Kill all Hippies"
Posts: 437
cjh, this is the article you want:

http://hotwired.lycos.com/webmonkey/ (SPACE) 00/44/index4a.html?tw=programming

I don't know about MySQL I'm afraid but I've installed Apache and PHP4 on two machines now using these instructions and they both ran fine.
Tue 29/10/02 at 15:29
Regular
"Kill all Hippies"
Posts: 437
cjh wrote:
> Mind if I ask how hard it was to install and Config apache with PHP4
> (and MySQL if you have it) in the first place?

It's resaonably easy. I followed the instructions on WebMonkey.

Just go to www.webmonkey.com and click on "Builders". Then choose PHP from the drop down menu and find the "PHP from the ground up" article. It was written a couple of years ago but is good and shows you what to do from the start.

Have a go with that and if you have any probs, post them here and I'll try to help.
Tue 29/10/02 at 15:14
Regular
"It goes so quickly"
Posts: 4,083
Mind if I ask how hard it was to install and Config apache with PHP4 (and MySQL if you have it) in the first place?
Tue 29/10/02 at 14:56
Regular
"Kill all Hippies"
Posts: 437
I've got Apache running sweet now with PHP4 but I can't figure out how to use the CGI-BIN. Do I have to install Perl and then configure it with Apache?

Or is this double dutch?

Basically, all I would like to do is be able to script on my own machine to test my new web pages but I can't fathom out any of the stuff I find on the web.

Does the installation of a web server on your own machine really have to be so confusing? ;)

Thanks in advance for any help (looking at you Turbonutter!!).

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.
Impressive control panel
I have to say that I'm impressed with the features available having logged on... Loads of info - excellent.
Phil

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.