PHP for Windows installation and configuration uncompressed version

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.