/    Sign up×
Community /Pin to ProfileBookmark

can some one plz explain to me how i can use my pc as a webserver to test perl, php , and other codes on my pc with out gettting online.

do i have to install linux on my pc and if i do can i run perl, php, and other codes on linux. ?

to post a comment
Full-stack Developer

9 Comments(s)

Copy linkTweet thisAlerts:
@RoddersNov 21.2002 — You can run ASP providing you setup Personal Web Server (PWS) or IIS (can't remember what that stands for) on your PC. They are both available from the Microsoft website and you need to find out which is suitable for your operating system. I use WinME and PWS, but if you can use IIS you should as PWS is a cut down version of the software.

There's other software available but I think you have to buy it.

Can't help with PHP & Perl, but I'm aware of a few free hosts for PHP which could be useful. I currently host my site at a free host using PHP and MySQL.
Copy linkTweet thisAlerts:
@cxemaNov 21.2002 — In my experience found Apache web server to be most reliable. You can certainly run PHP, ASP (use the Tomcat plugin), Perl etc. It is simple to set up around and offline environment whether is windows or unix.

Check http://www.apache.org as the documentation is extensive and very useful.
Copy linkTweet thisAlerts:
@Zach_ElfersNov 22.2002 — Thanx! I've been looking for something like this.
Copy linkTweet thisAlerts:
@khankakaauthorNov 25.2002 — thanks very much to every one who helped me.

it worked very fine wiht (Apache web server ) ...

? ? ? ?
Copy linkTweet thisAlerts:
@khankakaauthorNov 26.2002 — hi there i installed the apache program and when i try to run perl files in cgi-bin it gaves me this error massage and when i checked log file i got this .

Internal Server Error


[Tue Nov 26 13:29:19 2002] [error] [client 127.0.0.1] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/first.pl

can some one help and tell me why i cant run the cgi files in my cgi-bin directory..


? ? ?
Copy linkTweet thisAlerts:
@jpmoriartyNov 26.2002 — sorry cant help with the old perl problems but can tell you that IIS stands for Internet Information Services.

On the perl thing, it might be permissions settings? I know I have terrible problems with IIS and the permissions you need to set before you can even look at stuff, so you might find that you need to allow apache (or the directory from which you want to call the cgi-script) to have run permissions.

It's odd that you hear so much about the security weaknesses on IIS and MS in general, and yet I can't get the darn thing to run an ASP on my own machine! How secure is that!! Maybe perl is what I should be looking at too...
Copy linkTweet thisAlerts:
@Klyve1Nov 27.2002 — I use Apache for PHP development and Xitami (tiny file GREAT webserver) for anything else.

You may need to look in the httpd.conf and see if anything needs to be altered for it to run correctly. The file has all sorts of help within it but there's also plenty of help online.
Copy linkTweet thisAlerts:
@khankakaauthorNov 28.2002 — ok one last question?

do i need to install ( perl interpreter ) on my server in order to be able to run perl scripts.


my php files run ok and my server apache is working fine but i have problem wiht runing a script on my cgi-bin.

thanks for ur helps.

:rolleyes: :rolleyes: :rolleyes:
Copy linkTweet thisAlerts:
@jeffmottNov 28.2002 — [i]do i need to install ( perl interpreter ) on my server in order to be able to run perl scripts[/i]

Yes. If you running Windows you can get a copy at ActiveState.

http://www.activestate.com/Products/ActivePerl/
×

Success!

Help @khankaka spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...