Personal computing discussed

Moderators: renee, Flying Fox, Ryu Connor

 
dolemitecomputers
Minister of Gerbil Affairs
Topic Author
Posts: 2600
Joined: Wed Dec 26, 2001 7:00 pm
Location: Utah

Tue Mar 19, 2002 4:33 pm

I want to learn how to use PHP and have read a few articles about it. I noticed that to use it the computer that it is being installed with must have some type of server software installed such as IIS. Is there a way to practice the commands without having to setup a web server?
 
Speed
Gerbil Elite
Posts: 702
Joined: Thu Dec 27, 2001 7:00 pm
Location: Chicago, IL USA
Contact:

Tue Mar 19, 2002 4:54 pm

PHP does come in script form, like Perl. I can run it from the command line (interactively with the -a switch) on my Linux box. In Windows you'll need to add the PHP directory to your path.

I don't know how much good it will do for you though. Since PHP is concentrated on making HTML, I think it'll lose something by itself.
You are false data.
 
fink
Gerbil First Class
Posts: 188
Joined: Thu Dec 27, 2001 7:00 pm
Location: moon, dark side

Wed Mar 20, 2002 11:30 am

You can use apache as a webserver. Php then can be run as either a stand alone executable or as a module in apache. Apache is available in Win95,98,NT.

In order to learn PHP, you will need a webserver. But, the webserver does not have to be made public and just runs in the background on your computer.

I learned a lot of PHP by installing Apache and PHP4 on my laptop. Worked great! In fact, I still use it to trouble shoot scripts when I don't have FTP access (i.e. when on the road). Best of luck

Who is online

Users browsing this forum: No registered users and 37 guests
GZIP: On