Hi all,
I do managed my wordpress website using WP-CLI and use the open_basedir option in /usr/local/etc/php.ini to add a bit of security to it..
I had issue to run wp-cli with open_basedir and after a bit of messing around, I got it to work using the following:
My question this: is it safe to allow add the /usr/local/bin/ directory in there?
Can I have everything in /usr/local/bin/ compromised?
Thank you in advance
Fred
I do managed my wordpress website using WP-CLI and use the open_basedir option in /usr/local/etc/php.ini to add a bit of security to it..
I had issue to run wp-cli with open_basedir and after a bit of messing around, I got it to work using the following:
Code:
open_basedir = "/usr/local/www/dev/httpdocs:/usr/local/www/prod/httpdocs:/usr/local/bin/wp:/home/myuser"
Can I have everything in /usr/local/bin/ compromised?
Thank you in advance
Fred