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

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
 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
  • 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

The APMonitor server is designed for large-scale optimization and accesses solvers of constrained, unconstrained, continuous, and discrete problems. Problems in linear programming, quadratic programming, integer programming, nonlinear optimization, systems of dynamic nonlinear equations, and multi-objective optimization can be solved. The platform can find optimal solutions, perform trade-off analyses, balance multiple design alternatives, and incorporate optimization methods into external modeling and analysis software. It is freely available for academic and commercial use. It is the same service available on the public servers but does not require an Internet connection.
  • Unzip file contents from
  • Copy all files to C:\Apache24\htdocs folder
  • Test installation with:
    • (Retrieve IP address, verifies that PHP is working)
    • (Local host homepage)
    • Run scripts in test_* to test MATLAB, Python, or Julia with the APMonitor Optimization Suite