Environment


Configuring PHP Development Environment

For developing a PHP application or website, we have to first create PHP development environment.

PHP development requires the following software installed and configured:

  • A Web server and a PHP engine are mandatory.
  • The PHP interpreter contains a built-in Web server.
  • A command line tool, for running your script from command line. (There so many software available form that you can directly run your script on browsers XAMPPWAMPLAMP etc.)
  • A debugging tool, for debugging your PHP script.
  • A database server, if your application needs it.

To set up the PHP development environment

1.      Download, install, and configure the Web server, the PHP engine, and the MySQL server. Do one of the following:

2.      Optionally, perform these steps:

All-in-One packages

There are some excellent all-in-one Windows distributions that contain Apache, PHP, MySQL and other applications in a single installation file, e.g.