From:             celkaprog at gmail dot com
Operating system: Windows 7
PHP version:      5.3.0
PHP Bug Type:     Unknown/Other Function
Bug description:  symlink under windows 7 problem

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 bug report at http://bugs.php.net/?id=48975&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=48975&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=48975&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=48975&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=48975&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=48975&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48975&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48975&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48975&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48975&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48975&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48975&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48975&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48975&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48975&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48975&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48975&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48975&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48975&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48975&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48975&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48975&r=mysqlcfg

Reply via email to