Received: (qmail 89801 invoked by uid 501); 4 Feb 2002 17:02:10 -0000 Message-Id: <20020204170210.89800.qmail@apache.org> Date: 4 Feb 2002 17:02:10 -0000 From: Richard Stones Reply-To: rick.stones@gehis.co.uk To: submit@bugz.apache.org Subject: httpd.conf-dist has lost the #AddType application/x-httpd-php .php line X-Send-Pr-Version: 3.110 >Number: 9711 >Category: config >Synopsis: httpd.conf-dist has lost the #AddType application/x-httpd-php .php line >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: support >Submitter-Id: apache >Arrival-Date: Mon Feb 04 09:10:00 PST 2002 >Closed-Date: Wed Feb 06 07:20:54 PST 2002 >Last-Modified: Wed Feb 06 07:20:54 PST 2002 >Originator: rick.stones@gehis.co.uk >Release: 1.3.23 >Organization: >Environment: IBM AIX 4.3.3 gcc 2.95.3 uname -a = AIX u607su61 3 4 0046225A4C00 with option --activate-module=src/modules/php4/libphp4.a >Description: Between Apache 1.3.22 and 1.3.23 the conf/httpd.conf-dist file has had the (commented out) AddType directives for PHP removed. This is most unhelpful to new users since they now have to know what to type, rather than simply uncomment the appropriate line. Many of the other changes to httpd.conf-dist look 'gratuitous'. diff from the 1.3.22 -> 1.3.23 starts: 768,778d767 < # For example, the PHP 3.x module (not part of the Apache distribution - see < # http://www.php.net) will typically use: < # < #AddType application/x-httpd-php3 .php3 < #AddType application/x-httpd-php3-source .phps < # < # And for PHP 4.x, use: < # < #AddType application/x-httpd-php .php < #AddType application/x-httpd-php-source .phps < [SNIP] >How-To-Repeat: Diff the httpd.conf-dist files between 1.3.22 and 1.3.23 >Fix: Re-instate the PHP4 lines (commented out) in the default configuration file: # For PHP 4.x, use: # #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Wed Feb 6 07:20:53 PST 2002 State-Changed-Why: To see the reason why this change was made, please take a look at: http://cvs.apache.org/viewcvs.cgi/apache-1.3/conf/httpd.conf-dist In the end, the PHP documentation must be responsible for this information. Thanks for using Apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]