PHP4.04 installation in win98 ..... This document describes how to install PHP4.04 and mysql3.22.32 in win98 pws4.0. All the software involved in this article can be downloaded from the software section on this site ..... The required software-php4. 04win32 bit... this article mainly introduces the installation of PHP4.04 and mysql3.22.32 in win98 pws4.0. All the software involved in this article can be downloaded from the software section on this site. ... Required software
· Php4. 04 win 32-bit installer
· Mysql3. 22.34 win 32-bit shared edition
· Phpmyadmin _ 2.0.5 is the best tool for managing MYSQL databases.
Step 1 download the required program and install and run the MYSQL3.22 installer.
....The downloaded package is a zip file that needs to be removed using the winziptool. run setup.exe to install the package. the default installation directory is c: mysql. Unpack the PHP4 file package to the c: php directory. Unbind phpmyadmin to the c: admin directory.
Step 2 install the database and php4.
... First, check whether your system has installed PWS4. if not, find and install PWS4 on the CDROM of WIN98. If your system is WIN95 and you want to install DCOM95, make sure that your PWS4 is running properly. you can type http: // localhost in IE on the local machine to view the PWS page.
... The PHP directory contains the following files:
· Php. ini-dist
· Msvcrt. dll
· Pws-php4.reg
· Libmysql. dll
· Php.exe
· Php4ts. dll
· Php4isapi. dll
· Php _ mysql. dll
... Copy all dll files to your system directory, such as C: windowssystem.
Rename php. ini-dist to php. ini.
Modify extension_dir = ./
Extension_dir = c: windowssystem
Modify; extension = php_mysql.dll
Remove ";" from the front
In the [mysql] bar, modify
Mysql. default_port = 3306
Mysql. default_host = localhost
Mysql. default_user = root
The original parameters in the three columns are empty.
Copy php. ini to the c: windows directory.
Modify pws-php4.reg to ". php" = "[******] \ php4isapi. dll" to ". php" = "c: \ php \ php4isapi. dll"
Add
". Php3" = "c: \ php \ php4isapi. dll"
Line. this is to ensure that it is common to the original file ending with PHP3.
... Right click the pws-php4.reg file, select merge, add PHP4 to the registry.
... Configure phpmyadmin_2.0.5
Under c: admin, find the config. inc. php3 file and modify it from row 10th as follows:
$ Incluservers [1] [host] = localhost;
$ Export servers [1] [port] = 3306;
$ Incluservers [1] [adv_auth] = false;
$ Incluservers [1] [stduser] = root;
$ Incluservers [1] [stdpass] =;
$ Incluservers [1] [user] = root;
$ Login servers [1] [password] =;
$ Pipeline servers [1] [only_db] =;
$ Incluservers [1] [verbose] =;
Modify row 65th
Require ("english. inc. php3 ");
Require ("chinese_gb.inc.php3 ");
Save the file.
Reboot System
Step 3 test
... Run c: mysqlinmysqld-shareware.exe boot number library, you can also add this file to the startup of the system.
... Add the directory admin under PWS to point to the c: adminphpMyAdmin directory and set this directory to run.
Open http: // localhost/admin/index. php3 in IE and connect to the MYSQL database. you can perform operations on the base. This indicates that the entire system can work normally. You can also create a new php file as follows:
File name info. php
// View the system status file.
// End the file
When you access this page in IE, you will get the PHP running information.
Note. all content in this article is run on the relevant platform in this article. different PHP versions may be different when php is installed in WINNT. ini and dll files are stored in c: winnt and c: winntsystem32 respectively.
Bytes. All the software involved in this article can be downloaded from the software section on this site. ... Required software · php4. 04 win 32-bit...