Bug #11864 Updated: php_value in .htaccess-files makes ordinary .html-files be parsed through php.
| From: | sander@php.net | Date: | Sun, 11 Nov 2001 11:12:45 +0000 |
| Subject: | Bug #11864 Updated: php_value in .htaccess-files makes ordinary .html-files be parsed through php. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70085@lists.php.net to get a copy of this message | ||
ID: 11864
Updated by: sander
Reported By: php@peope.net
Old Status: Feedback
Status: Closed
Bug Type: Apache related
Operating System: Linux tall 2.4.2 #4 Wed Feb 28 1
PHP Version: 4.0.5
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-10-21 00:11:06] sniper@php.net
I can not reproduce this with PHP 4.1.0RC1.
Does this happen with PHP 4.0.6 ?
Or latest snapshot from http://snaps.php.net/ ?
--Jani
------------------------------------------------------------------------
[2001-07-03 18:07:25] php@peope.net
I added this in a .htaccess-file.
php_value include_path .:/home/sites/www.senab.com/web/include
When looking at a .html-file it produces a php-error.
Parse error: parse error in /home/sites/senab/web/kunder/6210nokia4/produkter/k1g43p43.html on line
62
When I removed the line the file was treated as any other .html-file. No errors.
'./configure' '--prefix=/usr/local/php'
'--with-pgsql=/usr/local/pgsql' '--enable-trans-sid'
'--with-mm=/usr/local/mm' '--with-sockets' '--with-ftp'
'--enable-calendar' '--with-apxs=/usr/local/bin/apxs'
'--with-imap=/usr/local/c-client'
Best regards
Per-Olof Pettersson
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11864&edit=1