#14388 [Fbk->Csd]: include_path in virtual breaks SSI
| From: | derick@php.net | Date: | Wed, 11 Sep 2002 19:14:48 +0000 |
| Subject: | #14388 [Fbk->Csd]: include_path in virtual breaks SSI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19187@lists.php.net to get a copy of this message | ||
ID: 14388
Updated by: derick@php.net
Reported By: yanek@korff.org
-Status: Feedback
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: FreeBSD 4.4-STABLE
PHP Version: 4.0.6
New Comment:
Closing then
Previous Comments:
------------------------------------------------------------------------
[2002-09-11 14:10:31] lars.slettjord@cc.uit.no
I have tested PHP 4.2.3 today, and the problem seems to be
solved. I am able to assign different include_paths on two
virtual servers, and SSI still works.
Thank you, this was a _really_ annoying bug.
------------------------------------------------------------------------
[2002-09-03 18:37:31] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
There was some xbithack related fix recently..please try the snapshot.
------------------------------------------------------------------------
[2002-05-02 07:47:34] venaas@php.net
This seems to be a real problem and not solved, so I'm
reopening
------------------------------------------------------------------------
[2002-05-02 04:23:04] lars.slettjord@cc.uit.no
Apache 1.3.23, php 4.1.2, HP-UX 10.20 and Linux (RedHat 7.1)
I have the same problem. I want to have both PHP and SSI
working on my server. I don't want to use PHP to generate SSI, I just
want to use both PHP and SSI separately
for different things.
I have tried various configurations, but when I use
'php_value include_path ".:/path/htdocs/php-mal"' anywhere
in my httpd.conf SSI just stops working. The server outputs
the SSI file unparsed. A typical configuration example
looks like this:
<Directory "/path/htdocs">
Options IncludesNOEXEC FollowSymLinks
XBitHack full
php_value include_path ".:/path/htdocs/php-mal"
</Directory>
I have tried to move php_value around, but this does
not help.
If I set the include_path in php.ini everything works
as expected and I can use both PHP and SSI. But I _really_
need to assign a different include_path for php for each
of my virtual web-servers, and I need both PHP and SSI.
I have verified this behaviour both on a HP-UX server with
several virtual hosts, and on a Linux server without
virtual hosts, both running Apache 1.3.23 and php 4.1.2.
The problem reported at
<URL:http://marc.theaimsgroup.com/?l=apache-httpd-users&m=101233512816689&w=2>
might be related.
I would be really grateful if someone could try to
reprocuce this error, and even more grateful for a
solution. But I have not even been able to find out if
this error is caused by php, mod_include or something
in the apache core.
What more could I do to help you solve this problem?
------------------------------------------------------------------------
[2002-01-03 18:01:12] lobbin@php.net
No feedback. Closing.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14388
--
Edit this bug report at http://bugs.php.net/?id=14388&edit=1