|
Posted by rfhurley on 02/07/07 05:36
On Feb 6, 7:24 pm, "Benjamin" <musiccomposit...@gmail.com> wrote:
> On Feb 6, 3:32 pm, "rfhurley" <rfhur...@yahoo.com> wrote:> How do I run a .php program? (I'm starting with the "hello world"
> > script)
>
> Well, put your .php file in the document root of the webserver (eg. c:
> \Program Files\Apache Software Foundation\Apache2.2\htdocs) and typehttp://localhost/youfilename.phpinto a web browser.
Benjamin,
Thank you for responding. OK, I put the php doc in the correct folder,
where localhost is able to fid it, but it just reads out the code. Do
I have to configure the PHP in a certain way for the script to work?
btw, the script reads: "<?php phpinfo(); ?>" (quotation marks mine)
Navigation:
[Reply to this message]
|