Reply to Re: loaded latest edition of Apache http server on XP, and installed php on that server...

Your name:

Reply:


Posted by Steve on 02/07/07 09:08

On Wed, 07 Feb 2007 20:29:51 +1300, Justin wrote:

> rfhurley wrote:
>> 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)
>>
>
>
> sounds like you haven't told apache what to do with .php files.
>
> Re read the installation details for php and what you need to put in the
> hpptd.conf file to get Apache processing php files.
>
> Regards
>
> Justin

You need to add php support to apache as well... pretty simple to do, but
specific to OS. The manual is pretty helpful at this point.

[Back to original 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

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