PHP4.04 + PWS installation and configuration under Win98

Source: Internet
Author: User
Tags php3 file win32 installer
PHP4.04 + PWS installation and configuration under Win98... this article mainly introduces PHP4.04 and mysql3.22.32 installation under win98 system pws4.0. All the software involved in this article can be downloaded from the software section on this site ..... Php4.04win32 installation program mysql3.22win32 shared version phpmyadm


PHP4.04 + PWS installation and configuration under 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.04 win32 installer mysql3.22 win 32-bit shared version phpmyadmin_2.0.5 is the best tool for managing MYSQL databases. Step 1: download the required software 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.
... PHP directory contains the following file: 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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.