Installation and configuration of PHP4.04+PWS under Win98
.... This paper mainly introduces the installation of PHP4.04 and mysql3.22.32 under the pws4.0 of Win98 system. The software in this article can be downloaded from the Software section of this website. .... Required software php4.04 Win32 bit installer mysql3.22 win 32-Bit Edition Shared edition phpmyadmin_2.0.5 best tool for managing MySQL database First step: Download the required program, install run MYSQL3.22 installer.
.... The download package is a ZIP file package that needs to be unpacked with tools such as WinZip, run Setup.exe installation, and the default installation directory is c:mysql. Unpack the PHP4 file package into the c:php directory. Unpack the phpMyAdmin into the C:admin directory. Step Two: Install the database and PHP4.
.... First determine if your system has installed PWS4 without first locating the installation PWS4 on the WIN98 system cdrom. If your system is WIN95 also install DCOM95, make sure your PWS4 is working properly, you can type http://localhost in the native IE to view the PWS page.
.... In the PHP directory there are 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 =./
For extension_dir = C:windowssystem
To modify or Extension=php_mysql.dll;
Remove the front ";" No.
Under the [MySQL] column, modify
Mysql.default_port = 3306
Mysql.default_host = localhost
Mysql.default_user = root
The original parameters of the three columns are empty.
Copy the php.ini to the C:windows directory
Modify Pws-php4.reg ". php" = "[******]\php4isapi.dll" to ". php" = "C:\php\php4isapi.dll"
Increase
". PhP3" = "C:\php\php4isapi.dll"
OK, this is to ensure that the file with the original PHP3 end of the general.
.... Right click on the Pws-php4.reg file, select Merge, add PHP4 to the registry.
.... Configure phpmyadmin_2.0.5
Locate the Config.inc.php3 file under C:admin Modify the following from line 10th
$cfgServers [1][host] = localhost;
$cfgServers [1][port] = 3306;
$cfgServers [1][adv_auth] = false;
$cfgServers [1][stduser] = root;
$cfgServers [1][stdpass] =;
$cfgServers [1][user] = root;
$cfgServers [1][password] =;
$cfgServers [1][only_db] =;
$cfgServers [1][verbose] =;
Modify Line 65th
Require ("english.inc.php3");
Require ("chinese_gb.inc.php3");
Save the file.
Reboot system Step Three: Testing
.... You can also add this file to the startup of the system by running the C:mysqlinmysqld-shareware.exe startup library.
.... Add a directory under PWS the admin points to the C:adminphpmyadmin directory and sets this directory to execute.
When you open http://localhost/admin/index.php3 in IE you can connect to MySQL database and you will be able to log in to the library. This indicates the entire system to work properly. You can also create a new PHP file as follows
File name info.php
View System Health File start
End of File
When you access this page in IE, you will get information about PHP running.
Note. All of the content in this article is run through the relevant platform, different PHP versions may vary under Winnt installation php.ini and DLL files are placed under C:winnt and C:winntsystem32 respectively.
http://www.bkjia.com/PHPjc/532044.html www.bkjia.com true http://www.bkjia.com/PHPjc/532044.html techarticle PHP4.04+PWS installation and configuration under Win98 .... This paper mainly introduces the installation of PHP4.04 and mysql3.22.32 under the pws4.0 of Win98 system. The software in this article can be downloaded from the Software section of this website ...