Saturday, September 12, 2020

How to Setup PHP Development Environment



Hello dear readers! welcome back to another section of our tutorial on PHP. In this tutorial guide, we will be discussing about how to Set up the PHP Environment on different OS.

In order to develop and run the PHP Web pages, three important components needs to be installed on your system.

  • Web Server - PHP virtually work with all Web Servers, including the Microsoft's Internet Information Server (IIS) but then the most often used is the freely available Apache Webserver. You can download Apache for free from their official Apache website.
  • Database - PHP will work virtually with all database softwares, including Sybase and Oracle database but the most commonly used is the freely available MySQL database. You can download MySQL for free from the MySQL official website.
  • PHP Parser - To process PHP script instructions, then a parser must be installed to produce Html output that can be sent to the web browser. This tutorial post will guide you on how to install PHP Parser on your system.


PHP Parser Installation

Before proceeding, it is very important to make sure you have a proper environment set up on your machine to develop your web application using PHP.

Type the following address into your web browser's address bar.

http://127.0.0.1/info.php

If this displays a page showing your PHP installation related information, then it simply means that you have both PHP and Webserver installed properly on your system. Otherwise, you have to follow given procedure to install PHP on your system.

PHP Installation on Various Platforms

This section of this tutorial will guide you to install and configure PHP over the following platforms below -


RECOMMENDED: An Overview of PHP

Apache Configuration

If you are making use of Apache on a Web Server, then this section is will properly guide you to edit Apache Configuration Files.

Use this link - PHP Configuration in Apache Server.

PHP.INI File Configuration

The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's functionality.

Make use of this link - PHP.INI File Configuration.

Windows IIS Configuration
For the configuration of IIS on your Windows system, then refer to your IIS Reference Manual shipped along with IIS.

RECOMMENDED POST: Python Operators

Alright guys! This is where we are rounding up for this tutorial post. In our next tutorial guide, we are going to be discussing about PHP Installation on Linux system with Apache.

Feel free to ask your questions where necessary and i will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.
Share:

0 comments:

Post a Comment

Hello dear readers! Please kindly try your best to make sure your comments comply with our comment policy guidelines. You can visit our comment policy page to view these guidelines which are clearly stated. Thank you.