Skip to content

Extension isn't loading on Debian with PHP 8.2.24 #3

@Raven-Singularity

Description

@Raven-Singularity

I installed php-evil via these steps:

git clone https://github.com/frontdevops/php-evil
cd php-evil
phpize
make distclean
configure
make
make install

This created this file on my system:

/usr/lib/php/20220829/evil.so

It immediately started working for php from the cli, it gives me an error when trying to use eval.

I can't seem to get it to work in PHP-FPM, no matter what I try.

I noticed there was no .ini file created for the module, so I did that with this command:

echo "extension=evil.so" > /etc/php/8.2/mods-available/evil.ini

And then I symlinked it into the conf.d folders for cli and fpm, but this made no difference.

I get this output from phpinfo() from PHP running under FPM:

vivaldi_P4DpWSHhmA

Does that mean it is loaded?

I am still able to use eval() despite it appearing to be loaded.

Does evil no longer work, or is there something more I need to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions