Conveniently, there is already a metapackage in IPS for installing a complete AMP stack in your OpenIndiana environment.
Best practice would be to install this inside of a local zone .
main problem: to v ery up to date
This community project is a free add-on to napp-it but you can use the installer without napp-it as well.
It currently installs:
installation (console as root):
wget -O - www.napp-it.org/ampo | perl