RE: [PHP-WIN] Showing source code with .phps extension

From: Date: Thu, 15 Mar 2001 18:51:58 +0000
Subject: RE: [PHP-WIN] Showing source code with .phps extension
Groups: php.windows 
Request: Send a blank email to php-windows+get-6084@lists.php.net to get a copy of this message
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:anders.pettersson@hik.se] Sent: Thursday, March 15, 2001 6:35 PM To: php-windows@lists.php.net 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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#6084) next »