getmypid has been disabled for security reason
TheRolfFR opened this issue · 2 comments
TheRolfFR commented
Summary
After instllation, it throwned me an error
Expected Behaviour
Gets PHP's process ID
Actual Behaviour
Throws an error
Context details (if applicable)
I have a shared host and it is disabled
- Anchor version: 0.12.7
- Server setup: ?
- URL: https://therolf.fr/anchor/
Radiergummi commented
There's not so much we can do about this - we rely on the library that uses the function for security reasons...
TheRolfFR commented
I had to replace it with a
mt_rand(0,32000);
in order to work :/