# Sample Demo Windows Installation

> Source: https://manual.pvxplus.com/apache/sampleinstall

## Sample Windows Install

The following steps demonstrate a sample installation of the PxPlus Apache interface on Windows.

Note:  
This example is using Apache version 2.2 3. *The download and file pathname may vary between releases*.

| **Step** | **Description** |
| --- | --- |
| 1\. | Download the current Apache 2.2.3 and install it.<br>**[https://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.3-win32-x86-no_ssl.msi](https://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.3-win32-x86-no_ssl.msi)** |
| 2\. | Download the latest PxPlus version and install it. |
| 3\. | Add DEMO key for PxPlus.<br>This is used for the purposes of this example; however, in production, you would enter your proper activation key and register the product. |
| 4\. | Create a program directory ***prog*** in:<br>C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs |
| 5\. | Start PxPlus to Command mode and enter the following test program:<br>```<br>0010 PRINT (%PRINT_FN) "Hello World from PxPlus on Apache"<br>```<br>Save it to:<br>C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\prog\\demo.pxp |
| 6\. | Copy the file ***windows.pxp.cgi*** from the ***\*plus/apache*** directory to:  <br>  <br> C:\\Program Files\\Apache Software Foundation\\Apache2.2\\cgi-bin\\**pxp.cgi**<br>Note:  <br>File was renamed. |
| 7\. | Open the ***pxp.cgi*** file (from above) using Notepad to verify the pathname to the *pxplus.exe* is correct:  <br>  <br> #! "C:\\Program Files\\PVX Plus Technologies\\PVX Plus\\pxplus.exe" -bkg \*plus/apache/pxp_cgi -arg debug  <br>  <br>If needed, change the pathname and save file. |
| 8\. | Edit the Apache configuration file using Notepad and search for first "AddHandler", which (in this version) was on a line as follows:<br>\# AddHandler allows you to map certain file extensions to "handlers":<br>Scroll down to the following lines:<br>```<br>#AddOutputFilter INCLUDES .shtml<br></IfModule><br>```<br>Insert the following lines (in **red**), as per the **[Apache Configuration](https://manual.pvxplus.com/apache/config)** document:<br>```<br>#AddOutputFilter INCLUDES .shtml<br></IfModule><br>#<br># PxPlus program CGI handler<br>#<br>AddHandler pxplus-srvr .pxp .pvp <br>Action pxplus-srvr "/cgi-bin/pxp.cgi"<br>```<br>Resave the configuration file. |
| 9\. | Restart the Apache server using the *Start -> Programs -> Apache -> Control Apache Server -> Restart* option.  <br>  <br>This can also be done from the *Control Panel*. |
| 10\. | Launch Explorer and enter:<br>http://localhost/prog/demo.pxp |
