PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. The grammar absorbs the C language, Java and Perl features, is conducive to learning, widely used, mainly for the field of web development. PHP's unique syntax mixes the syntax of C, Java, Perl, and PHP's own creation. It can execute Dynamic Web pages more quickly than CGI or Perl. Dynamic pages made in PHP are compared to other programming languages, and PHP is executed in HTML (an application under the standard Universal Markup Language), which is much more efficient than CGI, which generates HTML markup entirely; PHP can also execute post-compilation code, Compilation can achieve encryption and optimize code execution, making code run faster.
First, download
: Http://windows.php.net/downloads/releases/php-5.5.24-Win32-VC11-x64.zip
Second, installation
First, the downloaded zip package, extracted, placed on the D-disk, named PHP, such as: D:\php\, the directory should contain dev, ext, lib and other directories and a large number of files;
Third, the configuration
Enter the D:\php\ directory, locate the Php.ini-development file, copy it, rename it to: PHP.ini, and then open the file for a modified section of the options:
error_reporting = E_all
Display_errors = On
Extension_dir = "D:\php\ext"
; Dynamic expansion, you can remove the extension in front of the comments as needed;
; such as loading PDO, MySQL
Extension=php_pdo.dll
Extension=php_pdo_mysql.dll
; CGI settings
Cgi.fix_pathinfo = 1
Note: According to their actual needs and circumstances, the corresponding adjustment;
If the Web server program is using Nginx (Nginx requires and FastCGI server mates to process the request), the way to run PHP FastCGI Server Manager is as follows:
D:/php/php-cgi.exe-b 127.0.0.1:9000-c D:/php/php.ini
This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1650975
PHP for Windows installation and configuration uncompressed version