#23841 [Bgs]: include_path not overriden by a .htaccess file
| From: | sniper@php.net | Date: | Tue, 27 May 2003 22:02:06 +0000 |
| Subject: | #23841 [Bgs]: include_path not overriden by a .htaccess file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40529@lists.php.net to get a copy of this message | ||
ID: 23841
Updated by: sniper@php.net
Reported By: dingoth at yahoo dot fr
Status: Bogus
Bug Type: Apache2 related
Operating System: Windows 2000
PHP Version: 4.3.1
New Comment:
Oops, forgot to say: See httpd.conf for 'AllowOverride' setting..
Previous Comments:
------------------------------------------------------------------------
[2003-05-27 16:53:31] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
------------------------------------------------------------------------
[2003-05-27 14:56:22] dingoth at yahoo dot fr
Hello !
My 'include_path' is not overriden in a .htaccess file. Here is my
config :
Apache 2.0.45
PHP 4.3.1 (apache module)
Windows 2000
I write this in my .htaccess file placed under D:\dev\www\htdocs (the
document_root path) :
<IfModule mod_php4.c>
php_value include_path "D:\dev\www\php-include;."
</IfModule>
and this in my D:\dev\www\htdocs\index.php file
<?php echo ini_get('include_path'); ?>
When I call that page in a browser, i get that incorrect value (it's
the default value : PHP isn't even installed there) :
.;c:\php4\pear
My .htaccess is read by apache, because nothing nothing goes wrong when
calling missing pages ...
Could you please see what's wrong ? Do I use wrong parameters ? If you
want further information about my configuration, don't hesitate to send
me an e-mail.
dingoth
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23841&edit=1