Setting up a PHP development environment can be daunting and frustrating for beginners. Some Developers prefer to begin by installing PHP to the root folder of their C:\ drive, in case the Server is not self-contained. I prefer self-contained local server with its own PHP files rather than on my shared C:\ Drive. In reference to this blog post, I would like to select to install the Server Environment first. In my case Bitnami WAMP. There are multiple sources to download a copy of the Wamp Server. In my case, I downloaded from here

Once Bitnami WAMP server has been downloaded to the Downloads, then you may click on it to launch the installation process.

Click next

Most PHP servers come with the popular PHP frameworks included as below:

Then provide a location of your WAMP server which is preferably in the C:\ drive.

In my case, I renamed my Bitnami folder to Bitnami2, since I already had an existing Bitnami Server installed with the same name.

You may be requested to configure the MYSQL username and password if you would like a copy of a local MYSQL database.

You will be prompted for a port number. In my case, it defaults to incrementing to port 82, since I have 80 and 81 in use.

Once you have completed the installation process, bitnami will launch an index.html that will render in the port number that we specified above.

You may rename that file or delete it, and create an index.php and add the following code:



Now, with the above snippet of code you will be able to display all the information about your PHP installation picked up from php.ini

Now, if you need to downgrade to Php 7.4, you may have to delete the Bitnami installation for PHP 8 and install PHP 7.4 Bitnami server.

Leave a Reply

Your email address will not be published. Required fields are marked *