Install and configure php apache and install the mssql module

Source: Internet
Author: User
Tags apache php install php mssql mysql tutorial php mysql php mysql tutorial

Windows php apache does not support mssql by default. Next we will show you how to install apache php mysql tutorial web server and allow your php to use the mssql database tutorial.

Download apache and php

1. Install apache in the c: apache Directory
2. Install php in the c: php directory.
3. Archive and extract the ioncube loader to c: apacheioncube.
4. Open the php directory and change the php-recomended.ini to php. ini.
5. Copy php_mssql.dll from c: phpextensions to c: windowssystem32.
6. c: replace c: phpdllsntwdblib. dll with windowssystem32ntwdblib. dll.
7. Open the php. Ini file and remove the ";" Before extension = php_mssql.dll.
8. Open c: apacheconfhttpd. conf and add it at the end.
Loadmodule php4_module "c:/php/php4apache. dll"
Addtype application/x-httpd-php. php
<Ifmodule mod_dir.c>
Directoryindex index.html index. php
</Ifmodule>

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.