APMonitor Server for Windows
The APMonitor server is installed in three steps including (1) Apache web server installation, (2) PHP installation, and (3) APMonitor server files. Below are installation instructions for Windows 10. A Linux web server is also available.
Step 1: Apache Web Server
- Microsoft C++ Redistributable
- Apache Lounge
- Start command prompt with "cmd" as an Administrator
- Install Apache with "C:\Apache24\bin\httpd.exe -k install"
- Start Apache with "C:\Apache24\bin\httpd.exe -k start"
- Test Apache by visiting "https://127.0.0.1" or "https://localhost"
- Verify that message "It Works!" shows in the web-page
Step 2: PHP Installation
- PHP Download for Windows
- Stop Apache with "C:\Apache24\bin\httpd.exe -k stop"
- Extract files to C:\php7
- Add the following lines to C:\Apache24\conf\httpd.conf
LoadModule php7_module "c:/php7/php7apache2_4.dll" <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> PHPIniDir "C:/php7"
- Modify the following line in C:\Apache24\conf\httpd.conf to allow index.php to be an index page
<IfModule dir_module> DirectoryIndex index.html index.php </IfModule>
- Copy php.ini-production to php.ini
- Change line to "max_execution_time = 100000000"
- Restart Apache with "C:\Apache24\bin\httpd.exe -k start"
Step 3: APMonitor Installation


- Unzip file contents from apmonitor_install.zip
- Copy all files to C:\Apache24\htdocs folder
- Test installation with:
- https://127.0.0.1/ip.php (Retrieve IP address, verifies that PHP is working)
- https://127.0.0.1 (Local host homepage)
- Run scripts in test_* to test MATLAB, Python, or Julia with the APMonitor Optimization Suite