Install > Mac OS X > Standard ("Entropy")

Installing php5

We recommend that you install PHP5 with .

The right installer on a fresh Panther or Tiger system is 5.1.6 for Apache 1.3.

Installing Zend Optimizer

Get it here.

You must install it as root from the terminal.

If you don't have a root password on your machine, create one with :

sudo passwd root

You're ready to install Zend Optimizer, using the interactive script :

sudo sh ~/Desktop/ZendOptimizer-3.2.2-darwin8.6-uni/install.sh

Answering OK to all the questions should be fine.

If you installed php5 with Marc Lyianage's package as recommended, your php.ini folder path should be :

/usr/local/php5/lib/

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).

Note that, on Mac OS X 10.4, you can use our Web Settings Assistant to do the required changes.

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

In Mac OS X, you can just change the file : /private/etc/httpd/users/yourusername.conf and set AllowOverride to All instead of None.

<Directory "/Users/username/Sites"> 
 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 !