Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

osTicket logo

osTicket - Prerequisites and Installation

This tutorial outlines the prerequisites and installation of the open-source help desk ticketing system osTicket.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Internet Information Services (IIS)

Operating Systems Used

  • Windows 10 (21H2)

List of Prerequisites

  • Install and configure IIS with CGI
  • Install and configure PHP
  • Install and configure MySQL / HeidiSQL
  • Download and set up osTicket
  • Configure osTicket in the web browser
  • Finalize the setup and secure the system

Installation Steps

image

Step 1: Install and Configure Internet Information Services (IIS) with Common Gateway Interface (CGI) to create a web server:

  • Press Windows key + R for the Direct Run command:

    optionalfeatures
  • Check ✔ "Internet Information Services" box

  • Expand "Internet Information Services" by clicking the + sign

  • Expand "World Wide Web Services"

  • Expand "Application Development Features"

  • Check ✔ "CGI" → click "OK" → when installation is complete click "Close"

  • To see the default IIS web page, in a web browser, visit:

    optionalfeatures

    If done correctly, you should see the default IIS web page

image



Step 2: Download and Install PHP:



Step 3: Install and Configure MySQL:

Setup Type – TypicalNext
Action Button - Install
User Account Control Prompt - Yes
Dialog Box (after install) – Launch the MySQL Instance Cofiguration Wizard
Action Button - Finish
User Account Control Prompt - Yes
MySQL Server Instance Cofiguration Wizard - Next
Configuration Type – Standard ConfigurationNext
Windows Option – Install As Windows ServiceLaunch the MySQL Server automaticallyNext
Security Options - Modify Security Settings Dialog BoxSet a root passwordNext
Action Buttons - ExecuteFinish

  • Install MySQL & HeidiSQL
  • Select the following options:

License Agreement – I accept the agreementNext
Select Destination Location – Next
Select Start Menu Folder – Next
Select Additional Tasks – Next
Ready to Install – Install
Dialog Box (after install) – Launch HeidiSQL
Action Button - Finish
Check for HeidiSQL updates - Skip
HeidiSQL Session Manager - NewOpen

  • Connect to the HeidiSQL session
  • Right-Click the "Session Name" on the left panel of the HeidiSQL Session Manager → Create New → Database
  • Name the newly created database "osTicket"OK



Step 4: Register and Configure PHP from within IIS:

  • Open IIS Manager as Admin

  • Double-click PHP Manager

  • Select: Register new PHP version

  • Provide a path to the php executable file:

    C:\PHP\php-cgi.exe
  • Reload IIS (Right click server, Stop and then Start)



Step Step 5: Download and Install osTicket:

  • Go to ➤ https://osticket.com/download

  • Download the latest stable release (.zip file)

  • Extract the "upload" folder from "osTicket" folder to:

    C:\inetpub\wwwroot
  • Rename the newly extracted "upload" folder within:

    C:\inetpub\wwwroot

    to "osTicket"

  • Reload IIS (Right click server, Stop and then Start)

  • Expand the osTicket server under "Connections" on the left panel of the IIS Manager

  • Next expand "Server""Sites""Default Web Site"

  • Select the "osTicket" folder

  • Click on "Browse *:80" under "Actions" on the right panel of the IIS Manager

  • If done correctly, you should see the osTicket installer web page

  • Note that some extensions are not enabled

  • Go back to IIS → "Server""Sites""Default Web Site""osTicket"

  • Double-click PHP Manager

  • Click “Enable or disable an extension” under "PHP Extensions" & enable the following PHP extensions:

php_imap.dll
php_intl.dll
php_intl.dll

  • Refresh the osTicket site in your browser, and observe the changes



Step 6: Configure ”ost-config”:

  • Rename ”ost-config” from:

    C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php
  • Rename to:

    C:\inetpub\wwwroot\osTicket\include\ost-config.php
  • Right click ”ost-config.php” and click "Properties"

  • Navigate to the ”Security” tab

  • Select ”Advanced”

  • Click ”Disable inheritance”, followed by:

”Remove all inherited permissions from this object” on the Block Inheritance Prompt

  • Click ”Add””Select a principal”

  • Under ”Enter the object name to select” field, write:

    YOUR DESIRED USER HERE

    Then click ”Check Names””OK”

  • Below "Basic Permissions" Check ✔ "Full control""OK"

  • ”Apply” changes → select ”OK”


image


Step 7: Complete osTicket Web Setup:

  • Refresh the osTicket installer web page → select “Continue“
  • Fill out "System Settings""Admin User""Database Settings" fields
  • Select "Install Now"



Step 8: (Optional) Clean up and Finalize setup:

  • Delete the setup folder:

    C:\inetpub\wwwroot\osTicket\setup
  • Set Permissions to “Read” only:

    C:\inetpub\wwwroot\osTicket\include\ost-config.php



Congratulations! Hopefully, the installation has been completed without any errors.


image


Useful Links:


Closing Thoughts

Completing the prerequisites and installation of osTicket highlights the importance of a strong technical foundation in any system deployment. Properly configuring IIS, PHP, MySQL, and related components ensures both stability and security, which are essential for long-term performance.


About

osTicket - Prerequisites and Installation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors