Set all the Fast_CGI settings for this build in IIS.
The only way to display records from the valentina_query is to use the valentina_result() like this:
$companies = getCompanyNames();
$numrows = valentina_num_rows($companies);
for ($x = 1; $x <= $numrows; $x++){
echo valentina_result($companies, $x) . '<br>';
};
Using the fetch_assoc (or any other resource method) results in a 500 error. Event Viewer displays:
Faulting application name: php-cgi.exe, version: 8.0.3.0, time stamp: 0x5ff4ebf4
Faulting module name: ucrtbase.dll, version: 10.0.17763.1490, time stamp: 0x48ac8393
Exception code: 0xc0000409
Fault offset: 0x000000000006e77e
Faulting process id: 0x15c8
Faulting application start time: 0x01d7370830d78741
Faulting application path: C:\Program Files\PHP\v8.0.3\php-cgi.exe
Faulting module path: C:\Windows\System32\ucrtbase.dll
Report Id: 4b3dda78-7a64-4b90-b7ed-1056810633ec
Faulting package full name:
Faulting package-relative application ID:
Most other VPHP functions work.
It's worth noting that I also received similar 500 errors from XAMMP on a Windows 10 Enterprise machine and MAMP on the same machine (this time using the thread safe ADK).
Any ideas?
Scott