This article mainly introduces the installation of PHP4.04 and mysql3.22.32 under win98 system pws4.0.
All the software mentioned in this article can be downloaded from the software section of this website.
....Required software
php4.04 win 32-bit installation program
mysql3.22 win 32-bit shared version
phpmyadmin_2.0.5 The best tool for managing MYSQL databases
No. Step one: Download the required program, install and run the MYSQL3.22 installation program.
....The download package is a ZIP file package that needs to be unpacked with tools such as WINZIP and installed by running setup.exe. The default installation directory is c:mysql. Unpack the PHP4 file package to the c:php directory. Unzip phpmyadmin to the c:admin directory.
Step 2: Install database and php4.
.... First, make sure your system has PWS4 installed. If not, first find and install PWS4 on the WIN98 system CDROM. If your system is WIN95 and you need to install DCOM95, make sure your PWS4 is running normally. You can type http://localhost in the local IE to view the PWS page.
.... There are the following files in the PHP directory
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
Change extension_dir = ./ No.
Modify under the [mysql] column
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = root
The original parameters of these three columns are empty.
Copy php.ini to the c:windows directory
Modify pws-php4.reg and change ".php"="[******]php4isapi.dll" to ".php"= "c:phpphp4isapi.dll"
Add
".php3"="c:phpphp4isapi.dll"
line. This is to ensure compatibility with the original files ending with PHP3.