Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14486 - mod_php-4.3.0-r2 doesn't configure php-source type
Summary: mod_php-4.3.0-r2 doesn't configure php-source type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 06:45 UTC by Jonathan Stewart
Modified: 2003-01-24 16:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Stewart 2003-01-24 06:45:19 UTC
When mod_php installs, it creates /etc/apache2/conf/modules.d/70_mod_php.conf. 
It correctly adds .php .php3 .php4 files as x-httpd-php.  However, it does not
add the type for x-httpd-php-source, .phps.

70_mod_php.conf should have a line like:

   AddType application/x-httpd-php-source .phps

added to it for .phps files to work.  I have added such a line to my config, and
.phps files work.

(.phps files allow developers to share the source of a php file with other
devels, by causing mod_php to outpu syntax-colored php code, instead of
interpreting it as it normally does)
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2003-01-24 16:32:07 UTC
Thanks for the tip... Committed.