DVD to iPod Converter for Mac | DVD to iPhone Converter for Mac | iPod to Computer Transfer | iPod to Mac Transfer
   
Home > Blog > 'How to' solutions > Guide: How to Add PHP Support in NetServe Web Server?

Guide: How to Add PHP Support in NetServe Web Server?

  • Posted by admin
  • -
  • October 25, 2007
  • -
  • Filed in 'How to' solutions
  • -
  • 2,132 hits
  • NetServe Web Server NetServe Web Server supports many different scripting languages through the use of the Common Gateway Interface (CGI), such as ASP, Perl and PHP.

    There are three simple steps to successfully add PHP support to NetServe

      1. Download the PHP Interpreter from

      http://www.php.net/downloads.php

      2. Once downloaded run the installation package and follow its on screen prompts.

      3. You will now need to add some NetServe settings.

    Setting the File Extensions

      Right click on the NetServe icon in the system tray (bottom right of screen) and select "Server Options" from the menu.

      Now click on the CGI Interpreters button, using the CGI Interpreters window, enter "php" as the file extension, this will allow PHP to interpret files with extensions of php.

    Setting CGI Interpreter Path

      Now enter the complete CGI Interpreter path, this will be the path where you installed PHP, which by default would have been "C:PHPphp.exe" clicking add will add this Interpreter into the CGI Interpreters List, clicking OK will confirm the changes.

      If you plan on using the PHP Interpreter straight away, ensure that the "Use CGI Interpreters" check box is ticked before clicking OK on this window.

    Setting the Appropriate Security Levels

      To allow scripts to be run you must set the security level of the folder containing your PHP Scripts.

      In The Folder Security screen, add an alias (for example /CGI-BIN) with a Realm description of your choice (The longer the more secure).

      Ensure the "Allow Scripts" check box is ticked, and any other permissions you want to apply to this folder (and sub folders) are ticked, then click Add and OK.

    Security Permissions

      Adding the following entry into the Custom CGI Variables is required for PHP to operate correctly.

      Add the CGI Variable REDIRECT_STATUS and the CGI Value of 200

    NetServe Web Server

      NetServe is a super compact Web Server and File Sharing application for Windows NT, 95, 98, 2000, and XP. It’s HTTP Web Server can serve all types of files including html, gif and jpeg, actually any files placed in your NetServe directory can be served.

      New key features include Server-Side-Include (SSI) support and CGI/1.1 support giving you the choice of your prefered scripting language, including but not limited to; Perl, ASP and PHP, to create your dynamic content.

    RestNews

    Leave a Reply

    Topics


    Related posts
    » Editor’s Review: UltraEdit-32 - Text, HEX, HTML, PHP, Java, Javascript, Perl editor» Guide: How to Use MicroAdobe Html Editor to create and edit HTML, PHP, ASP, JSP, CSS, XLST?» Guide: Top Free PHP Editor Software» New additions to our software library on Feb 14, 2009: ZZEE PHP GUI - Easily run PHP scripts…» Guide: How to Add ASP Support in NetServe Web Server?» Guide: How to Add Perl Support in NetServe Web Server?» New additions to our software library on Jan 23, 2008: SkinCrafter - a powerful tool for…» New additions to our software library on Jun 21, 2008: Reflector - Metadata browser for…» New additions to our software library on Feb 23, 2006: DesktopPlus - DesktopPlus allows you…» New additions to our software library on Feb 5, 2008: Nero Burning Rom 6 - Nero Burning Rom is an…


    Popular Tags


    Blogroll
    iPhone Games DRM Removal Software Outlook Password Recovery Zune Software BlackBerry Converter


    Copyrright (c) 2001~2009 DownloadAtoZ.com We provide 100,000+ software programs for free download. Your best choice of software reviews & downloads.