Conveniently, there is already a metapackage in IPS for installing a complete AMP stack in your OpenIndiana environment.
pfexec pkg install feature/amp
Best practice would be to install this inside of a local zone .
installation (console as root):
wget -O - www.napp-it.org/ampo ampo04 | perl
current state: testing