The files in question are 'within' the open_basedir directive.

To explain further/better

within virtualhost,
php_admin_value open_basedir /www/htdocs/midwifefinder.com/site

and...

/www/htdocs/midwifefinder.com/site/index.php contains
=======
<?php
require_once("includes/app.php");
========
which is /www/htdocs/midwifefinder.com/site/includes/app.php and this file contains....


===========
<?php
// base includes, don't change
require_once('config/_config.inc.php'); // config
===========
which is /www/htdocs/midwifefinder.com/site/includes/config/_config.inc.php

but I have tried this with simple file names and a simpler structure, the contents of add.php is
parsed, and the contents of config/_config.php is never parsed.



why not just add the necessary directories to the open_basedir setting
(I'm guessing it can take multiple dirs because the error says 'allowed path(s)')?
e.g.:
/usr/local/pkg/php/php-5.0.2//lib/php/config/_config.inc.php



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to