Task #11683

symlink() is not working on Windows XP

Added by Irene Höppner almost 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Core
Start date:
2010-12-24
Due date:
% Done:

100%

Sprint:
PHP Version:
Has patch:
Complexity:

Description

That means, that the requirements since alpha14 are Windows Vista, Server 2008 or greater (http://de.php.net/manual/en/function.symlink.php).
Maybe this should be mentioned somewhere in the documentation? Or at some more distinguished place?
Happy Christmas! :-)


Related issues

Related to TYPO3.Flow - Task #8056: Remove configuration option for mirrorMode Closed
Related to TYPO3.Flow - Bug #35935: Symlinks still don't work reliably under Windows Closed 2012-04-13
Related to TYPO3.Flow - Bug #33968: Missing privileges to create symlinks in Windows cause exception Closed 2012-02-16

Associated revisions

Revision 0c539bd6 (diff)
Added by Robert Lemke about 8 years ago

[TASK] Require Windows 6.0 or higher

The use of symlinks in FLOW3 is an essential feature. Without
it, certain parts of the caching and resource management would
be unacceptably slow.

Therefore the minimum requirement on Windows platforms is now
Windows Vista, Windows Server 2008 or higher.

This change set also makes sure that all code parts in the Bootstrap
which exit do send a correct exit code.

Change-Id: I4e75a8351174ad68bde83101373f6a5b9c059043
Resolves: #11683

History

#1 Updated by Robert Lemke over 8 years ago

  • Target version set to 1.0 beta 1

#2 Updated by Karsten Dambekalns over 8 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Karsten Dambekalns

Should we just make symlink support for Windows a requirement, get rid of XP and drop the mirrorMode configuration option without looking back?

I give a definitive +1 :)

#3 Updated by Irene Höppner over 8 years ago

Getting rid of XP is definitly a +1 :-) (http://support.microsoft.com/lifecycle/?p1=3223).

Another thing, that hurts more, is getting rid of Server 2003 (http://support.microsoft.com/lifecycle/?p1=3198), but since virtualization is kind of standard now I would give that a +1 as well.

#4 Updated by Bastian Waidelich over 8 years ago

IIRC symlinks should work on Windows XP too - at least on a NTFS based file system

#5 Updated by Irene Höppner over 8 years ago

Yes, filesystem based you can use symlinks on XP - at least after installing some tool. But the php-function symlink() causes the error "Fatal error: Call to undefined function symlink()".
Tested on an XP with PHP 5.3.1 where symlinks in the filesystem are in use.
However, I'm not sure... if maybe some workaround can be found...

#6 Updated by Simon Schaufelberger over 8 years ago

There are still many Windows XP users out in the world that develop apps locally on xp and then push them out to a linux server. Not every developer uses Mac :D Win XP will still be alive for many years even though support from Microsoft will not be available any more. There will be users who will not just upgrade to a newer Windows if they love XP :D
Please don't ignore XP users!

By the way: @Irene: What "tool" do you mean?

#7 Updated by Sebastian Kurfuerst about 8 years ago

  • Target version changed from 1.0 beta 1 to 1.0 beta 2

#8 Updated by Mr. Hudson about 8 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 of change I4e75a8351174ad68bde83101373f6a5b9c059043 has been pushed to the review server.
It is available at http://review.typo3.org/4108

#9 Updated by Robert Lemke about 8 years ago

  • Category changed from - Documentation - to Core
  • Assignee changed from Karsten Dambekalns to Robert Lemke
  • Target version changed from 1.0 beta 2 to 1.0 beta 1

#10 Updated by Mr. Hudson about 8 years ago

Patch set 2 of change I4e75a8351174ad68bde83101373f6a5b9c059043 has been pushed to the review server.
It is available at http://review.typo3.org/4108

#11 Updated by Simon Schaufelberger about 8 years ago

If you don't provide the functionality, that it also works on XP without any workarounds in the Code, then PLEASE document at least some workarounds with external tools that provide the functionalty of symlinks for Win XP!

The extended support of XP goes until 2014 ;)

#12 Updated by Irene Höppner about 8 years ago

@Simon: Use a virtual machine with linux :-).

#13 Updated by Robert Lemke about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF