Bug #10639 Updated: include() & require()
| From: | sb at bpm dot ch | Date: | Thu, 10 May 2001 17:42:43 +0000 |
| Subject: | Bug #10639 Updated: include() & require() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54770@lists.php.net to get a copy of this message | ||
ID: 10639
User Update by: sb@bpm.ch
Old-Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Operating system: AIX 4.3.3
PHP Version: 4.0.4pl1
Description: include() & require()
Without the test.inc file i've got the following lines:
this is a test
Warning: Failed opening 'test.inc' for inclusion
(include_path='.:/opt/freeware/lib/php') in /usr/opt/freeware/apache/share/htdocs/test.php
on line 4
With the test.inc file i've got only the IE error, that this page is not available.
-- Stephan
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 06:00:45] sniper@php.net
Try this script:
<?php
echo "this is a test";
error_reporting(E_ALL);
include("test.inc");
?>
Any errors reported? In error_log maybe?
--Jani
---------------------------------------------------------------------------
[2001-05-10 05:53:49] sb@bpm.ch
Yes.
-- Stephan
---------------------------------------------------------------------------
[2001-05-10 05:44:48] sniper@php.net
So does that same script work if you comment out the
include part? And add some echo "sometext" there?
--Jani
---------------------------------------------------------------------------
[2001-05-10 05:37:37] sb@bpm.ch
There is no php-error visible. My browser (IE 5.5) says that the page can not be found.
---------------------------------------------------------------------------
[2001-05-10 05:34:17] sb@bpm.ch
The binaries from IBM does not contain a php.ini file. In phpinfo() there is no value set to E_ALL.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=10639