Installing the Sample Applications for PHP on Linux

These instructions assume that Server and Web Server Extensions are installed in the default install location and working correctly.

  1. Copy the folders phpsamples and phpviewersample from the Samples folder on the installation DVD to /opt/Autodesk/autodeskinfrastructuremapserver2016/webserverextensions/www.
  2. Load the phpsamples.mgp package the same way you loaded the Sample Data package. (See Instructions for Loading the Sample Data on the Server
  3. Open the URL http://servername:port/mapserver2016/phpsamples/main.php.

This opens the developer’s guide samples and provides links to the Viewer Samples. You can also open the Viewer Samples directly.

Note: servername is the name or IP Address of the computer on which the Web Server Extensions and sample applications are installed.