Iis6.0 + PHP + MySQL-snowserver

Source: Internet
Author: User

By default, IIS does not support PHP + MySQL and must be manually configured.
First, complete IIS support for PHP
1. Open "Internet Service Manager", select the site that you want to support PHP, open the properties page, click the "ISAPI filter" tab, and click "add ", in the pop-up "Filter Properties" window, fill in "php" in "Filter Name"; in "executable files", fill in the php5isapi under the PHP installation directory. DLL, and click OK.
2. Click the "main directory" tab, select the "configuration" button in "application settings", and click "add" in the "Application configuration" window that appears, in the displayed "Add/edit application extension ing" window, select php5isapi. DLL, and fill in "php" for "extension"

3. Copy php5ts. dll and libmysql. DLL to winnt/system32 /.
5. Add the php4isapi. dll extension in the Web service extension, add the. php extension, and select allow.
(Or simply: all unknown ISAPI extensions are allowed)
4. OK, everything is done. Restart IIS and write a phpinfo file under your page file directory.
<? PHP
Echo "test ";
Phpinfo ();
?>
If yes, IIS supports PHP.

For the installation package of the snowserver, run removeservice. BAT and installservice. bat in the bat folder to reinstall the MySQL service.
Then: Configure PHP to support MySQL

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.