I get finally to resolve the problem
For those who had the same problem, i just increased the Apache's default stack size by adding this at the end of the httpd.conf:
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
see this link: https://docs.moodle.org/37/en/Errors_FAQ#Error:_.22500:Internal_Server_Error.22
I also configured the httpd.conf with the necessary elements.
kind regards