Install > Windows

Installing Apache and PHP5

  • You should definitely use the xampp installer, from Apache Friends.

    Xampp installs pretty much everything you need to run alahup! : Apache, php5, Zend Optimizer.

    Note that you don't need to install nor use MySQL.

    Make sure you install XAMPP in C:\Program Files, which is the default

  • You will just have to modify three configuration files :

    • In C:\Program Files\xampp\apache\conf\httpd.conf, uncomment the mod_rewrite line.

      This is the configuration file used by php from the web server.

      Change the line :

      #LoadModule rewrite_module modules/mod_rewrite.so

      To :

      LoadModule rewrite_module modules/mod_rewrite.so
    • In C:\Program Files\xampp\apache\bin\php.ini set the line :

      This is the configuration file used by php from the command line

      zend_optimizer.enable_loader = 0

      to

      zend_optimizer.enable_loader = 1

      Uncomment the zend related lines around if necessary.

      You can make sure this file is the right php.ini file by connecting to http://localhost/xampp and displaying the phpinfo().

      Read the line : Configuration file (php.ini) Path.

    • Make the same change in C:\Program Files\xampp\php\php.ini .

      This is the configuration file used by php from the command line.

  • Restart Apache from the control panel.

Installing Cygwin

Cygwin is required to take full advantage of alahup! syncing tools, which use rsync and ssh.

Run the setup.exe with default settings and install the base package and rsync (in the "Net" category). Openssh will be installed too, as rsync requires it.

Alahup! syncing scripts do not work in rxvt.exe sessions.

You'll have to launch these scripts from the standard Cygwin console.

Installing alahup!

Drag & drop the alahup folder in xampp's htdocs folder.

You should be able to view the manager page at .

Auto-configuration with the manager

The manager has a dashboard that lets you review web sites configuration, permissions issues, etc.

You should go to the Dashboard in the manager every time you install a new site or move the engine as it has the ability to auto-configure.

  • With XAMPP's default settings, you should go to http://localhost/alahup/manager/

    At this point, an invisible hint file is also saved in alahup/caches folder. It will remember how you reached the manager and facilitate the auto-configuration of new sites.

  • Follow the Dashboard link.

    If permissions are correct, the only error should be the missing .htaccess.

  • Click on "fix" to let the manager install the correct .htaccess.

You are now ready to create a new site !