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
- use as few packages and customizations as possible
- do no compiling at all
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
- Change the
Listenline to the webserver's IP
- Edit the
ServerNamelines to match your setup
Turn the PHP5 Safemode off, by adding the following to
; 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).