defuse/php-encryption

Unable to load v2.4.0

dpantel opened this issue · 2 comments

When including v2.4.0 phar, I get the following error:

The application may only be invoked from a command line, got "apache2handler"

I don't have that issue when loading v2.3.1.

PHP = 8.3.2-1

Have you tried using Composer instead of the .phar method?

Yes, it appears to work when using Composer.

edit: having a single-file phar has been very nice for deployment, so that would still be my preference.