Answer the question
In order to leave comments, you need to log in
How to restrict virtual hosting php scripts within site directory without open_basedir?
The WAMP
bundle is installed on the local computer . Sites are organized into folders and virtual hosts are configured. Each contains php scripts for your site. To protect against possible unwanted actions, the open_basedir directive in httpd.conf is used . However, for many CMS, for some reason, it sometimes causes “glitches”, for example, if in httpd.conf : php_value open_basedir "S:/www/mysite.ru/"
then you may encounter such messages while working with scripts:
Warning: is_file(): open_basedir restriction in effect. File(S:/www/mysite.ru/S:/www/mysite.ru/admin/media/style/common/welcome.tpl)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question