Installation of PHP5 configuration in Windows _ PHP Tutorial

Source: Internet
Author: User
Install PHP5 in Windows. PHP is developing rapidly. the emergence of PHP5 makes it more powerful. The following describes how to configure PHP5. PHP5 includes the following important features: ◆ supports the rapid development of PHP with new object models and many new features. the emergence of PHP5 makes it more powerful. The following describes how to configure PHP5. PHP5 includes the following important features:
◆ Supports new object models and Zend engines with many new features.
◆ Completely re-compiled XML support, expansion performance around the excellent libxml2 library (http://www.xmlsoft.org /).
◆ New SimpleXML extension for easy access to PHP Objects.
◆ Brand new built-in SOAP extension, supporting Web service exchange.
◆ Added MySQL extension named MySQLi to support functions of MySQL4.1 and later versions.
◆ Bind the SQLite database.
◆ Greatly improve the stream design, including operating the underlying socket through the stream

Install PHP5 configuration in Windows

First, click here to download PHP5 FOR win32, and then let's get started. Taking PHP for Apache as CGI binary as an example, I like this method. Use the installation directory c: php as the example to delete the original php installation directory and decompress php-5.0.0-win32.zip to c: php. Rename php. ini-dist to php. ini (same as php4) and modify the httpd. conf file of Apache. Delete the original statement with php4.

Use the following lines instead:

 
 
  1. ScriptAlias /php/ "c:/php/"
  2. AddType application/x-httpd-php .php
  3. Action application/x-httpd-php "/php/php-cgi.exe"

Modify php. ini and remove ";" Before extension = php_mysql.dll. the default value is yes!

The same applies to PHP for Apache as module. Modify httpd. conf of Apache

 
 
  1. LoadModule php5_module c:/php/php5apache.dll
  2. AddModule mod_php5.c
  3. AddType application/x-httpd-php .php

In this way, all the DLL files stored in the shell are stored in the windows system directory, and php.ini follows php.exe to the windows system directory.

Both methods have been tried. All programs written in php4 can run!

Apache2 settings:

Do not AddModule mod_php5.c, LoadModule php5_module c:/php/php5apache2. dll, which is php5apache2. dll, you need to copy the dll file under the php Directory (the following files do not have to be copied: php5activescript. dll, php5apache. dll, php5apache_hooks.dll, and php5apache2. dll, php5isapi. dll, php5nsapi. dll. The above is the PHP5.0 configuration step, I hope to help you.


Bytes. PHP5 includes the following important features: ◆ supports new object models and many new features...

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.