Installing php4.0 + mysql in windows iis5

Source: Internet
Author: User

I have been using php for a while and have been developing it in the company's configured environment. I always want to try to install it myself. My classmates finally gave me this opportunity. Now I will share my views and some additional comments based on my article on this site.
1. Install mysql.
First download a software package is required, and then decompress it to your temporary directory, click the installer, according to the instructions in the program prompts that the installation is complete.
Step 2: Based on the article on this site, you should run the program in "start" --- "run" and type "c: \ mysql \ bin \ mysqld-nt-install, find its "mysql" in the "management tool" and run it. However, I cannot do it by using the method. Finally, I directly go to the mysql installation directory, run C [your installation disk]: mysql \ bin \ win \ mysqladmin.exe. after (you must enter your username and password for the first time), the desired traffic light will appear. Now mysql has been installed.
2. Install php4.0
Of course, you need to decompress the software package to your installation directory and connect php.exe and php. copy the ini-dist files to c: \ winnt, and copy c: \ winnt \ php. ini-dist is renamed as php. ini, open it, and find; Windows Extensions, replace extension = php_calendar.dll (this file may not have some software packages, and I will not, but I still use it as usual if I didn't set it), extension = php_zlib.dll, extension = php_ldap.dll ........ (these should be included in your php *. dll). If you want to modify the temporary upload directory, you can find the Paths and Directories column and add it:; upload_tmp_dir = to your storage directory! Close the file. Copy all dll files in the directory to c; \ winnt \ system32, do not overwrite the existing dll files; open "internet Service Manager" under "Administrative Tools" under "Control Panel" under "start", select "Default web site", and open its "properties" window. On the "web site" Page, change "ip address": "All not allocated" to "(your host's IP address, for example, 127.0.0.1 is generally 127.0.0.1 by default for individuals) ";" TCP port "is" 80 ".
Next, select the "main directory" page, click the "configuration" button under "application settings", and click the "add" button in the new window; enter "C: WINNTphp.exe % s" in the executable file, and enter ". php, and click OK ". Of course you want other extensions such *. you can add "C: WINNTphp.exe % s" in php3 and enter ". php3 "and click" OK ".
Next, select the "ISAPI filter" page, click the "add" button, enter "php" in the "Filter Name", and enter "C: \ WINNT \ system32 \ php4isapi. dll, and click OK ".
Next, select the document page and click the Add button. In the default Document Name field, enter index. php3 "(these are of course the files you want to add to the environment by default), click" OK ", and raise it to the highest level.
Close all windows. After restarting the system, you can open IE browser for testing.
Haha. Are you out? Go out and have fun ........

[This article is copyrighted by the author and osuo. If you need to reprint it, please indicate the author and its source]

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.