|
XAMPP
XAMPP provides a suite of products for hosting a local web server on your computer to run DynaDoc and other PHP scripts.
- Download the latest version of XAMPP for Windows.
- Install XAMPP. Do not install XAMPP in a Program Files folder. Instead use C:\xampp.
- Start XAMPP Control Panel. On the right side, click the Config button with the wrench in it.
- In Editor, navigate to your text editor's executable and select it.
- In Autostart, check the box next to Apache.
- Click Save.
- In the main control panel window, click the Config option across from Apache. Click the first item in the menu that appears, httpd.conf
- A text file should open in your text editor. There are two lines that need to be changed:
- Change
DocumentRoot "C:/xampp/htdocs" to DocumentRoot "C:/www"
- Change
<Directory "C:/xampp/htdocs"> to
<Directory "C:/www"> Do not remove the < > brackets.
- Restart Apache for the settings to take effect.
The www repository (which should have been downloaded earlier) has an index.htm file that is set up with links for DynaDoc and other required PHP programs. To access the web server, open a browser and enter http://localhost or http://127.0.0.1 in the address bar. You should see a page with Web tools, Apps, DynaDoc and Glossary links.
You can create an index.php file and include your own links, then at the bottom use the PHP include command to include the index.htm file with the DynaDoc links.
<?php
include "index.htm";
?>
|