- For VDV2018 and PHP7 to operate, the Visual C++ Redistributable for Visual Studio 2015 needs to be installed. Download and extract
Internet Information Services (IIS) is an extensible web server created by Microsoft for use with Windows. IIS is not turned on by default when Windows is installed. The IIS Manager is accessed through the Microsoft Management Console or Administrative Tools in the Control Panel.
These instructions are for configuration of the IIS (Internet Information Service) Web Service for Windows 8 so it will work with the web service of VDV. IIS is built into Microsoft operating system. By following these step-by-step instructions the IIS should be operational to provide web service for VDV.
In order to install IIS, open Control Panel and select Programs and Features and click Turn Windows features on or off.
Locate and check Internet Information Services. Expand World Wide Web Services and then expand Application Development Features, check CGI, ISAPI Extensions and ISAPI Filters.
Now IIS has been configured to work with PHP.
Next step is to add VDV to IIS.
Open Control Panel > System and Security > Administrative Tools, locate and open Internet Information Services (IIS) Manager.
Next right click on the Default Web Site and click Add Virtual Directory.
Enter vdv as Alias and browse to the vdv_www folder (default location is C:\Vista Data Vision\db.web.browser\vdv_www). Press OK to finish.
Next select the new vdv virtual directory and double click on Handler Mappings.
Click on Add Module Mapping... in the top right corner.
When selecting the Executable (optional): make sure that you select (*.exe) in the bottom right corner and php-cgi (default location is C:\Vista Data Vision\db.web.browser\PHP\php-cgi.exe).
Select FastCgiModule from the Module Drop down list. It may be necessary to type " around the Executable path.
Enter PHP for Name.
Enter *.php into Request Path.
Press OK to finish.
Click Yes to allow PHP.
Next select the top node in the Connections list (the server name) and double click on ISAPI and CGI Restrictions.
If php.exe has not been added to the list then it needs to be added manually. For adding PHP manually click Add... in the top right corner.
Browse to php-cgi.exe for ISAPI or CGI path (default location is C:\VistaData Vision\db.web.browser\PHP\php-cgi.exe). Remember to select (*.exe) in the bottom right corner when locating php-cgi.exe If php-cgi.exe cannot be seen then select exe from the File Type dropdown list. It may be necessary to type " around the Executable path. Enter PHP for Description. Check Allow extension path to execute. Press OK to finish.
When the system has been installed and db.robot.c is running, open a web browser on the server and type http://localhost/vdv in the address field. You should see the VDV standard website if you have VDV Standard or if you have not registered. For registered VDV Professional or Enterprise version a Login page is shown.
If VDV is not installed on the C-drive
If VDV is not installed on the C-drive
If Vista Data Vision is not installed directly under C:\ then one change must be made to the php.ini file located under /Vista Data Vision/db.web.browser/php7
Find the following line:
upload_tmp_dir = "C:\Vista Data Vision\db.web.browser\php7\upload_temp"
Change it to the path where you have installed VDV. For example if VDV is installed on the D drive you would change the line to:
upload_tmp_dir = "D:\Vista Data Vision\db.web.browser\php7\upload_temp"
Test the Web
Note: If you want to see if PHP has been installed correctly create an info.php file and store it in \Vista Data Vision\db.web.browser\vdv_www folder. info.php file is just a text file and may be created using Notepad. The file should only contain the following php code.
Open a Web Browser and type in http://localhost/vdv/info.php. You should see an information page on PHP. If you do not see this page, check that you have performed the steps above correctly.
After the PHP test then delete the info.php file