note 95219 deleted from function.symlink by danbrown

From: Date: Sat, 19 Dec 2009 16:26:57 +0000
Subject: note 95219 deleted from function.symlink by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164134@lists.php.net to get a copy of this message
Note Submitter: Bas Vijfwinkel ---- Regarding the solution below here (posted on 04-Nov-2006 12:33) using the external program junction.exe from the sysinternals collection : This solution can only make symbolic links for directories while the original symlink function can also be used for files. Another problem with any program from the sysinternal collection is that the eula needs to be accepted. The execution of the script will wait endlessly for the exec command to finish. It looks like the script freezes. If your PHP is running under the SYSTEM account (if you use e.g. WAMP), there will be no pop up window visible to accept the eula. To accept the eula, one needs to add a registry key. Add to the key : HKEY_USERS\.DEFAULT\Software\Sysinternals\Junction a DWORD value named 'EulaAccepted' with a value '1'. Maybe you need to kill the cmd.exe and junction.exe process with the task manager, but after that one can use the junction.exe utility.

« previous php.notes (#164134) next »