PHP4.1.0 the Apache modular installation under Windows

Source: Internet
Author: User
Some features (such as user authentication) require PHP to be installed in the Apache module,
If you don't know how to install it, here's what you need to know.

Excerpt from PHP's Install.txt

First you need to copy Php4ts.dll to Windows/system (for Windows 9x/me)
or Winnt/system32 (for Windows nt/2000) directories, overwriting previous files.
Then add the following two lines to the Apache settings file (httpd.conf)

LoadModule Php4_module C:/php/sapi/php4apache.dll
AddType application/x-httpd-php. php

Remember to reboot the server to take effect, for example
NET STOP APACHE
Then
NET START APACHE

Then look at Phpinfo () if the Server API shows that Apache is already running in
Module mode.


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.