ID: 21095
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Won\'t fix
Bug Type: Filesystem function related
Operating System: Redhat 7.2
PHP Version: 4.3.0RC3
New Comment:
Because in thread safe mode PHP does not actually change directories
making a symlink on relative paths will often fail if any chdir() calls
are found inside the script. Therefor when ZTS is used symlinks are
always done on FULL paths.
Previous Comments:
------------------------------------------------------------------------
[2002-12-20 06:10:19] [EMAIL PROTECTED]
Yes I use php with thread safe enabled, I'm using Apache 2.0.43 with
worker MPM.
------------------------------------------------------------------------
[2002-12-19 18:43:09] [EMAIL PROTECTED]
Are you using PHP with thread safety enabled?
------------------------------------------------------------------------
[2002-12-19 06:11:44] [EMAIL PROTECTED]
if I use
<?
chdir("/home/foo_alfa");
symlinks("../foo", "bar");
?>
the symlink that is created in /home/foo_alfa is
bar -> /home/foo
ant not
bar -> ../foo
how expected
this is a problem because I use chroot jails for ftp and the file
became not accessible.
Andrea Busia
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21095&edit=1