osticket was recommended to me. I'm a noon, hence the name here. But I'm not done with it yet.
I have Windows Server 2019 set up.
PHP 8.0.22 The osticket downloaded page said 8.0.x, so I picked 8.0.22 instead of the 8.1 option there. Non-threaded, like the youtube video had. PHPManagerForIIS_V1.5.0
osTicket-v1.17-rc3 I want modern authentication, so I included the modern auth plugin on the download.
I followed this youtube video. How to Install osTicket v1.12 - Windows IIS It's a little out of date, but I was able to follow along up to a point. Even in the video, things don't work for this person. She shows the manual file download, unzip, copy in process, which is good. I did that.
And mysql-installer-web-community-8.0.30.0
That's the video still shown on the osticket install page. https://docs.osticket.com/en/latest/Getting%20Started/Installation.html
So I followed along on the video up to the part where she clicks on the osticket Browser *80. I tried Chrome and Firefox for this in case Chrome has anything with forcing https. I get the same results on both. Mine errors out. Hers worked. I stopped at that point, trying to figure out what went wrong.
In a browser, I'm going here. http://localhost/osticket
I get this 500 error, which I think might be too generic to be useful from googling. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x8007000d Config Error
Config File \?\C:\inetpub\wwwroot\osticket\web.config
When I look in C:\Windows\Temp for the PHP log, I found it.
php-8.0.22_errors.log
That has these two lines. I haven't figured out how to make it error out like this again.
PHP Warning: PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\Program Files (x86)\PHP\php-8.0.22-nts-Win32-vs16-x64\ext\php_gd2.dll (The specified module could not be found), C:\Program Files (x86)\PHP\php-8.0.22-nts-Win32-vs16-x64\ext\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'php_xmlrpc.dll' (tried: C:\Program Files (x86)\PHP\php-8.0.22-nts-Win32-vs16-x64\ext\php_xmlrpc.dll (The specified module could not be found), C:\Program Files (x86)\PHP\php-8.0.22-nts-Win32-vs16-x64\ext\php_php_xmlrpc.dll.dll (The specified module could not be found)) in Unknown on line 0
I started googling and looked in the PHP/ext folder, for php_gd2.dll and php_xmlrpc.dll. It doesn't look like those are in PHP version 8. Yet, that's what's osticket is programmed in. So maybe the errors aren't from osticket trying to run.
In IIS, I have my server name and account, Sites, Default Web Site, and osticket. On Default Website, the PHP Manager loads and looks like it works fine. That's where I manually told it it was PHP 8 and where the folder is, just like the video did. But on osticket, PHP Manager and the other things in there error out. I don't know if that's a problem. PHP Manager under osticket says "There was an error while performing this operation. Details: (It's blank.) FileName: \?\C:\inetpub\wwwroot\osticket\web.config Error: (It's blank.)
For the PHP error log, I tried remming those out, those .dll files. No change, I think. I even restarted the server.
I found this post, but don't know what to do with the info, if it's true. https://stackoverflow.com/questions/7851011/how-do-i-install-gd-on-my-windows-server-version-of-php "After PHP 8.0, GD extension name changed from php_gd2.dll to php_gd.dll"
And I found this post and tried copying in the php_xmlrpc.dll. Still no change.
https://stackoverflow.com/questions/65556577/enable-xml-rpc-on-xampp https://pecl.php.net/package/xmlrpc https://pecl.php.net/package/xmlrpc/1.0.0RC3/windows
I can't imagine osticket v1.17 was creating using PHP 8 that was in use with 1.16 I think, and that that was missing or had some error with these PHP dll files.
I'm just stuck though. :\
I found the sticky. And the httperr log. Nothing interesting there though. It's all this.
::1%0 58813 ::1%0 80 - - - - - - Timer_ConnectionIdle -