Web Stack Getting Started Guide

Web Stack Components

The following components are installed and optimized for use on the OpenSolaris 2008.05 platform:

Apache HTTPd Server 2.2.8

Apache is the Web Server that serves web pages in response to requests from users' web browsers.

MySQL 5.0.45

MySQL is a relational database engine used to store most dynamic data. Open Solaris OS includes 32bit architecture of MySQL database. MySQL supports the following standard APIs:

  • SQL92

  • SQL99

  • SQL2003

MySQL also has its own C client API which is delivered with the server.

PHP 5.2.4

PHP is an interpreted dynamic web page scripting language. A PHP language interpreter is integrated into the Apache Web Server. PHP module is integrated with MySQL and PostgreSQL that provides database support for Apache HTTP (32 and 64-bit), and Pre-fork MPM. This module is also integrated with the NetBeans IDE.

About PHP Extensions

PHP modules are integrated as extensions. Each of the modules have a respective INI file under /etc/php5/5.2.4/conf.d directory. These PHP extensions are enabled by default.

Custom third-party PHP extensions like APC, Suhosin, IDN, Tcpwrap, XDebug, DTrace are not enabled by default. However, you can edit the PHP extension specific INI file for any specific configuration changes.

Following is the list of PHP extensions available on the Open Solaris OS :

bcmath 

exif 

mbstring 

pdo_sqlite 

sysvsem 

xmlrpc 

bz2 

ftp 

mysql 

pgsql 

sysvshm 

xmlwriter  

calendar 

gd 

mysqli 

posix 

tcpwrap 

xsl 

ctype 

gettext 

openssl 

shmop 

tcpwrap 

zip 

curl 

hash 

pcntl 

soap 

tidy 

zlib 

dba 

iconv 

pdo 

sockets 

tokenizer 

 

dbase 

n.so 

pdo_mysql 

sqlite 

wddx 

 

dom 

ldap 

pdo_pgsql 

sysvmsg 

xmlreader 

 

PostgreSQL 8.2

PostgreSQL is an object-relational database management system (ORDBMS). PostgreSQL uses a client/server model. A PostgreSQL session consists of a server process, which manages the database files, accepts connections to the database from client applications, and performs actions on the database on behalf of the clients. The database server program is called postgres and the user's client application that wants to perform database operations.

Ruby on Rails

Ruby on Rails is the framework for web application development. Ruby is an object-oriented programming language. Rails is an open source Ruby framework for developing web-based, database-driven applications.

Extensions to the Ruby language, and a packaging program called Rubygems are included to enable developers to install to Rails and to add functionality in a seamless manner.

Ruby is bundled with extensions, similar to PHP, and they are OpenSSL, curses, Tcl/Tk, and readline.

Squid 2.6.STABLE16[1]

Squid is a fully-featured HTTP/1.0 proxy server. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.

memcached 1.2.2

memcached is a high-performance, distributed memory object caching system. Helps in speeding up dynamic web applications by alleviating database load. The OpenSolaris 2008.05 includes 32 bit versions of the memcached daemon. For more information about APIs and how to configure, enable and disable the server, see memcached man pages.

For more information on how to use NetBeans on OpenSolaris 2008.05, see Using NetBeans IDE for Development