Bug #18397: Unable to do PHP source view (PHPS)
| From: | robbat2 at orbis-terrarum dot net | Date: | Wed, 17 Jul 2002 20:33:25 +0000 |
| Subject: | Bug #18397: Unable to do PHP source view (PHPS) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14450@lists.php.net to get a copy of this message | ||
From: robbat2@orbis-terrarum.net
Operating system: Linux-2.4.18-rc1-ac6
PHP version: 4CVS-2002-07-17
PHP Bug Type: Apache2 related
Bug description: Unable to do PHP source view (PHPS)
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 bug report at http://bugs.php.net/?id=18397&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18397&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18397&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18397&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18397&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18397&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18397&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18397&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18397&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18397&r=globals