- Microsoft Azure (Cloud computing)
- Microsoft Remote Desktop
- Internet Information Services (IIS)
- Microsoft Azure Virtual Machine (Windows 10 Professional x64 22H2)
- osTicket v1.15.8
- MySQL v5.5.62 (win32)
- Heidi SQL build 12.3.0.6589
- php-7.3.8-nts-Win32-VC15-x86
- PHP Manager for IIS v1.5.0
- IIS URL Rewrite Module 2
- Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.34.31931
- Navigate to Control Panel >
Uninstall a program
>Turn Windows features on or off
- Tick ✅
Internet Information Services
- Expand Internet Information Services > World Wide Web Services > Application Development Features
- Tick ✅
CGI
>OK
> After it finishes, clickClose
- Install MySQL Server v5.5.62
- Choose
Typical setup
- Select
Developer machine
- Choose
Multifunctional database
- Tick ✅
Include Bin Directory in Windows PATH
- Enter root password
- Click
Execute
- After it concludes, click
Finish
- Choose
- Install Visual C++ Redistributable
- Install PHP Manager for IIS
- Install URL Rewrite Module for IIS
- Download PHP binaries for Windows
- Extract files to
C:\PHP
- Rename
php-7.3.8-nts-Win32-VC15-x86
toPHP
- In the PHP folder, rename
php.ini-production
tophp.ini
- Open
php.ini
and make the following changes:-
Uncomment
;extension_dir = "ext"
by removing the semicolon -
Add the following lines to the bottom of the file:
;Enable extensions extension=C:\PHP\ext\php_mysqli.dll extension=C:\PHP\ext\php_gd2.dll extension=C:\PHP\ext\php_imap.dll extension=C:\PHP\ext\php_curl.dll extension=C:\PHP\ext\php_pdo_mysql.dll extension=C:\PHP\ext\php_mbstring.dll extension=C:\PHP\ext\php_intl.dll zend_extension=C:\PHP\ext\php_opcache.dll ;FastCGI settings fastcgi.impersonate = 1 cgi.fix_pathinfo = 1 cgi.force_redirect = 0 ;Security setting open_basedir = "C:\inetpub\wwwroot;C:\Windows\Temp;C:\PHP\temp"
-
- Open Internet Information Services (IIS) Manager
- Select your server in the left pane
- Open
Handler Mappings
- Click
Add Module Mapping
in the right pane - Fill in the following:
- Request path:
*.php
- Module:
FastCgiModule
- Executable:
C:\PHP\php-cgi.exe
- Name:
PHP_via_FastCGI
- Request path:
- Click
OK
and accept the prompt to create a FastCGI application
- In Internet Information Services (IIS) Manager, select the server
- Open
FastCGI Settings
- Find the PHP entry and double-click it
- Under Environment Variables click
…
and thenAdd
- Add the following environment variables and then press
OK
>OK
:PHP_FCGI_MAX_REQUESTS
:10000
PHPRC
:C:\PHP
- In Internet Information Services (IIS) Manager, select the server
- Open
Default Document
- Click
Add…
in the right panel and then addindex.php
to the list
-
In Internet Information Services (IIS) Manager, select the server
-
Click
Restart
in the right pane -
Create a file named
phpinfo.php
in your web root (C:\inetpub\wwwroot
) with this content:<?php phpinfo(); ?>
-
Access it through your browser:
http://localhost/phpinfo.php
-
Extract the contents of osTicket-v1.15.8 ("scripts" and "upload" folder)
-
Place the "upload" folder in
C:\inetpub\wwwroot
-
Rename the "upload" folder to
osTicket
-
Navigate to
C:\inetpub\wwwroot\osTicket\include
-
Rename
ost-sampleconfig.php
toost-config.php
-
Set permissions for
ost-config.php
:- Right-click
ost-config.php
>Properties
>Security
tab >Advanced
Disable inheritance
>Remove all inherited permissions from this object
- Click
Add
>Select a principal
> In the text field, enter "everyone" - Tick ✅
Full control
>OK
>Apply
>OK
>OK
- Right-click
- Then, in Internet Information Services (IIS) Manager, select the server and click
Restart
in the right pane - In the left panel, expand Sites > Default Web Site, and then click osTicket
Note
If osTicket does not show up, restart the entire Internet Information Services (IIS) Manager application
- Click
Browse *:80 (http)
in the right panel
- Install and open HeidiSQL. Dismiss the donation message and then press
+New
- In the Password: field, enter the root password that was configured previously during the setup of MySQL Server 5.1
- Click
Open
- On the left panel of HeidiSQL, right-click
Unnamed
and then navigate toCreate new
>Database
, in the Name: field, enterosTicket
and then pressOK
. Finally, close out of HeidiSQL.
-
Navigate to
localhost/osTicket/setup
and clickContinue »
-
Fill out the System Settings section:
- Helpdesk Name:
osTicket
- Default Email:
osTicket.support@gmail.com
- Helpdesk Name:
-
Fill out the Admin User section:
- First Name:
Drew
- Last Name:
Marsh
- Email address:
osTicket.drewmarsh@gmail.com
- Username:
drewmarsh
- Password:
securepassword
- First Name:
-
Fill out the Database Settings section:
- MySQL Table Prefix:
ost_
- MySQL Hostname:
localhost
- MySQL Database:
osTicket
- MySQL Username:
root
- MySQL Password:
securepassword
- MySQL Table Prefix:
-
Click
Install Now
-
Once you see the "Congratulations!" screen, click the
Admin Panel
hyperlink -
Finally, enter the username and password to access the osTicket dashboard