imported_nautique

Senior member
Jul 14, 2004
346
0
0
Trying to start doing some php and I have downloaded PHP 5.1.2 zip package from php.net site.

What else do I need to do to be able to write scripts and display them in a browser?
Do I need to download Apache?
Any suggestions on an editor (freeware)?

Any help would be greatly appreciated.
Thanks in advance.

N
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Nothing wrong with apache though, that's what I'd go with on windows :) After all, that's primarly what php is aimed at.

After installing apache, run the php installer and I believe it should find apache and confirm that you want to install php there. You might need to tell it where apache is and it might give you some extra things to do, like editing httpd.conf. I haven't done it in a long time though (proper package management software makes you soft :p).

Assuming you are using apache, you would then put your php files within apaches DocRoot (htdocs folder, I think). Probably access your files via http://localhost/ from there.

I couldn't recommend a real php editor, but textpad has always been fine for me in the past :)
 
Jun 4, 2005
19,723
1
0
Just get Apache2Triad. It comes with PHP, MySQL, Perl, etc. It's best for a beginner and all you do is follow the steps in the installer and all is good.
 

fs5

Lifer
Jun 10, 2000
11,774
1
0
Originally posted by: LoKe
Just get Apache2Triad. It comes with PHP, MySQL, Perl, etc. It's best for a beginner and all you do is follow the steps in the installer and all is good.
or apachefriends.org and get xampplite, either will work. apache2triad however comes with A LOT.
 
Jun 4, 2005
19,723
1
0
Originally posted by: fs5
Originally posted by: LoKe
Just get Apache2Triad. It comes with PHP, MySQL, Perl, etc. It's best for a beginner and all you do is follow the steps in the installer and all is good.
or apachefriends.org and get xampplite, either will work. apache2triad however comes with A LOT.

I've never tried your suggestion; but I've never had to install anything else for Apache with the package I listed. So, I think I'll stick with it. :)