Open_basedir issue

Nut-Nights

Elite Member
Executive VIP
Jr. VIP
Joined
Jun 20, 2013
Messages
11,543
Reaction score
8,752
Today is worst day of mylife

Now i got this shity error http://prntscr.com/l4i9ed

I need to diable this local value of open_basedir, i have set it none in php.ini but cant find a way to set local value to none.

Trying finding value in apache.conf file with no luck http://prntscr.com/l4iamy
 
Add the following to your httpd.conf file (if it doesn't already exist)

Code:
php_admin_value open_basedir none
For god help, i tried locating that httpd.conf file in apache server so i can edit it but failed, Any way to locate that file?

is that httpd.conf and apache2.conf same?
 
Is this an Ubuntu server?
 
Debian 8 runing php5.6

Ubuntu is Debian based. Debian based systems keep a blank httpd.conf and have all configuration in apache2.conf

Code:
sudo nano /etc/apache2/apache2.conf

and add the above line.
 
Ubuntu is Debian based. Debian based systems keep a blank httpd.conf and have all configuration in apache2.conf

Code:
sudo nano /etc/apache2/apache2.conf

and add the above line.
anywhere in that file?
 
can someone tell mme how to add
php_admin_value open_basedir none in apache2.conf ? proper format or code?
 
Posting a solution here if anyone in future, got this issue. Running a apache on debian 8 with php5.6

Change your php.ini file first and locate it using

php -i | grep 'Configuration File'

Going to be 3 files in total, change in all to none

or simple add ; infornt of open_basedir

Next Step

Locate your vhost file using this command

apachectl -S

Now you will get the directory of all domains, Do this

nano /home/admin/conf/web/domain.com.apache2.conf

and find open_basedir and change value to none and ctrl+O and restart your server.

Fuck this server thing
 
Ive seen the same thread on LET this morning. What is the reason you have to disable open_basedir ? I dont think it is recommended to do so.
 
Ive seen the same thread on LET this morning. What is the reason you have to disable open_basedir ? I dont think it is recommended to do so.
For some reason i say, going to make changes once work done:)
 
Back
Top