PhP5 includes the following important features:
· Supports new object models and Zend engines with many new features.
The XML support is completely rewritten, and the extended performance is centered around the excellent libxml2 library (http://www.xmlsoft.org /).
· The New simplexml extension makes PHP objects easy to access and operate.
· A new built-in soap extension that supports Web service exchange.
· Added MySQL extension named mysqli to support functions of mysql4.1 and later versions.
· Bind the SQLite database.
· Greatly improved the stream design, including operating the underlying socket through the stream
First, click here to download PhP5 for Win32
Let's start.
Taking PHP for Apache as CGI binary as an example, I like this method. Take the installation directory c: \ php as an example;
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)
Modify the httpd. conf file of Apache. Delete the original statement with PhP4.
Use the following lines instead:
ScriptAlias/PHP/"C:/PHP /"
Addtype application/X-httpd-PHP. php
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
Loadmodule php5_module C:/PHP/php5apache. dll
Addmodule mod_php5.c
Addtype application/X-httpd-PHP. php
In this way, all the DLL files are stored in the Windows System directory, and php.ini follows php.exe to the Windows System directory.
Both methods have been tried. Written in PhP4ProgramAll can run!
For apache2 settings:
1. Do not addmodule mod_php5.c
2. loadmodule php5_module C:/PHP/php5apache2. dll, which is php5apache2. dll
3. 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 ).