PHP 4.04 installation methods for various servers under window/nt/2000 (1)

Source: Internet
Author: User
Tags filter copy http authentication iis ini

Extensions
----------
MySQL, ODBC, FTP, Calendar, Bcmath, COM, PCRE, Session, WDDX and XML support is *built-in*.
You are don ' t need to the load any additional extensions in the order of these functions.

These services are built in, and you don't have to dial in the extension module to use these functions

Installtion Instructions
------------------------
Installation Introduction

Apache:
1. Stop the Apache Webserver.

Stop Apache Server

Edit the httpd.conf and put in this lines, modified to your environment:

Edit http.conf Add these lines and change your environment

2. Unzip the Package to c:php, now move Php4ts.dll to the Windows/system (?) directory, Overwritte any older file!

Expand the compression pack to c:php, move Php4ts.dll to the Windows/system (32) directory, overwriting any old files

# for the Apache module

For the Apache module mode

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

#for the CGI binary (can use this one compiled with force CGI redirect too)

For the CGI method

scriptalias/php4/"c:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4. php

3. Copy the php.ini-dist to your sysroot (directory where you are installed Windows), rename it to PHP.ini, and
Edit the php.ini to fit your needs.

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

4. Restart the Apache server.

Restart the Apache server



------------------------------------------------------------------------------------------




OReilly wesite Pro:
1. Sure that you got atleast Version 2.5

Make sure you get the Alleast 2.5 version.

2. Edit the Server Properties and select the tab "Mapping"

Edit Server properties, select Mapping

3. From the List select "Associations" and enter the desired extension (". PHP") and the ' path to the ' CGI EXE or the ISAPI D ll

Select an association ("associations") from the list and enter the DLL or ISAP path for the desired extension (. php) and CGI mode

4. Now select "Content Types" Add the same extension ". php" and enter the ContentType:

Select the content type ("Content Types") to add the same extension. PHP input Content Type

CGI wwwserver/shellcgi
ISAPI WWWSERVER/ISAPI

5. Copy the php.ini-dist to your Systemroot (Directory where you are installed Windows), rename it to PHP.ini, and
Edit it to fit your needs.

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

6. Edit the php.ini to fit your needs. This sentence repeats: Zhu Zi annotation



------------------------------------------------------------------------------------------



Xitami:
1. Copy the php.ini-dist to your Systemroot (Directory where you are installed Windows), rename it to PHP.ini, and
Edit it to fit your needs.

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

2. Make sure the webserver are running, and point your browser to Xitamis Admin console (usually http://127.0.0.1/admin), a nd click on Configuration

Confirm that the Web server is running, point to your Xitamis management console (usually http://127.0.0.1/admin), click Configure

3. Now navigate to the Filters, and put the extension which PHP should parse (i.e ... PHP) into the field File extensions (. xxx

Go to the filter and add the extensions you want to resolve in the extension field (such as. php)

4. In Filter command or script to put the path and name of your PHP executable i.e. C:phpphp.exe

Write the PHP executable path name (such as C:phpphp.exe) at the filter command or script

5. Press the ' Save ' icon

Save

IIS 4.0+ (ISAPI):
1. Copy the php.ini-dist to your systemroot (the directory where you installed Windows), rename it to PHP.ini, and
Edit it to fit your needs

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

2. Start the Microsoft Management Console or the Internet Services Manager, located in your control Panel

Run the console management or IIS service management program inside the control surface version,

3. Click on your webserver, and select Properties

Select a Web server, select Properties

4. If you don ' t want to perform HTTP authentication using PHP, you can (and should) skip this step. Under ISAPI Filters,
Add a new ISAPI filter. Use PHP as the filter name, and supply a path to the Php4isapi.dll

If you don't want to perform the HTTP proof of using PHP, you can skip this step. Add a new ISAPI filter under the ISAPI filter.



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.