Task #11683

symlink() is not working on Windows XP

Added by Irene Höppner over 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2010-12-24
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Core
Target version:TYPO3 Flow Base Distribution - 1.0 beta 1
Sprint: Has patch:
PHP Version: 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 #33968: Missing privileges to create symlinks in Windows cause ex... Closed 2012-02-16
related to TYPO3.Flow - Bug #35935: Symlinks still don't work reliably under Windows Closed 2012-04-13

Associated revisions

Revision 0c539bd6
Added by Robert Lemke almost 5 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 4 years ago

  • Target version set to 1.0 beta 1

#2 Updated by Karsten Dambekalns over 4 years ago

  • Status changed from New to Needs Feedback
  • Assigned To 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 4 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 4 years ago

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

#5 Updated by Irene Höppner about 4 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 about 4 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 almost 5 years ago

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

#8 Updated by Mr. Hudson almost 5 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 almost 5 years ago

  • Category changed from - Documentation - to Core
  • Assigned To 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 almost 5 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 almost 4 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 almost 4 years ago

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

#13 Updated by Robert Lemke almost 4 years ago

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

Also available in: Atom PDF