PHP5 has the following important features: · supports new object models and Zend engines with many new features. · A complete re-writing of XML support, expanding the performance of the excellent libxml2 library (http://www.xmlsoft.org /). · New SimpleXML extension, light PHP Objects
PHP5 has the following important features:
· Supports new object models and Zend engines with many new features.
· A complete re-writing of XML support, expanding the performance of the excellent libxml2 library (http://www.xmlsoft.org /).
· The new SimpleXML extension makes it easy for PHP Objects to visit and control.
· New built-in SOAP extensions to support the exchange of Web services.
· Added the MySQL extension named MySQLi to support the functions of MySQL4.1 and later versions.
· Bind the SQLite database.
· Greatly improved the stream design, including holding the underlying socket through the stream
First, click here to download PHP5 FOR win32
Let's start.
Take the PHP for Apache as CGI binary method as an example. I love to use this method. Take the installation directory c: \ php as an example;
Delete the 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'
In php. ini, remove ";" Before extension = php_mysql.dll. the default value is yes!
The same applies to PHP for Apache as module. Corrected httpd. conf of Apache.
LoadModule php5_module c:/php/php5apache. dll
AddModule mod_php5.c
AddType application/x-httpd-php. php
All the DLL files of the local 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!
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.