{"id":17593729,"url":"https://github.com/drewmarsh/osticket-installation","last_synced_at":"2025-06-22T19:07:18.381Z","repository":{"id":258346572,"uuid":"860049521","full_name":"drewmarsh/osTicket-installation","owner":"drewmarsh","description":"Prerequisites setup (IIS, FastCGI, PHP, MySQL Server, HeidiSQL, Rewrite) \u0026 osTicket installation in an Azure virtual machine","archived":false,"fork":false,"pushed_at":"2024-10-16T17:39:11.000Z","size":2475,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T19:06:34.158Z","etag":null,"topics":["azure","fastcgi","help-desk-implementation","internet-information-services","mysql","osticket","ticketing-system"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewmarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-19T18:18:48.000Z","updated_at":"2024-10-16T17:39:15.000Z","dependencies_parsed_at":"2024-10-22T11:06:08.411Z","dependency_job_id":null,"html_url":"https://github.com/drewmarsh/osTicket-installation","commit_stats":null,"previous_names":["drewmarsh/osticket-installation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drewmarsh/osTicket-installation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmarsh%2FosTicket-installation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmarsh%2FosTicket-installation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmarsh%2FosTicket-installation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmarsh%2FosTicket-installation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewmarsh","download_url":"https://codeload.github.com/drewmarsh/osTicket-installation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmarsh%2FosTicket-installation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261348748,"owners_count":23145312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","fastcgi","help-desk-implementation","internet-information-services","mysql","osticket","ticketing-system"],"created_at":"2024-10-22T06:12:47.362Z","updated_at":"2025-06-22T19:07:13.367Z","avatar_url":"https://github.com/drewmarsh.png","language":null,"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/drewmarsh/osTicket-installation\"\u003e\n    \u003cimg src=\"/images/osticket-banner.png\" width=\"598\" alt=\"Banner\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n### 📍 Part 1: Prerequisites \u0026 osTicket Installation\n### 👉 [Part 2: Post-Installation Configuration](https://github.com/drewmarsh/osTicket-post-install-configuration)\n### 👉 [Part 3: Ticket Lifecycle Demo](https://github.com/drewmarsh/osTicket-ticket-lifecycle-demo)\n\n\u003c/div\u003e\n\n# 🧠 Technologies Used\n- Microsoft Azure (Cloud computing)\n- Microsoft Remote Desktop\n- Internet Information Services (IIS)\n\n# 📋 List of Prerequisites\n- Microsoft Azure Virtual Machine (Windows 10 Professional x64 22H2)\n- osTicket v1.15.8\n- MySQL v5.5.62 (win32)\n- Heidi SQL build 12.3.0.6589\n- php-7.3.8-nts-Win32-VC15-x86\n- PHP Manager for IIS v1.5.0\n- IIS URL Rewrite Module 2\n- Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.34.31931\n\n# 📥 Setup \u0026 Installation\n\n### 🖥️ [Create and Access Azure Virtual Machine](https://github.com/drewmarsh/azure-creating-VM)\n\n### 🌐 Enable Internet Information Services (IIS)\n\n1. Navigate to **Control Panel** \u003e `Uninstall a program` \u003e `Turn Windows features on or off`\n2. Tick \u0026#9989;`Internet Information Services`\n3. Expand **Internet Information Services** \u003e **World Wide Web Services** \u003e **Application Development Features**\n4. Tick \u0026#9989;`CGI` \u003e `OK` \u003e After it finishes, click `Close`\n\n\u003cimg src=\"/images/enable-iss-and-CGI.png\" alt=\"Enable ISS and CGI\"\u003e \u003cbr\u003e\n\n### 🗄️ Install Required Software\n\n1. Install MySQL Server v5.5.62\n   - Choose `Typical setup`\n   - Select `Developer machine`\n   - Choose `Multifunctional database`\n   - Tick \u0026#9989;`Include Bin Directory in Windows PATH`\n   - Enter root password\n   - Click `Execute`\n   - After it concludes, click `Finish`\n\n\u003cimg src=\"/images/install-mysql.png\" alt=\"Install MySQL\"\u003e \u003cbr\u003e\n\n2. Install Visual C++ Redistributable\n\n\u003cimg src=\"/images/install-visc.png\" alt=\"Install Visual C++ Redistributable\"\u003e \u003cbr\u003e\n\n3. Install PHP Manager for IIS\n\n\u003cimg src=\"/images/install-phpman.png\" alt=\"Install PHP Manager for IIS\"\u003e \u003cbr\u003e\n\n4. Install URL Rewrite Module for IIS\n\n\u003cimg src=\"/images/install-rewrite.png\" alt=\"Install URL Rewrite Module for IIS\"\u003e \u003cbr\u003e\n\n### 🐘 Install and Configure PHP\n\n1. Download PHP binaries for Windows\n2. Extract files to `C:\\PHP`\n3. Rename `php-7.3.8-nts-Win32-VC15-x86` to `PHP`\n4. In the PHP folder, rename `php.ini-production` to `php.ini`\n5. Open `php.ini` and make the following changes:\n   - Uncomment `;extension_dir = \"ext\"` by removing the semicolon\n   - Add the following lines to the bottom of the file:\n    \n      ```\n      ;Enable extensions\n      extension=C:\\PHP\\ext\\php_mysqli.dll\n      extension=C:\\PHP\\ext\\php_gd2.dll\n      extension=C:\\PHP\\ext\\php_imap.dll\n      extension=C:\\PHP\\ext\\php_curl.dll\n      extension=C:\\PHP\\ext\\php_pdo_mysql.dll\n      extension=C:\\PHP\\ext\\php_mbstring.dll\n      extension=C:\\PHP\\ext\\php_intl.dll\n      zend_extension=C:\\PHP\\ext\\php_opcache.dll\n      \n      ;FastCGI settings\n      fastcgi.impersonate = 1\n      cgi.fix_pathinfo = 1\n      cgi.force_redirect = 0\n      \n      ;Security setting \n      open_basedir = \"C:\\inetpub\\wwwroot;C:\\Windows\\Temp;C:\\PHP\\temp\"\n      ```\n\n\u003cimg src=\"/images/configure-phpini.png\" alt=\"Configure PHP.ini\"\u003e \u003cbr\u003e\n\n### 🔧 Configure IIS for PHP\n\n1. Open **Internet Information Services (IIS) Manager**\n2. Select your server in the left pane\n3. Open `Handler Mappings`\n4. Click `Add Module Mapping` in the right pane\n5. Fill in the following:\n   - Request path: `*.php`\n   - Module: `FastCgiModule`\n   - Executable: `C:\\PHP\\php-cgi.exe`\n   - Name: `PHP_via_FastCGI`\n6. Click `OK` and accept the prompt to create a FastCGI application\n\n\u003cimg src=\"/images/configure-iss-for-php.png\" alt=\"Configure IIS for PHP\"\u003e \u003cbr\u003e\n\n### ⚙️ Set Up FastCGI Settings\n\n1. In **Internet Information Services (IIS) Manager**, select the server\n2. Open `FastCGI Settings`\n3. Find the PHP entry and double-click it\n4. Under **Environment Variables** click `…` and then `Add`\n5. Add the following environment variables and then press `OK` \u003e `OK`:\n   - `PHP_FCGI_MAX_REQUESTS` : `10000`\n   - `PHPRC` : `C:\\PHP`\n\n\u003cimg src=\"/images/fastcgi-settings.png\" alt=\"FastCGI Settings\"\u003e \u003cbr\u003e\n\n### 📄 Configure Default Document\n\n1. In **Internet Information Services (IIS) Manager**, select the server\n2. Open `Default Document`\n3. Click `Add…` in the right panel and then add `index.php` to the list\n\n\u003cimg src=\"/images/configure-defaultdoc.png\" alt=\"Configure Default Document\"\u003e \u003cbr\u003e\n\n### 🧪 Restart IIS \u0026 Test PHP\n1. In **Internet Information Services (IIS) Manager**, select the server\n2. Click `Restart` in the right pane\n3. Create a file named `phpinfo.php` in your web root (`C:\\inetpub\\wwwroot`) with this content:\n\n   ```php\n   \u003c?php phpinfo(); ?\u003e\n   ```\n4. Access it through your browser: `http://localhost/phpinfo.php`\n\n\u003cimg src=\"/images/test-php.png\" alt=\"Test PHP\"\u003e \u003cbr\u003e\n   \n### 🎫 osTicket Setup\n\n1. Extract the contents of osTicket-v1.15.8 (\"scripts\" and \"upload\" folder)\n2. Place the \"upload\" folder in `C:\\inetpub\\wwwroot`\n3. Rename the \"upload\" folder to `osTicket`\n\n4. Navigate to `C:\\inetpub\\wwwroot\\osTicket\\include`\n5. Rename `ost-sampleconfig.php` to `ost-config.php`\n6. Set permissions for `ost-config.php`:\n   - Right-click  `ost-config.php` \u003e `Properties` \u003e `Security` tab \u003e `Advanced`\n   - `Disable inheritance` \u003e `Remove all inherited permissions from this object`\n   - Click `Add` \u003e `Select a principal` \u003e  In the text field, enter \"everyone\"\n   - Tick \u0026#9989;`Full control` \u003e `OK` \u003e `Apply` \u003e `OK` \u003e `OK`\n\n\u003cimg src=\"/images/setup-osticket1.png\" alt=\"osTicket Setup 1\"\u003e \u003cbr\u003e\n\n7. Then, in **Internet Information Services (IIS) Manager**, select the server and click `Restart` in the right pane\n8. In the left panel, expand **Sites** \u003e **Default Web Site**, and then click **osTicket**\n\n\u003e [!NOTE]\n\u003e If **osTicket** does not show up, restart the entire **Internet Information Services (IIS) Manager** application\n\n9. Click `Browse *:80 (http)` in the right panel\n\n\u003cimg src=\"/images/setup-osticket2.png\" alt=\"osTicket Setup 2\"\u003e \u003cbr\u003e\n\n### 🗃️ HeidiSQL Installation \u0026 Configuration\n\n1. Install and open HeidiSQL. Dismiss the donation message and then press `+New`\n2. In the **Password:** field, enter the root password that was configured previously during the setup of MySQL Server 5.1\n3. Click `Open`\n4. On the left panel of HeidiSQL, right-click `Unnamed` and then navigate to `Create new` \u003e `Database`, in the **Name:** field, enter `osTicket` and then press `OK`. Finally, close out of HeidiSQL.\n\n\u003cimg src=\"/images/install-heidisql.png\" alt=\"Install HeidiSQL\"\u003e \u003cbr\u003e\n\n\u003cimg src=\"/images/configure-heidisql.png\" alt=\"Configure HeidiSQL\"\u003e \u003cbr\u003e\n\n### 🏁 Complete osTicket Installation\n\n1. Navigate to `localhost/osTicket/setup` and click `Continue »`\n2. Fill out the **System Settings** section:\n   - Helpdesk Name: `osTicket`\n   - Default Email: `osTicket.support@gmail.com`\n\n3. Fill out the **Admin User** section:\n   - First Name: `Drew`\n   - Last Name: `Marsh`\n   - Email address: `osTicket.drewmarsh@gmail.com`\n   - Username: `drewmarsh`\n   - Password: `securepassword`\n     \n4. Fill out the **Database Settings** section:\n   - MySQL Table Prefix: `ost_`\n   - MySQL Hostname: `localhost`\n   - MySQL Database: `osTicket`\n   - MySQL Username: `root`\n   - MySQL Password: `securepassword`\n     \n5. Click `Install Now`\n\n6. Once you see the \"Congratulations!\" screen, click the `Admin Panel` hyperlink\n\n7. Finally, enter the username and password to access the osTicket dashboard\n\n\u003cimg src=\"/images/complete-osticket-installation.png\" width=\"674\" alt=\"Complete osTicket Installation\"\u003e \u003cbr\u003e\n\n\u003cimg src=\"/images/osticket-dashboard.png\" alt=\"osTicket Dashboard\"\u003e \u003cbr\u003e\n\n\u003cbr\u003e\u003cdiv align=\"center\"\u003e\n\n### 📍 Part 1: Prerequisites \u0026 osTicket Installation\n### 👉 [Part 2: Post-Installation Configuration](https://github.com/drewmarsh/osTicket-post-install-configuration)\n### 👉 [Part 3: Ticket Lifecycle Demo](https://github.com/drewmarsh/osTicket-ticket-lifecycle-demo)\n\n\u003c/div\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewmarsh%2Fosticket-installation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewmarsh%2Fosticket-installation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewmarsh%2Fosticket-installation/lists"}