How to support Cgi,php,asp,mysql on 98

Source: Internet
Author: User
How to support Cgi,php,asp,mysql on 98
First install Win98 PWS, install perl (Download perl), install PhP4 (download). Where is the ASP? PWS itself.

It's on the pws,98 plate.

Enet Software site All software

Install MySQL (download mysql)

In the registry Heky_local_machine\system\currentcontrolset\services\w3svc\parameters\script Map

Add. cgi "C:/perl/bin/perl.exe%s%s" in
. pl ' C:\perl\bin\perl.exe%s%s '
. php "C:\php4\sapi\php4isapi.dll"
. PhP3 "C:\php4\sapi\php4isapi.dll"
. PhP4 "C:\php4\sapi\php4isapi.dll"
. phtml "C:\php4\sapi\php4isapi.dll"

PHP4 settings:
Install the PHP4 to the C:PHP4 directory copy php4ts.dll C:windowssystem
Change Php.ini.dist into php.ini
Edit php.ini file, find Doc_root=c:\php4, find Extension_dir = C:\php4\extensions after save
Copy php.ini C:\Windows

Start the computer again everything OK

PWS attribute Select Advanced/Edit Properties, read, execute, script, full hook

Test PHP: Edit test.php added to the C:\Inetpub\wwwroot directory, in IE localhost/test.php can see XIAOYUAN,PHP4 even if it succeeds

Test CGI: Edit test.cgi Join #!c:/perl/bin/perl
print "Content-type:text/htmlnn";
Print "Congratulations! The CGI program is running successfully! ";
Save to C:\Inetpub\wwwroot directory, in IE localhost/test.cgi can see congratulations! The successful execution of the CGI program was successful.

Install Mysql:setup The default installation is OK
Test mysql,c:\mysql\mysqld-shareware.exe boot MySQL mysql.exe enter SQL in the typing?:)

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.