Solaris 10 (x86/SPARC)

This is how to get Apache and PHP running on Solaris 10 x86 to install DokuWiki. This is just a simple walkthrough, you probably have to think a bit. This was done on a Solaris zone.

The goal was to

Get the Coolstack 1.2 packages which provide Apache 2.2.6, MySQL 5.0.45 and PHP 5.2.4 precompiled for Solaris.

You need at least these packages:

Those might be handy as well:

After installing the packages configure apache2

$> cd /opt/coolstack/apache2/conf
$> cp httpd.conf.solaris httpd.conf

Then edit /opt/coolstack/apache2/conf/httpd.conf

Turn the PHP5 Safemode off, by adding the following to /opt/coolstack/php5/lib/php.ini:

; Safe Mode
safe_mode = Off

Enable the webserver startup scripts:

svcadm enable csk-http

Finally unpack DokuWiki to /opt/coolstack/apache2/htdocs/dokuwiki and surf to http://localhost/dokuwiki/install.php (See installer).