33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: PHP Install
 | |
| ---
 | |
| 
 | |
| ### What Do I Need for Installation?
 | |
| To start using PHP, you can:
 | |
| 
 | |
| Find a web host with PHP and MySQL support.
 | |
| Install a web server on your own PC, and then install PHP and MySQL. 
 | |
| You can check out the following links to get a PHP server and MYSQL for creating a local envinonment for PHP to run:
 | |
| Web Server: https://httpd.apache.org/download.cgi
 | |
| Database: https://www.mysql.com/downloads/
 | |
| 
 | |
| ### PHP Parser Installation
 | |
| Before you proceed it is important to make sure that you have proper environment setup on your machine to develop your web programs using PHP.
 | |
| 
 | |
| Type the following address into your browser's address box.
 | |
| ```shell
 | |
| http://127.0.0.1/info.php
 | |
| ```
 | |
| If this displays a page showing your PHP installation related information then it means you have PHP and Webserver installed properly.
 | |
| 
 | |
| ### Set Up PHP on Your Own PC
 | |
| 
 | |
| However, if your server does not support PHP, you must:
 | |
| install a web server
 | |
| install PHP
 | |
| install a database, such as MySQL, MSSQL etc.
 | |
| 
 | |
| ### More information
 | |
| The official PHP website (PHP.net) has installation instructions for PHP: http://php.net/manual/en/install.php
 | |
| To get both web server and databse in a single package use this link: https://www.mamp.info/en/
 |