Wordpress Wordfence .user.ini / auto_append_file

#1
Hi All,

I use wordfence to protect my wordpress site.
One of the functions is It checks the code before executing it.
It does this by appending a file called .user.ini.

In litespeed enterprise it just picks up the .user.ini file and wordfence works.

in OLS it didnt pick the file up so i put in a "context" a php override: php_value auto_append_file "/usr/local/lsws/www/wordpress/.user.ini"

When i check my php info i can see that the local value is as expected - but it seems its not actually following whats inside the file. [which is auto_prepend_file = '/usr/local/lsws/www/wordpress/wordfence-waf.php']

Has anyone got wordfence to work on OLS with the full firewall?
 
#2
fixed.

I was using append instead of prepend when putting in php.ini:

auto_prepend_file = "/usr/local/lsws/www/wordpress/wordfence-waf.php"
 
Top