Tuesday, October 10, 2006

Installing Joomla on NetWare 6.5

Install apache2, php, mysql.

Download the zlib module for php. I used the 1.1.4 version with NetWare 6.5 Sp5
http://www.gknw.net/development/apache/libs/netware/
Extract the downloaded zlib package and place the modules from the zip into the sys:\php5\ext directory.

Enable php support in apache by uncommenting the include statement for mod_php in sys:\apache2\conf\httpd.conf
If the include statement doesn't exist, than you can create it by adding the following line to the bottom.
Include sys:\apache2\conf\mod_php.conf

If the include statement was remarked, be sure to stop and restart apache after removing the remark statement.

Test that apache has php support enabled by moving sys:\php5\scripts\info.php to sys:\apache2\htdocs then browse to http:\\server\info.php

You should have a nice looking page reporting the PHP version and compiled settings. Note! If you search the page for ZLIB, you should not find any hits. We will be fixing that.

Modify open_basedir = ".;sys:/apache2/htdocs" in sys:\php5\php.ini to reference the base directory of were joomla will be installed. Otherwise the include statements within joomla will not work. There are additional settings that may need to be tweaked in PHP.ini, like safe mode and such. Contact me if you need help with these. Add the extensions statement to php.ini to load zlib support. The line would look like this. extension=php_zlib.nlm (Note! This module exists in sys:\php5\ext

Restart apache2

Download and unzip the stable distribution from joomla.org
I unzipped the install into sys:\tmp and then made a copy to sys:\apache2\htdocs\joomla
Be sure that whatever directory you put joomla into, that your php.ini file matches this directory path. the include_path and open_basedir are set to met these needs.

I will leave the rest of the joomla configuration steps up to the joomla docs unless someone emails me and asks for more info.

Additional NetWare modules can be found here for apache, php, and such.
http://www.gknw.at/development/apache/