PHP50 detailed in Windows Mobile Device Center Windows

Source: Internet
Author: User
Tags sqlite database
PHP5 includes some of the following important features:
• Support for the new object model and many new features of the Zend engine.
• Fully rewritten XML support with extended performance around the excellent LIBXML2 library (http://www.xmlsoft.org/).
• New simplexml extension, PHP object easy access operation.
• New built-in SOAP extensions to support the exchange of Web services.
• Added MySQL extensions named mysqli to support MySQL4.1 and later versions of the feature.
• Bind SQLite database.
• Greatly improved flow design, including through-flow operation of the underlying socket
First, click here to download PHP5 for Win32
Then let's get started.
Take PHP for Apache as CGI binary as an example, I like this way. Take the installation directory c:\php as an example;
Remove 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 the Apache httpd.conf file. Delete the original statement with PHP4.
Take 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, remove Extension=php_mysql.dll front ";", default is there!
The same is true of 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
But this way you have to copy all the DLL files to the Windows system directory, php.ini and Php.exe to the Windows system directory
Both of these methods have been tried. PHP4 Writing program can run!
For apache2 settings:
1, do not addmodule mod_php5.c
2, LoadModule Php5_module C:/php/php5apache2.dll, is Php5apache2.dll
3, need to be the PHP directory DLL files (the following files do not have to copy: Php5activescript.dll, Php5apache.dll, Php5apache_hooks.dll, Php5apache2.dll, Php5isapi.dll, Php5nsapi.dll) is copied to the above mentioned directory (98, Me is System).

The above describes the PHP50 details under Windows Mobile Device Center Windows, including the Windows Mobile Device Center content, and hopefully helps friends who are interested in PHP tutorials.

  • Related Article

    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.