RE: [PHP-WIN] Showing source code with .phps extension
| From: | Fernando Madruga | Date: | Fri, 16 Mar 2001 11:07:01 +0000 |
| Subject: | RE: [PHP-WIN] Showing source code with .phps extension | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6093@lists.php.net to get a copy of this message | ||
I use Apache 1.3.14 + PHP 4.0.4 on Windows 98 SE and it works perfectly.
The lines I have on my apache config file inside <IfModule mod_mime.c>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
When I point my browser at a .phps file on my server, it shows the proper
color coded source.
HTH,
Fernando Madruga
-----Original Message-----
From: Anders Pettersson [mailto:anders.pettersson@hik.se]
Sent: quinta-feira, 15 de Março de 2001 18:35
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