New users configure the PHP debugging environment (IIS + PHP + MYSQL ). Objective: to configure the environment for running PHP (IIS + PHP + MYSQL + CF + Perl) support for php + cgi + asp + jsp and other operating systems: Windows advanceserver (sp3) simplified Chinese version requires related software: i. p objective: to configure the environment for running PHP (IIS + PHP + MYSQL + CF + Perl) support for php + cgi + asp + jsp, etc.
Operating system: windows2000 advance server (sp3) simplified Chinese version
Required software:
A: php-4.3.0-Win32.zip, download to the corresponding site, I upload files is not convenient, the following is the same.
2: ActivePerl-5.6.1.635-MSWin32-x86.msi, note, must download the installation file, that is to say. if you do not want to support cgi, you can skip the installation.
3: mysql-4.0.7-gamma-win.zip
4: MM ColdFusion MX (whether or not there is such a pull, I also pretend to play, mainly support PHP + MYSQL)
Everything is based on the sub-directory on my machine. assume that L: \ WEB is your site root directory on your machine.
Decompress php-4.3.0-win32.zip to the L: \ php directory.
Copy php4ts. dll in the php directory to the winnt \ system32 directory.
Copy php. ini. dist to the winnt directory and remove the extension. dist to get the php. ini file. Use Notepad to open and modify the two parameters:
1. search for extension_dir and point it to your PHP extensions directory. for example, if I am L: \ PHP \ extensions, modify it as follows:
Extension_dir = L: \ PHP \ extensions. you can modify extension when you want to support some extension libraries.
Save php. ini
Install mysql:
Open the mysql-4.0.7-gamma-win.zip package
Double-click setup.exe to run the program. during the installation process, select the mysql installation directory (of course, you can use the default directory). For example, if I install mysql in the L: \ mysql Directory, run L: \ mysql \ bin \ mysqld-nt.exe, in fact, after the general installation is completed, the system will automatically start the service, if you do not worry about the "service" to see whether mysql started
I don't know whether to install the M $ Office to support asp. I have installed all the office after installing the system. it is estimated that asp is supported even if the system is not installed, (If you don't want it to support asp, you can ignore it)
Install the perl interpreter:
Run the ActivePerl-5.6.1.635-MSWin32-x86.msi, select the L: \ perl directory during installation, of course, you should also by default.
Install ColdFusion MX of MM. I installed it in the L: \ ColdFusionMX directory.
Configuration Server, Hey, I have to open photoshop to figure it here. that's hard to say.
Click Start> Program> Administrative Tools> Internet service manager.
Click "default web site", right-click it, and select "properties" to open the dialog box.
Click "main directory" and make the following settings: in "local path", select the folder on your machine as the root directory of the site. for example, if my folder is L: \ WEB, for example: click "configuration" in the lower right corner to bring up a new dialog box.
Select "add" in the new dialog box"
In the executable file, select L: \ php \ sapi \ php4isapi. dll. in the Browse dialog box, select *. dll. Otherwise, the directory under L: \ php \ sapi \ will not be visible. dll file. enter it in the extension after selecting the file. php, for example:
Click OK
The preceding method adds L: \ perl \ bin \ perlis. dll, set the extension. cgi (this is my own research. I didn't see any information when installing cgi support, like php, like drawing a gourd like a sample). If you set it, click OK.
The last step is to set the default file, that is, index. php pulling or something. for example, after setting the file, close "Internet service manager"
It seems like this is okay. test the php pull, others write their own programs for testing, and create an info. the php file is saved in your web root directory. open it in Notepad and copy the following content to save it:
Phpinfo ();
?>
If everything goes well, we will see the following page:
Finally, I wish you a pleasant PHP experience.
In addition, after mm cfmx is installed, the site will automatically stop. please start it. another option to be modified is:
Find setcp under the Directory L: \ CFusionMX \ db \ slserver52 \ admin. bat: create a shortcut in the current directory. remember that the file name is also setcp. bat, right-click the shortcut, select Properties, add spaces and uppercase OS to the target, and click OK,
For example, L: \ CFusionMX \ db \ slserver52 \ admin \ setcp. bat OS
This is to solve the garbled problem. my friend told me that it would be okay to restart the computer after modification.
Note: Many people say that the debugging is not successful and the information similar to this is displayed:
Warning: Unknown (D: \ www \ phpinfo. php): failed to create stream: No such file or directory in Unknown on line 0
Warning: Unknown (): Failed opening 'd: \ www \ phpinfo. php' for future Sion (include_path = '.; c: \ php4 \ pear') in Unknown on line 0
The file info.php is incorrect. the extension name is incorrect. PHP, and the extension name is a. txt file. only the extension name can be dropped. txt.
Middleware (IIS + PHP + MYSQL + CF + Perl) supports php + cgi + asp + jsp and other operating systems: windows2000 advance server (sp3) simplified Chinese version requires related software: 1: p...