[H-GEN] Probs with Apache+PHP

Michael Anthon michael at anthon.net
Fri Aug 3 23:17:11 EDT 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

<snip>
> you might need to tell the server how to handle php files, I have pretty
> much the same setup with apache/php3 on Debian - try uncommenting/adding
> these two lines to srm.conf or httpd.conf depending on your version:
>
> AddType application/x-httpd-php3 .phtml php
> AddType application/x-httpd-source .phps
>
Yep, that should fix it... if you are seeing the source then apache is not
realising that the file is a php script that it should process... if you are
using php3 based scripts you should probably add .php3 files as well

Cheers
Michael


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list