My view on installing Php4.0+mysql under Windows IIS5

Source: Internet
Author: User
I have been in contact with PHP for a period of time, has been in the company configuration of the environment under development, always want to try their own installation, and finally my classmate gave me this opportunity. Now I will publish my opinion and a little supplement according to the article of this website.
One, install MySQL.
First download a package is necessary, and then unzip it to your temporary directory, click on the installer, according to the instructions in the program to install the end.
The 2nd step, according to the site of the article should be in the "Start"---"Run" in the key such as "C:\mysql\bin\mysqld-nt-install" to run the program, and then "management tool" to find its "MySQL" and make it run, but I am in accordance with its method is not, Finally, I went directly to the MySQL installation directory, directly running c[your installation disk]:mysql\bin\win\mysqladmin.exe. After (you must type your username and password for the first time) the traffic lights that the user longs for appear. MySQL has been installed by now.
Second, install php4.0
Of course still want its software package, unpack the package into your installation directory, then copy the directory of Php.exe and php.ini-dist two files to the C:\Winnt, C:\winnt\php.ini-dist renamed to PHP.ini, and open it, find; Windows Extensions, will be Extension=php_calendar.dll (this file may have some packages no, I have no, but I did not set it still as usual), Extension=php_zlib.dll, Extension=php_ldap.dll ..... (These should be your PHP contains some *.dll) before the ";" remove; If you want to modify your upload temp directory to find Paths and directories This column, add it:; upload_tmp_dir= add your storage directory! Close the file when finished. Then copy all the DLL files under the directory to C;\winnt\system32, don't overwrite existing DLL files, open the Internet Services Manager under Administrative Tools under Control Panel under the Start button, select Default Web site, and open its properties Window. Under the Web Site page, change the IP address: "All Unassigned" (the IP address of your machine, for example: 127.0.0.1 is generally the default for individuals is 127.0.0.1) "; TCP port is" 80 ".
Next, select the Home Directory page, after clicking the Configure button under Application settings, click the Add button under the New window, enter C:winntphp.exe%s%s in the executable file, enter ". php" in the extension, and click OK. Of course you want other extensions such as *.PHP3, and so on, you can add: "C:winntphp.exe%s%s", enter ". PhP3" in "extension", and click "OK".
Next, select the ISAPI filter page, click the Add button, enter "PHP" in the filter name, enter "C:\WINNT\system32\php4isapi.dll" in the executable, and click OK.
Next, select the Documents page, click the Add button, and enter "INDEX.PHP3" in the default document name (these are, of course, what files you want to add to your environment by default), click "OK" and raise it to the highest level.
When all windows are closed and the system is restarted, ie browser can be opened for testing.
Ha ha. Is it out, go out to play ...


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.