Hesk giving errors after PHP upgrade

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jfha73
Posts: 4
Joined: Fri Jul 27, 2012 6:39 pm

Hesk giving errors after PHP upgrade

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk giving errors after PHP upgrade

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jfha73
Posts: 4
Joined: Fri Jul 27, 2012 6:39 pm

Re: Hesk giving errors after PHP upgrade

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk giving errors after PHP upgrade

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply