Thursday, March 03, 2022

pledge and unveil PHP wrappers don't work on current

I am running an OpenBSD current box with PHP 8.1 and wanted to try out the pledge and unveil wrappers.

I have installed the pecl81-pledge-2.0.2p3 package and have restarted php81_fpm and httpd.

When I use pledge or unveil I get:

  Error: Call to undefined function unveil() in ...

From the documentation there isn't anything that should be setup, i.e. no loading of this package as an extension.

Kind regards

--
Sent with Tutanota, the secure & ad-free mailbox.

No comments:

Post a Comment