You need to edit the mod_php4.conf and edit the following section
<FilesMatch ".*\.(php4|php3|php|phps|html|htm)$">
ForceType application/x-httpd-php
</FilesMatch>
this will allow PHP scripts to be parsed in phps, html and htm
hope this helps
-----Original Message-----
From: Anders Pettersson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 6:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Showing source code with .phps extension
On my Linux RH 6.2 computer - when working with Apache, mySQL and PHP -
there is no problems showing the source code to my code developing friends.
If I
rename the php-file to phps it works just well.
BUT, when doing the very same thing on my W98 or W2k machines, the source
code will not show. The configuration is the same in httpd.conf and I've
checked it out.
Is this problem known? Does not the W32 platform support phps?
Anders Pettersson
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]