erostew
Verified User
Apparently at some point DA started inserting the line:
into the reseller's httpd.conf virtualhosts entries whenever a new domain is created.
Older domains on the server don't have this inserted. So I spent 3 hours trying to figure out why a script (running in a symlinked folder) on one domain worked and the same script on a second domain didn't. I had to figure out the problem and then find the file that had to have that line removed. Kind of a pain in my butt.
open_basedir is off in php.ini and that's the way I want it set. And I really don't want to have to repeat the fix every time a domain is added to the server. I don't really know why DA is trying to control this PHP setting anyway.
So: Is there a way to stop this from happening in the future?
Thanks
Code:
php_admin_value open_basedir /home/username/:/tmp:/usr/local/lib/php/
Older domains on the server don't have this inserted. So I spent 3 hours trying to figure out why a script (running in a symlinked folder) on one domain worked and the same script on a second domain didn't. I had to figure out the problem and then find the file that had to have that line removed. Kind of a pain in my butt.
open_basedir is off in php.ini and that's the way I want it set. And I really don't want to have to repeat the fix every time a domain is added to the server. I don't really know why DA is trying to control this PHP setting anyway.
So: Is there a way to stop this from happening in the future?
Thanks