PHP4.04 installation _php Tutorial under Win98

Source: Internet
Author: User
Tags php3 file unpack
.... 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 Win 32-bit Setup program
mysql3.22.34 Win 32-Bit Edition shared edition
phpmyadmin_2.0.5 best tools for managing MySQL Databases
The first step is to download the required program and install the 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.
The second step is to 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.
.... 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 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
Third Step Test
.... 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/532274.html www.bkjia.com true http://www.bkjia.com/PHPjc/532274.html techarticle .... 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 Win 32 bit ...

  • 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.