This article is an improved version of Solaris 11 Express SAMP installation guide. The improvement contains a graphical management panel.
To install Apache 2.2, PHP, MySQL 5.1, Perl 5.8 on Solaris 11 Express just follow these steps:
- Install Solaris 11 Express (I won`t provide help with this step)
- Start Solaris and login as the main user
- Start the terminal, if not done already
su
pkg refresh
pkg install amp
pkg install panel-apache
svcadm restart gdm
svcadm enable apache22
svcadm enable mysql
cd /var/apache2/2.2/htdocs
rm index.html
All PHP files etc can be placed in /var/apache2/2.2/htdocs
If you want to learn how to install SSL (for HTTPS) for Apache, I recommend that you will read http://blogs.sun.com/observatory/entry/apache_ssl