Re: [PHP-DEV] Bug #3096: php3_* directives won't work anywhere in .htaccess or httpd.conf From: Troels Arvin (arvin <email protected>)
Date: 01/04/00

nytral <email protected> wrote:
> php3_* doesn't work in config. files (.htaccess or httpd.conf), even if listed
> into httpd -l
> exactly the same config (apache 1.3.9) with 3.0.12 is ok

I'm seeing sort of the same thing here (glibc 2.0.7 based i386-Linux
system):

In a .php file, I have a lines like these:

<!-- This file inlucdes codes from an other directory -->
<p>This is 'includer'</p>
<?php include("test/included.inc"); ?

"included.inc" is in a subdirectory ("test"):

The content of included.inc is:
<?php print "\n<br>!Hello";>

When I run the code, 5 out of 15 times, I get the error "Fatal error:
Failed opening required 'ngine' in
/home/troels/public_html/pathtest/index.php on line 5"

Also, I just saw an error message like this:
Fatal error: Call to unsupported or undefined function eregi() in
config/images.inc.php3 on line 4

I these cases, re-starting Apache/PHP seems to stop the situation for a
little while.

We didn't see the situation with include-troubles with PHP 3.0.12.
And I can't reproduce the errors on other PHP servers (even though these
use the same PHP version): I have both glibc 2.0.7 and glibc 2.1.12
bases systems running PHP f3.0.13 without any include problems.

I suspect that something has come up with relation to memory management
after Rasmus patched PHP to mod_php3.c on Sep 18 1999:
http://cvs.php.net/cvsweb.cgi/mod_php3.c.diff?r1=1.92&r2=1.93
 

-- 
Greetings from Troels Arvin, Copenhagen, Denmark

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>