PHP4 + PWS Installation and configuration under Windows 9x

Source: Internet
Author: User
Tags ini
This paper mainly introduces the installation of PHP4.04 and mysql3.22.32 under the pws4.0 of Win98 system.
The software in this paper can be downloaded from the Software section of this website.
.... The required software
php4.04 Win 32-bit installer
Mysql3.22 Win 32-bit version share
phpmyadmin_2.0.5 the best tool for managing MySQL databases
The first step: Download the required program, install the Run MYSQL3.22 installer.
.... The download package is a ZIP file package required WinZip and other tools to unlock, run Setup.exe installation, the default installation directory is c:mysql. Unpack the PHP4 package into the c:php directory. Unlock the phpMyAdmin to the C:admin directory.
Step Two: Install Database and PHP4.
.... First determine if your system has installed PWS4 without first finding the installation PWS4 on the WIN98 system cdrom. If your system is WIN95 also to install DCOM95, make sure your PWS4 is running normally, you can type http://localhost to view PWS page in this computer ie.
.... The following files are available 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
Modify Extension_dir =./
For extension_dir = C:windowssystem
to modify; Extension=php_mysql.dll.
To remove the front ";" Resolution
Modify under the [MySQL] bar
Mysql.default_port = 3306
Mysql.default_host = localhost
Mysql.default_user = root
The three column original parameters are empty.

Copy php.ini to c:windows directory
Modified Pws-php4.reg ". php" = "[******]php4isapi.dll" to ". php" = "C:phpphp4isapi.dll"
Increase
". PhP3" = "C:phpphp4isapi.dll"
Line, this is to ensure that with the original PHP3 end of the file's general.
Related Article

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.