- PHP manager for IIS - ensures PHP is correctly configured to run IIS
- Rewrite module - facilitates URL rewriting and redirect users to URLs
- VC_redist.x86 (redistributable) - osTicket relies on libraries that are part of Microsoft Visual C++ and ensures the program runs smoothly
- MySQL - for storing data into databases
- HeidiSQL - interface for accessing MySQL
After setting up the Windows 10 VM in Azure, log in with your credentials. Open Microsoft Edge, download osTicket-Installation-Files.zip, and extract the files. You should then see the contents.
Next, enable Internet Information Services (IIS). Go to Uninstall a Program, select Turn Windows features on or off, and check the box for Internet Information Services. Then, under World Wide Web Services -> Application Development Features, enable CGI.
Now nstall the PHP manager for IIS. Open on the file and click OK to all the default selections.
Next we create a directory in C:\ called PHP, basically C:\PHP. Click on the folder at the bottom the Taskbar or search for File Explorer. This is so that we can extract osTicket to work with PHP.
Next install the redistributable and accept all defaults. Then install MySQL, select Standard Configuration and then enter root and root as the username and password. This is just for simplicity and you'd likely use a stronger password in real life.
Now open Internet Information Services, type IIS in the search bar and then Run as administrator. Click on PHP manager then register new PHP version. Select C:\PHP\php-cgi.exe
Reload IIS by clicking stop then start on the right hand side. This will help load the new PHP version.
Extract the osticket zipped folder and move the extracted upload folder into C:\inetpub\wwwwroot, then rename upload to osTicket (it must be exact).
Reload IIS again. On the left side pane, go to Sites, click the down arrow until you reach osTicket and then click on Browse in the right side pane, then you should get this.
Now, enable some extensions. In the osTicket folder, select PHP Manager in the middle pane. Click Enable or disable an extension, and enable php_imap.dll, php_intl.dll, and php_opcache.dll. Then refresh the osTicket webpage to see the updates.
Now rename C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php to C:\inetpub\wwwroot\osTicket\include\ost-config.php. Then we need to change permissions for this file. Right click on this and then Properties -> Security tab -> Advanced -> Disable inheritance (remove option) -> Add -> Select a principal -> Type everyone in the box -> Check names -> OK. Make sure you click on Full control as well.
In the osTicket browser window, click Continue and enter your chosen login and password for the helpdesk system. Ensure the MySQL database name is osTicket, with both username and password as root.
Before proceeding, go to the extracted folder and install HeidiSQL. Use the default settings, then create a new session and log in to the SQL database with root/root. Right-click on Unnamed, select Create new -> Database, and name it exactly osTicket.
In the browser, click Install Now to complete the osTicket installation. You should then see a confirmation page with links to log into osTicket as a general user (http://localhost/osTicket) or as staff (http://localhost/osTicket/scp).