From: [EMAIL PROTECTED] Operating system: Linux 2.4.18 PHP version: 4.1.2 PHP Bug Type: Apache2 related Bug description: Rlative directory problems in XSL files (xslt extension with Sablotron)
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 bug report at http://bugs.php.net/?id=16596&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16596&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16596&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16596&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16596&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16596&r=support Expected behavior: http://bugs.php.net/fix.php?id=16596&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16596&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16596&r=submittedtwice