1. Scott
  2. Other Discussions
  3. Четверг, Апрель 22 2021, 12:06 AM
  4.  Подписаться через email
I upgraded our development Windows Server 2019 machine to PHP 8.0.3 and installed the latest VPHP NTS_x64 ADK.

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:, 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?

There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Scott,

No, that's something new, we'll check it.
There are no comments made yet.
Sergey Pashkov Ответ принят
Still unable to reproduce, valentina_fetch_assoc works in the example select_assoc.php.
But I tried on Windows 10 with XAMPP, IIS, PHP installed from WebPlatform.

I'm going to check it with Windows Server and install PHP manually.
There are no comments made yet.
Scott Ответ принят
Thanks, Sergey. I will give that one a try as well to see if it works,
There are no comments made yet.
Sergey Pashkov Ответ принят
Ok, Windows Server 2019 setup works for me.
Probably there is something else. Does it happen each time, even in the simplest scripts?
Maybe you can build a minimal script and see if it crash on IIS or directly on PHP, without any web server.
There are no comments made yet.
  • Страница :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.


Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories