Win98 builds debugging ASP, Perl, PHP three environments

zhaozj2021-02-08  212

In order to debug the programming environment of the three scripts, you must install the PWS (Personal Web Server) personal web server that Microsoft's Win98 release (in the add-on directory of the Win98 CD). 1. When installing the PWS installation, select Custom Installation, in the subcomponents of the Personal Web Server (PWS), double-click "Document", then select "AVTIVE Server Pages" as the ASP, continue. After installation, restart. At this point, an icon appears in the lower right corner in the taskbar, right-click, and determine the service. Then open the IE browser, in the address bar, enter "127.0.0.1", IE the IE browser starts accessing PWS. 2. The debugging of the ASP script enters the wwwroot directory where PWS is installed, and a Test.asp file is created. The content is as follows: <% = DATE ()%> <% and%> The program is executed by the PWS interpretation, its program code It does not pass it to the browser, so protected, this is the characteristics of embedded scripts. Date () is a function of requesting the system date. Enter "127.0.0.1/test.asp" in the address bar in the IE browser to return to the IE browser. 3, Perl script debug first installing Perl for Win32 or ActivePerl, then modify the system registry. Enter the "regedit" point in the run window, go to HKEY_LOCAL_MACHINESYSTEMCURRONTCONTROLSETSERRVICESW3SVCPARETROLSETSERRVICESW3SVCPARETERSSCRIPT MAP Add a string value in the right window of the registry, name ".pl" or ".cgi", the key value is named c: perlbinperl.exe% s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Restart the computer, enter the wwwroot directory where PWS is installed, create a Test.pl file, the content is as follows: #! C: perlbinperl print "Content-type: text / htmlnn"; print " "; print "Perl Script OK! N "; Print" "; double-click the server icon under the taskbar, click" Advanced "in the Personal Web Manager, then click" Programming Properties "," In the option to perform it. Enter "127.0.0.1/test.pl" in the address bar in the IE browser is "Perl Script OK!" Means that Perl debugging is successful! 4. The PHP script debugging first installs the PHP3 for Win32, and then modify the system registry. Enter the "regedit" point in the Run window, go to HKEY_LOCAL_MACHINESYSTEMCURRONTCONTROLSETSERRVICESW3SVCPARETROLSETSERRVICESW3SVCPARETROLSCRIPT MAP Add a string value in the right window of the registry, name ".php" or ".php3", the key value is named c: php3php.exe% s% s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Return to HKEY_CLASESS_ROOT New Primary Key ".php3" or ".php" to create a new primary key "shell" to create a primary key "open" to create a primary key "command", double-click "Default" in the right window, key value is C: php3php .exe -q% 1 ^^^^^^^^^^^^^^^ -------------- install the path to the PHP3. Restart the computer, enter the wwwroot directory where PWS is installed, create a Test.php3 file, the content is as follows: Double-click the server icon under the right of the taskbar, in the personal Web Manager Click "Advanced", click "Programming Properties", hook in the "Perform" option. Enter "127.0.0.1/test.php3" in the address bar in the IE browser is "PHP3 Script OK!" Means that PHP3 debugging is successful! So far, your PWS can debug three different scripting languages, haha ​​(should be drummed). _ / Http://nxgov.com .- == / ~ ___ / _, __, _ __ ____ ____ __) / / {~}} -, ---, --------- ---------, '-' {{~} Webmaster@nxgov.co '- ==} / author: Unknown source: www.wuhan027.com

转载请注明原文地址:https://www.9cbs.com/read-2946.html

New Post(0)