You are here: Re: [PHP] Hi! « PHP « IT news, forums, messages
Re: [PHP] Hi!

Posted by John Nichel on 12/20/05 21:15

Nanu Kalmanovitz wrote:
> Hi!
>
> Using a Win 2000 WS (work station), I'm trying to write the first PHP
> page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php.
>
> The server is a Netware (Novell) 6.5 running Apache, PHP & MySQL all 3
> on same server but different volumes.
>
>
> I created the file named hello.php by copying and pasting the following
> text to notepad and put it in my web server root directory I:\HTDocs:
>
> Example 2-1. Our first PHP script: hello.php<html>:
> <head>
> <title>PHP Test</title>
> </head>
> <body>
> <?php echo '<p>Hello World</p>'; ?>
> </body>
> </html>
>
>
> When I am accessing the site with IE browser at the
> http://www.kalmanovitz.co.il/hello.php URL address I can see a blank
> page.
> The other pages are shown correctly.
>
> Any Idea how to fix it and continue with the tutorial?

You need to tell Apache how to handle PHP pages. In your httpd.conf add
this line :

AddType application/x-httpd-php .php

See here in the manual for further explanation :

http://us2.php.net/manual/en/install.windows.apache1.php

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@dotcomholdingsofbuffalo.com

 

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

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