I don't want php to search for an include_path. I want it to search on the relative directory.
The included files are local to where they are needed. All I need to do is document this system. I don't need to develop anything further so I don't need a functioning include_path but I need to remove the errors to get it to work.
How can I change include_path or hard wire it in the index.php to search for $_Server['Document_Root'] but on windows? I commented out all the include_paths in php_ini. There were two php.ini's on Wamp server. One in apache and one in php. Not sure why there are two in Wamp, but I commented out all include_paths. It is still defaulting to (include_path='.;C:\php\pear') can I make it default to the root directory? That should fix my problem? Thanks.
Below is the scripts that get the error in the root 'www' directory in Wamp
conduit-local/public/index --> require'../application/bootstrap.php';
my_app/application/bootstrap --> require_once 'intializer.php& Zend/Loader/Autoloader.php;
ERROR Msgs:
Warning: require_once(C:\php\pear\Zend\Controller\Plugin\Abstract.php): failed to open stream: Permission denied in C:\wamp\www\myapp\application\Initializer.php on line 9
Call Stack
( ! ) Fatal error: require_once(): Failed opening required 'Zend/Controller/Plugin/Abstract.php' (include_path='.;C:\php\pear') in C:\wamp\www\myapp\application\Initializer.php on line 9
so it opens initializer.php and stops on line 9 trying to find the include_path and its defaulting to a wamp directory which is not relative.
thanks,