Author: King Kong
Email: cheng24@163.net
Contents: First, installs the APACHE1.3.9 (configures the httpd.conf file under the Conf directory)
1. #BindAddress * Changed to bindaddress 127.0.0.1
#Servername new.host.name changed to Servername localhost
2. Get your Apache to support PHP4. Add the following sentence:
scriptalias/php4/\ "C:/php4/\"
AddType application/x-httpd-php4. php
AddType APPLICATION/X-HTTPD-PHP4. php3
AddType APPLICATION/X-HTTPD-PHP4. PhP4
Action application/x-httpd-php4 \ "/php4/php.exe\"
3. Set the Apache virtual directory and add the following line:
alias/test/\ "C:/php3/test/\"
alias/jjjj/\ "D:/timenet/\"
4. To increase the default startup document:
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex INDEX.PHP4
5. test file info.php:
Enter http://localhost/info.php in the browser
Second, PHP4 installation (Php-4.0.2pl2-win32.zip)
1. Unzip the package to the C:\\PHP4.
2. Then copy all the DLL files under the directory to C;\\winnt\\system32, and do not overwrite existing DLL files. Copy the Php.exe and php.ini-dist two files under the catalogue to c:\\winnt;
3. Renamed Winnt\\php.ini-dist as PHP.ini, and found; Windows Extensions items will
Extension_dir = C:\\PHP4
Extension=php_zlib.dll
Extension =php_ldap.dll
Extension =php_zlib.dll
Extension =php_calendar.dll
Extension =php_exif.dll
Extension =php_ftp.dll
Extension =php_mssql70.dll (don't add this one, no MSSQL7.0)
Extension =php_imap.dll
Have to remove the front semicolon, did not add themselves. This section is prone to errors because it is specified in the php.ini file that an invalid or non-existent Php_*.dll file is loaded, and loading these error messages may also cause the browser to not find the server.
4. Php. INI Other settings:
Asp_tags = on; Allow ASP-style markup
Upload_max_filesize = 2097152; maximum bytes of uploaded file
(about MySQL settings)
Mysql.default_host = localhost;
Mysql.default_user = root;
Mysql.default_password= yourpasswd; Above
(When you use the Include function, only files in the specified directory can be included)
include_path = \\path1;\\path2;\\path3 ....
(only php files under the C:\\php4\\test directory can be executed)
doc_root= C:\\php4\\test
Third, MySQL installation (mysql-3.23.27-beta-win.zip)
1. Install MySQL first, the default installation path is: C:\\mysql
2. Open "Run" input C:\\mysql\\bin\\mysqld-nt.exe–install
3. Open the Administrative Tools-> Service, locate the MySQL service, and start it. Restart Windows2000.
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.