PHP 4.0 Bug #6336: setting include_path breaks top index.php
| From: | peter dot kocks at bayagte dot com | Date: | Thu, 24 Aug 2000 16:29:22 +0000 |
| Subject: | PHP 4.0 Bug #6336: setting include_path breaks top index.php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30529@lists.php.net to get a copy of this message | ||
From: peter.kocks@bayagte.com
Operating system: Solaris 2.7
PHP version: 4.0 Latest CVS (24/08/2000)
PHP Bug Type: Scripting Engine problem
Bug description: setting include_path breaks top index.php
php version php4.0.2RC1
solaris 7
Create this simplest of php scripts called "index.php" in your Document Root.
<?
echo "hello world<br>";
?>
in php.ini change include_path to whatever
include_path = "/usr/test/include"
Point your browser to the index.php. I get the warning message:
Warning: Failed opening 'index.php' for inclusion
(include_path='/usr/test/include') in Unknown on line 0
This is new behaviour that will cause problems when php is released.
Details on my build:
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/var/baygate/www/conf \
--enable-track-vars \
--enable-trans-sid \
--with-ndbm \
--with-informix=/opt/informix/prod \
--with-system-regex \
--enable-sysvsem \
--enable-sysvshm
APACHE = apache_1.3.12
PHP = php-4.0.2RC1
MODSSL = mod_ssl-2.6.6-1.3.12
Solaris 2.7