PHP5 includes the following important features: · Supports the new object model and the Zend engine with many new features.
·XML support has been completely rewritten, with extended capabilities built around the excellent libxml2 library (http://www.xmlsoft.org/).
·New SimpleXML extension, easy access to PHP objects.
·New built-in SOAP extension supports the exchange of Web services.
·Added a MySQL extension named MySQLi to support the functions of MySQL 4.1 and later versions.
·Bind SQLite database.
·Greatly improve the design of streams, including operating the underlying socket through streams
First, click here to download PHP5 FOR win32
Then let’s get started
Take the PHP for Apache as CGI binary method as an example. I like to use this method. Take the installation directory c:php as an example;
Delete the original php installation directory, unzip php-5.0.0-Win32.zip to c:php
Rename php.ini-dist to php.ini (same as php4)
Modify Apache's httpd.conf file. Delete the original statements bound to php4.
Replace with the following lines:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
Modify php.ini and remove the ";" in front of extension=php_mysql.dll, it is there by default!
The same is true if it is PHP for Apache as module. Modify Apache's httpd.conf
LoadModule php5_module c:/php/php5apache.dll
AddModule mod_php5.c
AddType application/x-httpd-php .php
However, this method requires copying all dll files to the windows system directory. php.ini and php.exe to the Windows system directory
I have tried both methods above. Programs written in php4 can run!
For the settings of apache2:
1. Do not addModule mod_php5.c
2. LoadModule php5_module c:/php/php5apache2.dll, it is php5apache2.dll
3. You need to copy the dll file in the php directory (the following files do not need to be copied: php5activescript .dll, php5apache.dll, php5apache_hooks.dll, php5apache2.dll, php5isapi.dll, php5nsapi.dll) and copy them to the above mentioned directory (98, me is system)
The above introduces the detailed explanation of PHP50 under windows mobile device center Windows, including the content of windows mobile device center. I hope it will be helpful to friends who are interested in PHP tutorials.