DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

install:solaris

====== 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:

  • CSKamp_1.2_sparc.pkg.bz2
  • CSKruntime_1.2_sparc.pkg.bz2

Those might be handy as well:

  • CSKphplibsbundle_1.2_sparc.pkg.bz2
  • CSKperl_1.2_sparc.pkg.bz2

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 Listen line to the webserver's IP
  • Edit the ServerAdmin and ServerName lines to match your setup

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

install/solaris.txt · Last modified: 2013-09-10 17:49 by 82.161.218.87