Bug #16596 Updated: Rlative directory problems in XSL files (xslt extension with Sablotron)
| From: | ruudb at stress dot utwente dot nl | Date: | Mon, 15 Apr 2002 09:22:37 +0000 |
| Subject: | Bug #16596 Updated: Rlative directory problems in XSL files (xslt extension with Sablotron) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5004@lists.php.net to get a copy of this message | ||
ID: 16596
Updated by: ruudb@stress.utwente.nl
Reported By: ruudb@stress.utwente.nl
Status: Open
Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.0RC3
New Comment:
The same problem occurs while using the fopen() function with relative
paths
(also in RC4)
Previous Comments:
------------------------------------------------------------------------
[2002-04-14 04:32:52] derick@php.net
Fix version
------------------------------------------------------------------------
[2002-04-14 04:23:47] ruudb@stress.utwente.nl
When using PHP 4.2.0RC3 with Apache 2 filter, the current directory
seems to be set to / instead of the directory where the script resides
(however, system("pwd); returns the correct current directory).
This breaks an XML/XSL oriented website: entries in the XSL files like
"<xsl:include href="file://../../xsl/html/all.xsl" />" do not work
anymore.
The problem does _NOT_ appear with the RC3 when using the Apache 1.3
DSO or Static SAPI in conjunction with Apache 1.3.22, but only when
using the apache2filter. The versions used are Apache 2.0.35 and PHP
4.2.0 RC3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16596&edit=1