Print

Create Instances Using Symlinks

This script allows you to deploy multiple installations of Joomla! using one Joomla! full source directory. Can be very useful for Multiple websites using only one main Joomla! Directory.

This Tool has no name, so you can rename it with anything you want.

If you're a Joomla! Web Developer like us, you probably have a lot of Joomla! installations in your local server. Everytime you install Joomla!, you have to duplicate the full source files. This is very inefficient if you don't modify the core files anyway. The solution is to use symlinks(symbolic links or aliases). This script will create symlinks to a Joomla! source directory. But it doesn't symlink the directories that can have dynamic contents like /components and /modules. This script takes everything in consideration so your symlinked Joomla! installations will work as if they are full copies of Joomla.

A default Joomla! 1.5 installation takes around 45MB of disk space. Using this script, each of your symlinked Joomla! installation directory will occupy only 2MB. It will also make the upgrades easier because you only have to upgrade one directory.

Warning! This script was tested to work on a local UNIX environment (Linux and Mac OS X using Apache). Please help us test it for live deployments. This script will not work on Windows.

Requirements:
Apache 2.x and PHP 5.2+
Apache should be configured with FollowSymLinks on the directory where you want to install a symlinked Joomla!
PHP should be able to execute shell commands using exec()

Copyright by : Joomla Travel extensions

Written by :
Joomla Travel 2.0