Bug #18397 Updated: Unable to do PHP source view (PHPS)
| From: | sniper@php.net | Date: | Wed, 17 Jul 2002 21:09:26 +0000 |
| Subject: | Bug #18397 Updated: Unable to do PHP source view (PHPS) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14453@lists.php.net to get a copy of this message | ||
ID: 18397
Updated by: sniper@php.net
Reported By: robbat2@orbis-terrarum.net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux-2.4.18-rc1-ac6
PHP Version: 4CVS-2002-07-17
New Comment:
I have used "AddType application/x-httpd-php .php" with
apache2 and it works just fine. I didn't try the source type
though. Have you tried those? Or just the new style?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-07-17 16:33:24] robbat2@orbis-terrarum.net
Back in the days of Apache1
All that was needed to get the syntax highlighted PHP source view was:
AddType application/x-httpd-php-source .phps
In the Apache configuration file.
This followed the same pattern as the line to make PHP run on PHP
files:
AddType application/x-httpd-php .php
Now with Apache2, the regular line has become:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
And I have looked high and low to get the functionality with Apache2
but it does not seem to exist. I have looked in the PHP source as well,
to no avail.
From looking at the source, could a new set of input/output filters
named PHPS to do the source highlighting?
I listed this as a bug, as the removal of the PHPS functionality is not
documented in any release notesor mailing list that I have found.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18397&edit=1