|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
test perl out on windows 98?
Hi
Is there anyway to test perl scripts out on my windows 98 pc. Thanks. |
|
#2
|
|||
|
|||
|
don't know much, but i do know this
You can download and install Apache for Windows. You can then test out your scripts on your computer.
|
|
#3
|
|||
|
|||
|
Hi
OK thanks will go and visit apache's web site then. Would this have to go with personal web server - already got that installed. Thanks. |
|
#4
|
|||
|
|||
|
dunno about the personal stuff
Don't know anything about personal web server. But whatever it is, you don't need it.
Download Apache for Windows and install it. I think the latest version that works on non-2000 Windows is 1.3.20 or something. Once you've got it installed, open up the httpd.conf file and change the ServerName value to 127.0.0.1. As you scroll through the config file you'll see what I'm talking about. Once you've done that, launch Apache, open up a browser and enter http://127.0.0.1/whatever_site_you_choose to launch your site and test your scripts. I think I've left a few steps out, but this should get the ball rolling at least. |
|
#5
|
|||
|
|||
|
Hi
I'm downloading file apache_1.3.20.zip from http://httpd.apache.org/dist/httpd/ - is that the right one. Thanks for your help, i'll let you know if i get any problems installing it. Thanks. |
|
#6
|
|||
|
|||
|
Hi
I've unzipped the apache file and it says to install it run the Apache .msi file you downloaded above and i could not see that so i've browsed the site and found a something on there so just trying that out. Thanks. |
|
#7
|
|||
|
|||
|
Hi
How do i run the .msi file as when i click on it, it brings up a box asking which program i would like to use and cant see any which would work for this - got any ideas? Thanks. |
|
#8
|
|||
|
|||
|
You need to download the .msi installer. Read this page
http://httpd.apache.org/dist/httpd/binaries/win32/ There are details on what to do. ![]()
__________________
Doc MacGurgles Babylonian Lizard Tooth Oil worked for me |
|
#9
|
|||
|
|||
|
Hi
I've already got the .msi file. I've looked over that page and when i type this: MSIEXEC /i C:\WINDOWS\Desktop\apache.msi into Start > Run, it says: Can not find the file 'MSIEXEC' (or one of its components). Make sure the path and filename are correct and all required libraries are available. So anyone got any ideas what i'm doing wrong? Thanks. |
|
#10
|
|||
|
|||
|
Have you downloaded the file instmsi.exe from Microsoft. This is the program you need to instal in order to use your msi.
click the link on that page marked: Redistributable v1.20 for Windows 95, 98 and ME via ftp to get this and instal MSIEXEC. Win 98 does can not handle .msi - you need to update it. |
|
#11
|
|||
|
|||
|
Hi
No, i never had that file so i'm downloading it now - got 97% so should be able to sort apache out soon. If it dont work i'll post again. Thanks. |
|
#12
|
|||
|
|||
|
Hi
OK i've got apache installed now thanks for helping me. Do i need to do anything else to set it up. Another thing is how would i run a script now. Thanks for your help guys! |
|
#13
|
|||
|
|||
|
Well, once you've configured your httpd.conf file for a local host (127.0.0.1 for ServerName), just launch your browser and type in http://127.0.0.1/cgi-bin/your_script.pl and it should run. printenv.pl is a script that should come in your cgi-bin. Try running that one first 'cuz you know it works.
|
|
#14
|
|||
|
|||
|
oh, and make sure apache is running
Make sure you launch Apache before you launch your browser and run your script.
|
|
#15
|
|||
|
|||
|
Hi
Getting somewhere now...when i got to http://127.0.0.1/cgi-bin/printenv.pl it brings up a internal error. Could this be something like the path to perl is wrong? At the moment it says #!/usr/local/bin/perl It says this in the error log: [Sun Jul 15 10:50:10 2001] [error] [client 127.0.0.1] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/printenv.pl Thanks. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > test perl out on windows 98? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|