#48975 [Opn]: symlink under windows 7 problem

From: Date: Sun, 19 Jul 2009 07:45:31 +0000
Subject: #48975 [Opn]: symlink under windows 7 problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139914@lists.php.net to get a copy of this message
ID: 48975 User updated by: celkaprog at gmail dot com Reported By: celkaprog at gmail dot com Status: Open Bug Type: Unknown/Other Function Operating System: Windows 7 PHP Version: 5.3.0 New Comment: Sorry for the double post but one important thing is written wrong in my letter.(if (is_readable("../../foo/bar/2.jpg")) echo "readable";) (/foo/bar/1.jpg is the correct and i use it in my code not 2.jpg) Previous Comments: ------------------------------------------------------------------------ [2009-07-19 07:43:14] celkaprog at gmail dot com Description: ------------ Hi I am using PHP 5.3.1.0 and Windows 7 Symlink doesn't work for me: Warning: symlink() [function.symlink]: Could not fetch file information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148 (5.3.0 This function is now available on Windows platforms (Vista, Server 2008 or greater).) What are the error codes? Reproduce code: --------------- --- From manual page: function.symlink --- if (is_readable("../../foo/bar/1.jpg")) echo "readable"; symlink("../../foo/bar/2.jpg","../../foo/bar/1.jpg"); ../../foo/bar/1.jpg is exists and the path is correct. Expected result: ---------------- readable 2.jpg what is symlink for 1.jpg. Actual result: -------------- readable Warning: symlink() [function.symlink]: Could not fetch file information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148 and no 2.jpg ------------------------------------------------------------------------ [2009-07-19 07:41:40] celkaprog at gmail dot com Description: ------------ Hi I am using PHP 5.3.1.0 and Windows 7 Symlink doesn't work for me: Warning: symlink() [function.symlink]: Could not fetch file information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148 (5.3.0 This function is now available on Windows platforms (Vista, Server 2008 or greater).) What are the error codes? Reproduce code: --------------- --- From manual page: function.symlink --- if (is_readable("../../foo/bar/2.jpg")) echo "readable"; symlink("../../foo/bar/2.jpg","../../foo/bar/1.jpg"); ../../foo/bar/1.jpg is exists and the path is correct. Expected result: ---------------- readable 2.jpg what is symlink for 1.jpg. Actual result: -------------- readable Warning: symlink() [function.symlink]: Could not fetch file information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148 and no 2.jpg ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48975&edit=1

« previous php.bugs (#139914) next »