Install > Linux

Installing PHP5

Linux

Make sure /usr/local/php5/bin/php is the php 5 CLI binary.

Installing Zend Optimizer

You need to use Zend original shell installer.

Configuring Apache

Apache requires to have mod_rewrite set up.

It also requires to have AllowOverride set to All (in order for htaccess to work in alahup directory).

mod_rewrite

In /private/etc/httpd/httpd.conf, those two lines must be uncommented :

LoadModule rewrite_module libexec/httpd/mod_rewrite.so

and:

AddModule mod_rewrite.c

AllowOverride

<Directory "/your/path/to/htdocs"> 
 Options Indexes MultiViews 
 AllowOverride All 
 Order allow,deny 
 Allow from all 
</Directory>

Apache needs to be restarted :

sudo apachectl restart

Installing the alahup folder

Drag & drop the alahup folder in your Sites folder .

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.

  • Go to http://127.0.0.1/~yourusername/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 !