Page 1 of 1

Hesk giving errors after PHP upgrade

Posted: Sat May 06, 2023 9:00 pm
by jfha73
Hello,

I just updated PHP to 8.2.5 and immediately HESK started putting this line in the logs (many times):

VirtualProtect() failed [87] The parameter is incorrect

I did some research and found it's related to OpCache, so I left the default settings for OpCache, but it still appears and HESK is unusable, what's your recommendation?

Thanks.

Re: Hesk giving errors after PHP upgrade

Posted: Sun May 07, 2023 2:11 pm
by Klemen
That's not a Hesk-error, but a PHP-related error (most likely OPCache issues as you mentioned).

You can try disabling OPCache in your php configuration (then restart the server) and see if that helps.

Re: Hesk giving errors after PHP upgrade

Posted: Sun May 07, 2023 9:01 pm
by jfha73
Hello Klemen,

Yes, what what I did and it works now, but there are other sites on the server that are CMS and they like OpCache enabled, can you make HESK compatible with opcache?

Thanks.

Re: Hesk giving errors after PHP upgrade

Posted: Mon May 08, 2023 12:28 pm
by Klemen
Hesk is compatible with OPCache, and may users use it without problems. The "VirtualProtect" error is not something Hesk is causing directly, but likely a configuration/permissions issue on the server.