PDA

View Full Version : Running Perl under Win


heath
11-07-1999, 09:19 PM
Trying to install perl under windows and apache (not Active State) -

was curious what I had to change to the /conf/httpd.conf file?

Here's what I've done.[nbsp][nbsp]Added:

ScriptAlias /cgi-bin/ "c:/big/dom/xthedailyspread/cgi-bin/"
[nbsp]<Directory &quot;c:/big/dom/xthedailyspread/cgi-bin/&quot;>
[nbsp][nbsp][nbsp][nbsp]AllowOverride None
[nbsp][nbsp][nbsp][nbsp]Options None
</Directory>

Error logs say it can't find the program - I guess its talking about perl - I guess I need to tell apache where perl is.

Using every possible combination of the shebang line in the perl script doesn't work - but perl runs fine from the command line

What directory does the shebang line take as its root??[nbsp][nbsp]I assumed the system root??


the document root is C:/big/dom/xthedailyspread/www and
the cgi bin is C:/big/dom/xthedailyspread/cgi-bin

Trying to mirror the futurequest platform perfectly so integrating from local to FQ is seemless.[nbsp][nbsp]

Obviously I'm missing something easy here.

Thanks

Heath

heath
11-07-1999, 09:33 PM
never mind - I didn't realize the last &quot;/perl&quot; in the shebang line was actually pointing to the perl executable itself minus the .exe part.

Okay - I now have a painstakingly done step by step tutorial on getting perl, mysql and php running locally on win98 - what should I do with it?[nbsp][nbsp]

Would aota.net be interested in posting it?[nbsp][nbsp]I know someone said they were going to do a tutorial - but -- I documented every step I took as I did it - even my grandmother could follow these instructions.

Lemme know.

Thanks

Heath

brainiac-d
11-07-1999, 09:57 PM
How did you get MySQL to run under Windows. Oh help me please. I've been looking for it everywhere on the net. I've only gotten PHP to run w/ Xitami.

Stephen
11-08-1999, 03:48 AM
Only gotten PHP to run with Xitami? Well, that's a reasonable feat in itself. I never managed it. I think step by step instructions are a good idea, and that if there's space on aota, then tutorials on these subjects will not go unappreciated.

Justin
11-08-1999, 03:20 PM
I've been working on a step by step for PHP/Apache/Perl, but it will take a little while (other projects right now). I am planning to have screenshots, links to download the latest versions of Apache etc, and more than one configuration... I am actually tempted to create a self installing EXE that sets up the three automatically, with options on where to install what etc...

The MySQL team is looking for someone to create a Windows program to manage starting and stopping MySQL, and that gave me the idea to work on a manager for the whole system. It would make starting/stopping/configuring Apache, PHP, Perl, and MySQL simple with some sort of control panel interface.

But that project is a ways off - it's only in my mind at the moment, no work has been done yet - and again, I have other projects (like the CNC) on my plate right now. I will hopefully start on a tutorial before I try to make a full manager program (which BTW will not apply to NT - only 9x).

Oh, and you would not believe how much faster the same software is under Linux - both systems are 233 MHz, and the Win box has 128 megs of ram while Linux is running 64 megs - the Linux system pulls up PHP/MySQL pages instantly, where Windows lags... it's amazing :)[nbsp][nbsp]But I also know that not everyone has a spare box (took me 10 months to finally get a Linux system running), and having a Windows version of the software is invaluable :)

------------------
Justin Nelson
FutureQuest Support

heath
11-08-1999, 04:02 PM
Gee...

For anyone that wants to go slumming:

http://www.thedailyspread.com/tech/tut.htm