You are here: Re: ""APACHE2 / PHP5 / WinXPHome - No ERRORS - but PHP does not work"" « All PHP « IT news, forums, messages
Re: ""APACHE2 / PHP5 / WinXPHome - No ERRORS - but PHP does not work""

Posted by Polecat on 06/06/05 22:40

Yes.

These are the last 2 lines in my .conf file:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

=============================================

"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:7k1pe.9204$%21.5488@newsfe2-gui.ntli.net...
> Polecat said the following on 06/06/2005 20:09:
>> Here is what is in my test page that gives me a blank browser screen:
>>
>> <html>
>> <head>
>> <title>PHP Test</title>
>> </head>
>> <body>
>> <?php echo '<p>Hello World</p>'; ?>
>> <?php phpinfo(); ?>
>> <?php echo '<p>Good Bye World</p>'; ?>
>> </body>
>> </html>
>>
>>
>> This should generate output, right?
>>
>> OK,
>>
>> I did what you suggested, I point my browser to:
>> C:\Program Files\Apache Group\Apache2\htdocs\test.php
>> and in my browser window I get:
>>
>> <?php
>> phpinfo();
>> ?>
>>
>
> Did you put the following line in your httpd.conf:
>
> AddType application/x-httpd-php .php
>
> --
> Oli

 

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

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