PHP 4.0 Bug #6336 Updated: setting include_path breaks top index.php
| From: | Bug Database | Date: | Thu, 21 Sep 2000 14:22:53 +0000 |
| Subject: | PHP 4.0 Bug #6336 Updated: setting include_path breaks top index.php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33509@lists.php.net to get a copy of this message | ||
ID: 6336
Updated by: sniper
Reported By: peter.kocks@bayagte.com
Status: Open
Bug Type: Documentation problem
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-08-25 06:19:30] jmoore@php.net
try putting . in your include path.
include_path = ".:/usr/test/include"
Please give feedback
James
---------------------------------------------------------------------------
[2000-08-24 12:29:22] peter.kocks@bayagte.com
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6336