Perl And Php

liunx

Guest
I'd like to know if it is possible to install Perl and PHP on my local machine (home computer). I want to work through a couple of tutorial books I've purchased, and it would be much easier to do this if they were both installed locally rather than having to do it via FTP or using cPanel's editor program.<!--content-->
The short answer is 'yes' and if I was a bit more of a smartypants I'd just answer like that *winks*<br /><br />What operating system are you running? =)<!--content-->
I have two machines. One is running Win2K and the other WinXP...<br /><br />P.S. -- Glad to know that you're not that much of a smarty pants (or should I say smart arsed?) that you won't just say "yes" and leave it at that!<!--content-->
*winks* I'm just toooooo nice, you see?<br /><br />I've never done this. I believe you'll need to install apache (web server) as well - all in all it can be a real pain in the well, neck. =)<br /><br />My best suggestion is to either wait for someone here with more experience or google install php on windows and install perl on windows - lots of results for both with instructions and a lot of research ahead of you to decide on the best implementations. =)<br /><br />Sorry that I'm not more help =/<!--content-->
You will have to use a webserver. Apache is the best choice.<br />Installing PHP is not that difficult.<br />Installing PErl I don't have experiences with.<br />When you go to the php and perl site you'll probably find windows binaries install versions. Installing is quite easy.<br />You will probably need more time to configure it all.<br /><br />BUT. I was (still am to some extent) a dodo with installing this on my local server and I managed.. So.. there is still hope <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
woesoft, you type really well for an extinct bird. =)<br /><br />*nods* Apache is the best, by far, and is what TCH is using so that will be easiest to use to emulate the environment. Of course - we're on Linux and you're on windows so there are many differences, but every little bit counts? =)<!--content-->
Lisa,<br /><br />You got me on the extinct bird... As a dutchman i don't quite understand what that means. (Or maybe being a dutchman is what you mean?!?!)<br /><br />Nowadays most install guides also offer installation notes for windows. But it's quite a hassle finding out if you have to use \ or / or ./ etc<br /><br />Apache is indeed the best and not so difficult to install. Php is quite easy and perl (I guess i have it installed to is manageable..)<br /><br />grtx,<br />Richard<!--content-->
woe - I've woe.. erm,woefully sidetracked this thread. *shakes head* The dodo was a bird that is now extinct. Dutchmen are not extinct so.... I don't know what my point is. =)<br /><br />Perl is probably harder to install, after all, perl scripts are harder to install... why should that change? But there are many different p ossibilities for which build and package to use. It gets pretty confusing and in the end I decided I personally didn't want to deal with it. Now that I'm on a Mac, though, it's all a bit easier... <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><!--content-->
Lisa,<br /><br />*banging head against the wall*<br />Forgot abt using dodo.. Now that I read it again I fully understand. Don't know why I didn't earlier. I know the meaning of extinct and I know the meaning of bird <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br />Ah well... Must be the age...<br />I agree on perl and never used it so far.. I prefer php myself..<br /><br />grtx,<br />Richard<!--content-->
Kasey, as Lisa and Richard already said, you'll need to install a webserver to do what you want - assuming you want to make PERL and PHP scripts to run in webpages, which, from what you said, is the case (I say this because both PERL and PHP can be run without a webserver).<br /><br />Well, anyway, get Apache, it's the best and it's simple to install. Get the 2.0.x version, it's much better than 1.3.x, especially since you're using Windows.<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://http.apache.org<!--colorc--></span><!--/colorc--><br /><br />As for PHP, get the ZIP package, not the installer, because the ZIP package comes with a bunch of extensions compiled in and a lot of stuff the installer doesn't bring. You can download it from <!--coloro:blue--><span style="color:blue"><!--/coloro-->http://php.net<!--colorc--></span><!--/colorc--> and read the instructions on how to install it here <!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.php.net/manual/en/installation.php<!--colorc--></span><!--/colorc--> - read the "Installation on Windows systems" and if you feel like it, the "Servers-Apache 2.0" chapters.<br /><br />Finally, for PERL, get the binary from <!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.activestate.com/Products/ActivePerl/<!--colorc--></span><!--/colorc--><br />Since I never developed with PERL on my Windows instalation, I have no idea of how to install it with Apache and I didn't find any good information on ActiveState's site. The only thing I found was this Instalation Guide:<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://aspn.activestate.com/ASPN/docs/ActivePerl/install.html<!--colorc--></span><!--/colorc--><br />But through Google I found these nice instructions:<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.ricocheting.com/server/cgi.html<!--colorc--></span><!--/colorc--><br /><br />Well, that's it. I hope this helps. If you need anything more, you know where to post. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
If you're a beginner to this and just want a package of all the most frequently used stuff check out Apache2Triad <!--coloro:blue--><span style="color:blue"><!--/coloro-->http://apache2triad.sourceforge.net/<!--colorc--></span><!--/colorc--> This is a small package that contains Apache, Perl, PHP, mySQL, phpmyadmin and loads of other things ! Much easier to use and configure than separately downloading everything !<!--content-->
I've used Perl Builder on a Windows machine. It's not free but it's very good. <!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.solutionsoft.com/perl.htm<!--colorc--></span><!--/colorc--><!--content-->
Wow. Lots of commentary going on here!<br /><br />Thanks for the helpful input. This is my first foray into anything like this, so I'll be taking it slowly, just one step at a time.<br /><br />I do have a rather stupid/noob question *blushing sheepishly*. Can I set up an existing computer as a webserver? Or will I need to purchase a new machine to do that?<br /><br />For example, I have two computers at home. One running Win2K and the other WinXP. Can I arbitrarily assign my Win2K machine as my webserver, install Apache, and <em>still</em> use it as a regular computer?<br /><br />You know, I worked for 1.5 years in the IT department at Unisys. But I was only a student intern and was never involved in server management or administration, so from an IT standpoint, the job was useless to me ... (not that I was working there to gain an IT education mind you ... I'm just saying that even though I worked in the IT department, I didn't learn anything about IT.)<!--content-->
Yes you will still be able to use the machine you run the web server on. It runs as a service in the background.<!--content-->
As Bruce said, you can use the computer as a regular computer, there's no need for a dedicated machine <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />A webserver is just a computer. Depending on its role, it may need to be a more powerfull computer but that's just it. It's still a computer, you can still play games with it, you can still use office applications with it and you can still do whatever you do with your "regular" computer <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />The big difference between a "regular" computer and a webserver is that the webserver needs to have... well, a webserver installed and running <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br />You see, the real <i>webserver</i> is the software, not the hardware, which is something most people don't realize. So just install the darn thing and go play with it already <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /><br /><br />Seriously, if you need any more help, just ask <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top