Install ApachePHP4MySQL in Windows2000. Content: 1. install APACHE1.3.9 (configure the httpd. conf file in the conf directory) 1. # change BindAddress * to BindAddress127.0.0.1 # change Servernamenew. host. name to Servernamelocalhost2.
Content: 1. install APACHE1.3.9 (configure the httpd. conf file in the conf directory) 1. # change BindAddress * to BindAddress 127.0.0.1 # Change Servername new. host. name to Servername localhost 2. Let your APACHE support PHP4. add the following sentence: ScriptAlias/php4/"C:/php4 /" AddType application/x-httpd-php4. php AddType application/x-httpd-php4. php3 AddType applications/x-httpd-php4. php4 Action application/x-httpd-php4 "/php4/php.exe" 3. set the Apache virtual directory and add the following lines: Alias/test/"c:/php3/test /" Alias/jjjj/"d:/timenet /" 4. added 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 、Php4installation (php-4.0.2pl2-win32.zip) 1. decompress the package to c: \ php4. 2. copy all dll files in the directory to c; \ winnt \ system32. do not overwrite the existing dll files. Copy the php.exe and php. ini-dist files in the directory to c: \ winnt; 3. rename winnt \ php. ini-dist to php. ini and find it. for Windows Extensions, set 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 (do not add this item, no MSSQL7.0) Extension = php_imap.dll If yes, remove the semicolon. if not, add the semicolon. This part is prone to errors because an invalid or nonexistent php _ *. dll file is specified in the php. ini file. loading these error messages may cause the browser to fail to find the server. 4. other PHP. INI settings: Asp_tags = On; promise to use ASP-style tags Upload_max_filesize = 2097152; maximum size of the uploaded file (About mysql settings) Mysql. default_host = localhost; Mysql. default_user = root; Mysql. default_password = yourpasswd; and 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 3. install mysql(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 "governance tool"-> "service", find the "mysql" service, and start it. Restart windows2000. |
|
Install APACHE1.3.9 (configure the httpd. conf file in the conf directory) 1. # change BindAddress * to BindAddress 127.0.0.1 # change Servername new. host. name to Servername localhost 2. let...