php_admin_value open_basedir "/var/www/html/web/yourcharmstyle.com/htdocs/:/tmp/"
what the line meaning and do? thank you. why it add
? why it adds the line?
You can review this particular basedir setting here.
if i add the line in the apache vhost setting, what's the effection of it?
The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). If a file is outside of the paths defined by open_basdir, PHP will refuse to open it. In this case you can access files in both /var/www/html/web/yourcharmstyle.com/htdocs/ and /tmp/ with functions like fopen() and gzopen().
This topic is now closed. New replies are no longer allowed.