Reply to Re: [PHP] Problems with new PHP install

Your name:

Reply:


Posted by "Chris Boget" on 09/29/05 17:28

>> And that is exactly what is getting output by the browser. The <br>
>> isn't even getting interpreted as a break...?

> Is there a line like this in your httpd.conf...?
> AddType application/x-httpd-php .php

[snip]

> Yeah, looks like you need the AddType entry. Apache doesn't know what
> *.php is, so it's just serving it up as plain text.

Step 15 of the php installation (as listed in the link in my OP) has you add
the
following to the httpd.conf:

AddType application/x-httpd-php .php .phtml

I also went ahead and added the following as well

AddType application/x-httpd-php-source .phps

The filename of my test script, though, is php_test.php and not
php_test.phps
so php should be parsing it..

thnx,
Chris

[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

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