PHP 5.3 Released ~

Source: Internet
Author: User
Modular installation on a Windows system using Apache2.2 PHP5.3

PHP5.3 adds some features, such as namespace, static late binding, and so on.

1
Download php5.3 and apache2.2
php5.3 must download VC6, VC9 can not use Apache, only with IIS

2

Unzip the package to d:\php, or unzip the directory of other disks.

Installing apache2.2

3 Configuring php5.3
Rename the Php.ini-development file to php.ini under the d:\php directory
This is a change in PHP 5.3, and the other file php.ini-production is a typical configuration for product operation.
We then open the php.ini file, defining the path to the extension package.
Look for "extension_dir" and modify it to:
Extension_dir = "D:\php\ext"
Then, we open some necessary extension packages, that is, to remove some extension package file name of the semicolon, the following author's configuration:
Extension=php_curl.dll
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_pdo_mysql.dll
Extension=php_xmlrpc.dll


4 Configuring Apache2.2
Open the Apache httpd.conf file and add the default home page:

DirectoryIndex index.php index.html


In 126 rows or so, the last addition of LoadModule:
LoadModule php5_module "D:/php/php5apache2_2.dll"
AddType application/x-httpd-php. php
Phpinidir "d:/php"



5 Testing

Create a new index.php in the Apache Htdocs directory

Input content:

Phpinfo ();
?>

Then restart Apache2. Enter http://localhost to access

  • 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.