|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-12-09 00:54 UTC] yanek at korff dot org
Using the following in VirtualHost in httpd.conf (apache 1.3.22): php_value include_path ".:/path/to/include/dir" breaks SSI for that virtual ... View->Source for pages show include directives instead of parsing them. Using XBitHack on. php recompiled today: mod_php4-4.0.6_5 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
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?