A PHP parsing engine may be installed on most of the mainstream servers in the Internet environment. The list below presents the main operating systems that offer servers supporting a PHP installation and some important facts about them.

Windows

More about IIS here...

Unix

  • A PHP is installed through a terminal with the package.
  • The single comand line command is:
    • Sudo apt-get install php5
  • It can also be downloaded from a PHP distribution website.
  • After downloading, unpack and configure with the database to be used along.
  • Install the php.ini file and set the path to get the configuration directives.
  • Restart the web server.

More about Apache here...

Mac

  • A PHP is installed on Mac in the same way as on UNIX but with a different command line command.
    • curl -s http://php-osx.liip.ch/install.sh | bash -s 5.x
  • It may also need to set up the path.

More about Mac here..

Cloud Platform

  • The most famous cloud platforms are Microsoft Azure and Amazon EC2.
  • Both platforms automatically provide the PHP support.
  • There are other platforms such as a newer cloud platform developed called Microsoft Web Matrix which is also designed to support a PHP engine.

Advantages and disadvantages of Apache

  • Apache is a leading web server, open source and comes in a package with most of the Linux distributions having already set paths and configured.
  • It is a free software distributed under license conditions making the source codes available to the user.

The down side of this web server is that there is no technical support to solve any problem. The only way is to dig the solution from different web forums and people who have experienced the same problem. 

More about Apache installation can be found here...

 

›› go to examples ››