Bug #54141 [Opn->Bgs]: Function symlink not working under windows server 2008

From: Date: Wed, 02 Mar 2011 22:34:54 +0000
Subject: Bug #54141 [Opn->Bgs]: Function symlink not working under windows server 2008
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159175@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54141&edit=1

 ID:                 54141
 Updated by:         pajoye@php.net
 Reported by:        shibby_crinquer at hotmail dot com
 Summary:            Function symlink not working under windows server
                     2008
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            IIS related
 Operating System:   Windows server 2008
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

Permissions issue, fix them and you will be able to create symbolic
links.


Previous Comments:
------------------------------------------------------------------------
[2011-03-02 22:05:53] shibby_crinquer at hotmail dot com

When I go in the command prompt and enter C:\php\> php index.php that
contain the 
symlink command, it work. But outside the command prompt (in a web page)
it don't 
work. I've looked about changing the local policies for the "Create
symbolic 
links" I've changed Administrators for everyone and this is not working.

------------------------------------------------------------------------
[2011-03-02 21:46:57] shibby_crinquer at hotmail dot com

Description:
------------
---
From manual page: http://www.php.net/function.symlink
---

I am under Windows server 2008
PHP 3.5.3 installed with FastCGI

I get this error when I can the function symlink.

Warning: symlink(): Cannot create symlink, error code(1314) in 
C:\inetpub\wwwroot\index.php on line 42

Test script:
---------------
symlink("C:\Temp\php.log","C:\Temp\symlink.log");

Expected result:
----------------
The symlink

Actual result:
--------------
No symlink.

Warning: symlink(): Cannot create symlink, error code(1314) in 
C:\inetpub\wwwroot\index.php on line 42


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54141&edit=1


Thread (5 messages)

« previous php.bugs (#159175) next »