Introduction: PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Purpose: N.A. Limitations: - Only 32-bits binaries and libraries provided in this package. - PHP module is installed in /usr/apache2/libexec/libphp5.so (move to your webserver directory) - Add the following lines to your /etc/apache2/http.conf: "LoadModule php5_module libexec/libphp5.so" "AddType application/x-httpd-php .php" - Modify the following line in your /etc/apache2/http.conf: "DirectoryIndex index.php index.html index.html.var" Requirements: N.A. Configuration files: - lib/php/php.ini (sample files in lib/php/php.ini-*) Configure and Compile Options: Compiler: Sun Studio 10 32-bits Components CC = "/opt/SUNWspro/bin/cc -g -O -xtarget=opteron" CXX = "/opt/SUNWspro/bin/CC -gO -xtarget=opteron" F77 = "/opt/SUNWspro/bin/f77 -g -O -xtarget=opteron" CFLAGS = "-g -O -xtarget=opteron" CXXFLAGS = "-gO -xtarget=opteron" FFLAGS = "-gO -xtarget=opteron" LDFLAGS = "-L/usr/sfw/lib -L/usr/lib -R/usr/sfw/lib -R/usr/lib" CPPFLAGS = "-I/usr/sfw/include" ./configure --prefix=/usr/local/php-5.0.4 \ --with-apxs2=/usr/apache2/bin/apxs --with-zlib \ --with-libxml-dir --with-gd --with-jpeg-dir \ --with-png-dir --with-zlib-dir