I just setup a Moodle (3.8.1+) with PHP on IIS. Everything seems to be working fine, until I created a test course and try to delete it, then I crash out. This only happen when I tried to delete the course. Below is the Error:
HTTP Error 500.0 - Internal Server Error
C:\Program Files\PHP\v7.4\php-cgi.exe - The FastCGI process exited unexpectedly
Detailed Error Information:
1. php.ini already configured for fastcgi properly.
2. running command line " php-cgi.exe C:\inetpub\moodle\course\delete.php" gives me below
Cannot load Zend OPcache - it was already loaded
Content-type: text/html; charset=UTF-8
!!! A required parameter (id) was missing !!!
Any idea where I should start looking?