Edit report at http://bugs.php.net/bug.php?id=54141&edit=1
ID: 54141
Comment by: shibby_crinquer at hotmail dot com
Reported by: shibby_crinquer at hotmail dot com
Summary: Function symlink not working under windows server
2008
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:
I've changed the default IUSR user for anonymous authentication to a
local user
account. By the way, I've added the same user in the local policies for
creating
symbolic links. I don't think this is the good way (for security
reason), but it
work.
Previous Comments:
------------------------------------------------------------------------
[2011-03-03 14:35:01] shibby_crinquer at hotmail dot com
Do you know what permissions to change? I've disable the UAC and I've
gaven the
permission to everyone to create symbolic links (in the local policies).
Thank
you.
------------------------------------------------------------------------
[2011-03-02 23:34:53] [email protected]
Permissions issue, fix them and you will be able to create symbolic
links.
------------------------------------------------------------------------
[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