PHP4 installed in Chinese Win2000 IIS5 (written in April 2001, may have been out of time, put in this commemoration)
1. Unzip PHP-4.0.0-Win32.zip to D: / PHP directory. 2. Copy MSVCRT.DLL (possibly existing) and php4ts.dll to the C: / WinNT / System32 directory. 3. Copy php.inn-dist to C: / Winnt directory, renamed it is php.ini. 4. Modify PHP.INI:
Remove the semicolons of the following lines to use MySQL. EXTENSION = php_mysql.dll
Modify the following line, specify the directory where the PHP is: extension_dir = "d: / php"
5. Start -> Program -> Administrative Tools -> Internet Service Manager: Double-click Server Name -> Default Web Site -> Right Key -> Properties ->
ISAPI Filter -> Add: Filter Name: PHP Executable: Browse -> D: /PHP/PHP4isapi.dll, OK, OK, Application.
Documentation -> Add -> Adding INDEX.PHP, etc. application.
Home>> Configuration -> Application Mapping -> Add: Executable Document is D: /PHP/php4isapi.dll extension is PHP, determined.
6. Restart IIS: Start -> Run -> CmdNet Stop Iisadminnet Start W3SVC
7. Test: Create a simple PHP file 1.PHP -------------------------------------
php $ a = "Hello World"; Echo $ A;?>
body> html> -------------------------------------- saved files to The c: / inetpup / wwwroot / phptest directory runs IE, http: //localhost/phpteest/1.php shows that Hello World is successfully installed.
//
Mysql installed in Win2000
1. Unzip MYSQL-SHAREWARE-3.22.30-Win.zip to a directory D: / TMP2. Run D: /TMP/setup.exe for installation, select the installation directory to D: / mysql3 during the installation process. Use Ultruedit to open my-example.cnf file, modify where #basedir = d: / mysql / row, remove #basedir = d: / mysql /
Save as c: /my.cnf4. Run the mysqld-shareware.exe daemon, in D: / mysql / bin, install: D: / mysql / bin> mysqld-shareware.exe --install
(You can see a mysql service in the start -> program -> management tool -> service after installation.)
5. Start mysql service: Net Start MySQL
6. Run d: / mysql / bin> mysql appearance prompt mysql>
Note The installation is successful.
# Note that the commands under the MySQL prompt must be valid at the end of the semicolon. For example: mysql> show databases; ---------- | Database | ---------- | MySQL || Test | --------- - 2 ROWS IN Set (0.15 sec)
(Written by Netying 2001 April 9) ZrH1999 # 163.Net http://www.filesee.com