php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23841 include_path not overriden by a .htaccess file
Submitted: 2003-05-27 14:56 UTC Modified: 2003-05-27 17:02 UTC
From: dingoth at yahoo dot fr Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.1 OS: Windows 2000
Private report: No CVE-ID: None
 [2003-05-27 14:56 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-27 16:53 UTC] 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 17:02 UTC] sniper@php.net
Oops, forgot to say: See httpd.conf for 'AllowOverride' setting..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 05:01:31 2024 UTC