PHP4.04 installation _php Tutorial in English Win2000

Source: Internet
Author: User
.... The purpose of writing this article is mainly to return the guide to the webmaster for everyone to write two articles on Win9x and Linux installed under the PHP4.04 article. Also want to be able to give beginners a little help. This paper mainly introduces the installation of PHP4.04 and mysql3.22.34 under IIS in English Win2000 system. The software in this article can be downloaded from this site. Because it is a reply to the guide of the article, so the article format and its same, but do not think it is copied yo (of course, there is a little bit,:))
.... Required Software
php4.04 Win 32-bit Setup program
mysql3.22.34 Win 32-Bit Edition shared edition
The first step is to download the required program and install the run MYSQL3.22 installer.
.... The download package is a ZIP file package that needs to be unpacked with tools such as WinZip, run Setup.exe installation, and the default installation directory is c:mysql. Unpack the PHP4 file package into the c:php directory.
The second step is to install the database and PHP4.
.... First determine if your system has IIS installed, if not then install IIS by the following method:), Win200 Professional version of the installation disk does not come with IIS, so you first to find a Win2000 server version of the installation disk, Then open control Panel, run Add/remove Programs select Add/remove Windows components to install Internet Information Services, and then follow the prompts for step by Step.ok, now that IIS is installed, the following PHP installation
.... The following files are available in the PHP directory after decompression
php.ini-dist
Msvcrt.dll
Pws-php4.reg
Libmysql.dll
Php.exe
Php4ts.dll
Php4isapi.dll
Php_mysql.dll
.... Copy all DLL files to your system directory, such as c:winntsystem32, note that Php.exe is not a standard executable program, so you must copy those DLL files to System32

Rename Php.ini-dist to PHP.ini
Modify Extension_dir =./
For extension_dir = C:winntsystem32
To modify or Extension=php_mysql.dll;
Remove the front ";" No.
Under the [MySQL] column, modify
Mysql.default_port = 3306
Mysql.default_host = localhost
Mysql.default_user = root
The original parameters of the three columns are empty.
Copy the php.ini to the C:winnt directory
Then open control Panel again, open administrative Tools, run Internet services Manager, click the right mouse button on the Web service, and select Properties, as shown in:

Figure A
Then select ISAPI Filter in the pop-up window, as shown in two:

Figure II
Add a subkey with PHP as the name, containing the Php4isapi.dll, and three examples:

Might
Then select configuration in Home directory to add an application mapping. Four, as shown in Figure five: But be careful with php4isapi.dll instead of php.exe!.

Figure Four

As shown in Figure five
The following is simple, you just restart the IIS service can use PHP
Third Step Test
.... Run the C:mysqlinmysqld-shareware.exe startup library, or use the C:mysqlinmysqld-shareware.exe--install command to load MySQL as a service. If you don't want to load it, you can uninstall MySQL with C:mysqlinmysqld-shareware.exe--remove.
.... You can also create a new PHP file as follows, and then run this info.php file under IE, if it is able to run, this indicates the entire system to work properly.
File name info.php
View System Health File start

End of File
When you access this page in IE, you will get information about PHP running.
Note. All of the content in this article is run through the relevant platform, different PHP versions may vary under Winnt installation php.ini and DLL files are placed under C:winnt and C:winntsystem32 respectively.

http://www.bkjia.com/PHPjc/532280.html www.bkjia.com true http://www.bkjia.com/PHPjc/532280.html techarticle .... The purpose of writing this article is mainly to return the guide to the webmaster for everyone to write two articles on Win9x and Linux installed under the PHP4.04 article. Also want to be able to give beginners a little help. This 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.