You are here: Re: loaded latest edition of Apache http server on XP, and installed php on that server... « PHP Programming Language « IT news, forums, messages
Re: loaded latest edition of Apache http server on XP, and installed php on that server...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация