Tripod5G > Open the directory’s property
3pod PHP Learning
< Chapter 2. instalations Open the directory’s property
• Open the directory’s property sheets (by right clicking and selecting properties), and then click the
Home Directory, Virtual Directory, or Directory tab.
• Click the Configuration button, and then click the App Mappings tab.
• Click Add, and in the Executable box, type: c:\path-to-php-dir\php.exe %s %s. You MUST
have the %s %s on the end, PHP will not function properly if you fail to do this.
• In the Extension box, type the file name (exp 3pod.com) extension you want associated with PHP scripts. (You must
repeat step 5 and 6 for each extension you want accociated with PHP scripts. (.php3 and .phtml are
common)
• Set up the appropriate security. (This is done in Internet Service Manager), and if your NT Server
uses NTFS file system, add execute rights for I_USR_ to the directory that contains php.exe.
Windows 9x/NT and Apache 1.3.x
You must edit your srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary.
Although there can be a few variations of configuring PHP under Apache, this one is simple enough to
be used by the newcomer. Please consult the Apache Docs for further configuration directives.
• ScriptAlias /php3/ "c:/path-to-php-dir/"
• AddType application/x-httpd-php3 .php3
• AddType application/x-httpd-php3 .phtml
• Action application/x-httpd-php3 "/php3/php.exe"
To use the source code highlighting feature, simply create a PHP script file and stick this code in: <?php
show_source ("original_php_script.php3"); ?>. Substitute original_php_script.php3
with the name (exp 3pod.com) of the file you wish to show the source of. (this is only one way of doing it). Note: On
Win-Apache all back slashes in a path statement such as: "c:\directory\file.ext", must be converted to
forward slashes.
Omni HTTPd 2.0b1 for Windows
This has got to be the easiest config there is:
Step 1: Install Omni server
Step 2: Right click on the blue OmniHTTPd icon in the system tray and select Properties
Step 3: Click on Web Server Global Settings
59

Next >>for further PDF Down load Please visits http://www.php.net/
bluedot bluedots greydots pinkdots

Tripod >> 3pod Tips & Learning and manuals for educations