#18696 [NEW]: Only the first include of php file from shtml works
| From: | newsp at jippii dot fi | Date: | Fri, 02 Aug 2002 06:37:19 +0000 |
| Subject: | #18696 [NEW]: Only the first include of php file from shtml works | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15786@lists.php.net to get a copy of this message | ||
From: newsp@jippii.fi
Operating system: Solaris 8
PHP version: 4.2.2
PHP Bug Type: Apache2 related
Bug description: Only the first include of php file from shtml works
I have this wierd problem: Only the first include of php file from shtml
works ok, following ones are not parsed at all. Is this a bug of apache2
support or something I have misconfigured?
For example if I have following files:
-- test.shtml --
<!--#include virtual="test.php"-->
<!--#include virtual="test.php"-->
-- test.shtml --
and
-- test.php --
<? print "a"; ?>
-- test.php --
the output of test.shtml is:
a<? print "a"; ?>
I have tried following configurations:
--
AddOutputFilter INCLUDES shtml
AddType application/x-httpd-php .php
--
and
--
AddOutputFilter INCLUDES;PHP shtml
--
and
--
AddType application/x-httpd-php .php
AddHandler server-parsed .shtml
--
And the result is always the same.
Is this a bug or feature?
--
Edit bug report at http://bugs.php.net/?id=18696&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18696&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18696&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18696&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18696&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18696&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18696&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18696&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18696&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18696&r=globals