Open_basedir disbale in Debian based server? How to?
The thing is I am running a website on Debian 8 server with apache and php5.6.33, and I want to diable open_base dir value to none. https://i.stack.imgur.com/tbhud.png
I am talking about local value, as master value is already none.
Now I have done changes in php.ini files and restarted everything, but it simply doesn't work. I have tried all solution from using php.ini. Last night one recommended me to make changes in apache2. Conf, as there is no httpd.conf on Debian server.
Asked me to add this line "php_admin_value open_basedir none" in my apache2.conf file, as there is no such line exists in the file, so I added it here http://prntscr.com/l4iks8 , Restarted everything still no luck.
From the /etc/php5, sometimes we have cli and fpm. Try to change all php.ini on both directory and restart php again
please don't do things you don't understand.
open_basedir is probably there and enabled for a reason. if you need something in php accessing some specific path, why not adding that first to open_basedir (after you made sure it can cause no harm) instead of removing that restriction at all - without knowing why or what they are for.
you are right i think i fucked up my server, now i am trying to install wordpress but wp-activate page not redirecting properly
which should not be an open_basedir issue at all, as usually wordpress won't need access to anything outside it's location. maybe you better want to check owner/permissions for the files. and no 777 is not a valid one.