[TYPO3] 'Symlinking' on Windows to reduce eAccelerator mem load?

Ryan Hayle ryan.hayle at space150.com
Thu Sep 28 16:20:21 CEST 2006


Joerg Wagner - DigiLog multimedia wrote:
> Hello world!
> 
> Situation:
> Several Typo3 installations in different Virtual Hosts on a WAMP system.
> eAccelerator for PHP is installed.
> 
> Task:
> Join the identical source directories of all Typo3 installations so that 
> eAccelerator caches them all only once (and thus preserves shared memory).
> 
> 
> Is there a way to do this? I guess on *nix this would be done by symlinking. 
> There is actually a similar method on Windows called junctions, but I am 
> quite sure that these are so transparent to eAccelerator that it will treat 
> them as different paths and will not recognize that they lead to the same 
> source directory.
> 
> Any ideas are very welcome!

Um...switch to a real OS?  Seriously, the idea of running either Apache 
or PHP on a broken Windows system for -production- is a little scary.  I 
know people do it for development, which is fine (if not entirely 
frustrating), but for an actual server it is just crazy.  If you can't 
change it, then you have my sympathy.

In any case, like you said Windows XP does support their messed up 
version of "symlinks" abd you're also right that eAccelerator will no 
doubt not recognize them.  I think you would have to hack eAccelerator 
to identify these "junctions."

Ryan



More information about the TYPO3-english mailing list