Bug #16248: "Inclusion error" with Apache 1.3.24 and PHP 4.1.2 (VirtualHost set)
| From: | jma at brandeis dot edu | Date: | Mon, 25 Mar 2002 05:04:17 +0000 |
| Subject: | Bug #16248: "Inclusion error" with Apache 1.3.24 and PHP 4.1.2 (VirtualHost set) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3255@lists.php.net to get a copy of this message | ||
From: jma@brandeis.edu
Operating system: Windows 2000
PHP version: 4.1.2
PHP Bug Type: Apache related
Bug description: "Inclusion error" with Apache 1.3.24 and PHP 4.1.2 (VirtualHost set)
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 bug report at http://bugs.php.net/?id=16248&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16248&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16248&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16248&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16248&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16248&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16248&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16248&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16248&r=submittedtwice