php-encryption icon indicating copy to clipboard operation
php-encryption copied to clipboard

Unable to load v2.4.0

Open dpantel opened this issue 1 year ago • 3 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

dpantel avatar May 26 '24 00:05 dpantel

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

paragonie-security avatar May 28 '24 15:05 paragonie-security

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.

dpantel avatar Jun 02 '24 20:06 dpantel

Hi @paragonie-security, I just found this package and was happy to find the .phar to avoid using composer in a tiny script. May you explain this decision or update the docs/InstallingAndVerifying.md tutorial? Thanks a lot!

MR4online avatar Feb 19 '25 15:02 MR4online