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:[EMAIL PROTECTED]]
Sent: quinta-feira, 15 de Março de 2001 18:35
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]

Reply via email to