Programming Tutorials

PHP INSTALLATION on Solaris 9 (Sparc)

By: Jaya in PHP Tutorials on 2011-03-25  

Here are the general steps to install PHP on Solaris 9 (Sparc):

  1. Install the necessary dependencies:

    • Ensure that the system has the following installed: gcc, make, autoconf, automake, libtool, and flex.
    • If any of these are not installed, you can install them using the Solaris package manager (pkgadd).
  2. Download the latest version of PHP for Solaris 9 (Sparc):

    • Go to the official PHP website ( and download the latest version of PHP for Solaris 9 (Sparc).
    • Extract the downloaded file to a suitable directory.
  3. Configure PHP:

    • Navigate to the extracted PHP directory and run the configure script by executing "./configure".
    • This will configure PHP to use the appropriate settings for your system.
  4. Build and install PHP:

    • Run the "make" command to build PHP from source.
    • Once the build process is complete, run "make install" to install PHP on the system.
  5. Configure the web server:

    • After installing PHP, you need to configure the web server to use PHP to process PHP files.
    • The exact configuration process depends on the web server being used.
    • For Apache, you will need to add the following line to your httpd.conf file:
      AddType application/x-httpd-php .php
    • Restart the web server to ensure the changes take effect.

That's it! You should now have PHP installed and configured on your Solaris 9 (Sparc) system.

Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in PHP )

Latest Articles (in PHP)