Re: Bug #3096: php3_* directives won't work anywhere in .htaccess or httpd.conf
| From: | Troels Arvin | Date: | Tue, 04 Jan 2000 05:51:34 +0000 |
| Subject: | Re: Bug #3096: php3_* directives won't work anywhere in .htaccess or httpd.conf | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14248@lists.php.net to get a copy of this message | ||
nytral@endirect.qc.ca 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