defuse / php-encryption

Simple Encryption in PHP.
MIT License
3.78k stars 308 forks source link

Unable to load v2.4.0 #525

Open dpantel opened 3 months ago

dpantel commented 3 months ago

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

paragonie-security commented 3 months ago

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

dpantel commented 3 months ago

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.