Installationsanleitung fr HSVIEWER in Kombination mit XAMPP

Fr Microsoft SQL Server werden zuzstzlich "Microsoft Drivers for PHP for SQL Server" bentigt. Die PHP-Version muss zu den Microsoft-Treibern passen.
Zum Zeitpunkt der Erstellung dieses Dokuments wurde
	XAMPP mit PHP 8.2 und
	Microsoft Drivers for PHP for SQL Server (SQLSRV511.ZIP)
verwendet.

1.Installieren Sie XAMPP (Apache).

2.Installieren Sie Apache als Dienst. Hierzu das XAMPP Control-Panel mit Adminrechten starten. 

3.Installieren Sie "Microsoft Drivers for PHP for SQL Server". Entpacken Sie die DLLs nach Xampp/php/ext (http://localhost/dashboard/phpinfo.php zeigt an, welche Version bentigt wird) 

4.Im XAMPP Control Panel Apache/Konfig/php.ini whlen und die Datei erweitern um:  extension=php_sqlsrv_82_ts_x64.dll (http://localhost/dashboard/phpinfo.php zeigt an, welche Version bentigt wird)

5.Kopieren Sie den kompletten Ordner "hsviewer" aus diesem Archiv in das Verzeichnis xampp/htdocs/

6.ffnen Sie die Datei config.php und ndern Sie $usemssql = false; auf $usemssql = true; Die Zugangsdaten fr MSSQL ndern Sie ebenfalls in dieser Datei. Um die Einstellungen von HSVIEWER oder um bestimmte Datenbanken zu schtzen, knnen Sie hier Benutzer und Passwrter anlegen.

7.Geben Sie in der Adresszeile ihres WebBrowsers "localhost/hsviewer" ein, um HSVIEWER aufzurufen. Whlen Sie unter Einstellungen aus, welche Datenbanken angezeigt werden sollen und erstellen Sie Diagramme nach Ihrem Bedarf.

8.Von anderen Rechnern kann HSVIEWER ber die Adresszeile des Webbrowsers wie folgt aufgerufen werden: http://Rechnername/hsviewer bzw. http://ipadresse/hsviewer

Fr weitere Informationen und Anleitungen von XAMPP geben Sie in der Adresszeile ihres WebBrowsers "localhost" ein.






Installation instruction for HSVIEWER in combination with XAMPP

To use HSVIEWER with MS SQL 'Microsoft Drivers for PHP for SQL Server' are required. XAMPP PHP version must match the Microsoft Drivers.
At the release of this document we used
	XAMPP with PHP 8.2 and
	Microsoft Drivers for PHP for SQL Server (SQLSRV511.ZIP)

1. Install XAMPP (Apache).

2. Install Apache as service. Therefore start XAMPP control panel with admin rights. 
	
3. Install 'Microsoft Drivers for PHP for SQL Server'. Unpack DLLs to Xampp/php/ext (http://localhost/dashboard/phpinfo.php for version info) 

4. Inside XAMPP Control Panel choose Apache/Konfig/php.ini and add:  extension=php_sqlsrv_82_ts_x64.dll (http://localhost/dashboard/phpinfo.php for version info) 

5. Copy the complete folder "hsviewer" from this archive into the directory xampp/htdocs/

6. Open config.php and change $usemssql = false; to $usemssql = true;
  Change server,user and password  for MS SQL in order that HSVIEWER can access the MS SQL database.
  To protect the HSviewer settings or databases you can add users and passwords here.

7. Type 'localhost/hsviewer' into the addressline of your browser to call HSViewer. Go to settings and select which databases should be shown and setup charts as needed.

8. To access HSVIEWER from other workstations type the following data in the addressline of your browser: http://servername/hsviewer or http://ipaddress/hsviewer

For additional informations on XAMPP type 'localhost' into the addressline of your browser.