today i got some confuseing error
my __DIR__
is pointing to the System root directory, but i need the Apache2 root-dir
i tried to add
php_admin_value open_basedir /var/www/html
in apache2.conf and sites-aviable/000-default.conf
is there any option in php.ini?
i am using
PHP:
PHP 5.5.9-1ubuntu4.3
Apache:
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
In my case
__DIR__ == "/var/www/html/"
May you can help me