Bug #16248 Updated: "Inclusion error" with Apache 1.3.24 and PHP 4.1.2 (VirtualHost set)
| From: | k.schroeder@php.net | Date: | Sun, 02 Jun 2002 21:41:26 +0000 |
| Subject: | Bug #16248 Updated: "Inclusion error" with Apache 1.3.24 and PHP 4.1.2 (VirtualHost set) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9224@lists.php.net to get a copy of this message | ||
ID: 16248
Updated by: k.schroeder@php.net
Reported By: jma@brandeis.edu
-Status: Open
+Status: Analyzed
Bug Type: Apache related
Operating System: Windows 2000
PHP Version: 4.1.2
New Comment:
You have to change include_path in php.ini. Add "." then I should work.
"c:\php4\pear" is automatic added.
Regards, Kai
Previous Comments:
------------------------------------------------------------------------
[2002-05-23 15:47:41] st@finantech.com
Exactly the same problem!
I was upgrading my web server and decided to try
the new php 4.2.1. It was impossible!. My os is linux
so i think it's a php issue
------------------------------------------------------------------------
[2002-03-26 10:40:51] shouvik.hyd@cxknetworks.com
I struggled on the problem for 8 hours, tried whatever any site having
the least to do with PHP had to say, but no success...
also it shows that php4ts.dll contains the text 'c:\php4\pear'. But do
not try to hack into the DLL. I tried. Does not help.
go back to 4.0.6
------------------------------------------------------------------------
[2002-03-25 00:04:15] jma@brandeis.edu
Well, the closest I've come to my bug is 14563, but I have some
evidence that it's different.
I was running Apache with PHP 4.0.6 and everything worked fine. I saw
the 4.1.2 fix was up, so I installed the new version (SAPI, from the
ZIP) over the old version.
I would get the error message:
Failed opening '/program files/apache group/apache/htdocs/test.php' for
inclusion (include_path='c:\php4\pear') in Unknown on line 0
So, after messing with it for a couple hours, trying to debug my
install (maybe I specified something incorrectly), I decided to
reinstall everything -- Apache, PHP, and MySQL.
Upon reinstallation, before doing anything funky, I tried running a
simple php page containing only phpinfo() -- it worked!
At this point, I added one VirtualHost to Apache's httpd.conf (and set
a couple NameVirtualHost values). Now, PHP stopped working, and I got
that inclusion error message again.
With a VirtualHost set, no changing of php.ini or httpd.conf would get
PHP to work.
So, I reverted back to PHP 4.0.6 -- everything works fine...
VirtualHosts and all.
I'm happy to provide more info if it would help.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16248&edit=1