newphpuser Posted March 20, 2008 Share Posted March 20, 2008 I am running Apache server on Windows XP, with php as a loaded module. My script is situated in: C:\Program Files\Apache Group\Apache2\htdocs\aruk\ and it needs to access another file, via 'include' in: C:\Program Files\Apache Group\Apache2\htdocs\aruk\includes\ My script uses: 'include("./includes/config.php");' In my php.ini file I have the include_path set to: C:\Program Files\Apache Group\Apache2\htdocs\aruk\includes\ which isn't working for me. My script cannot locate the config.php file as it should. What should my include_path be set to in php.ini in order for it to work correctly please? Quote Link to comment Share on other sites More sharing options...
newphpuser Posted March 21, 2008 Author Share Posted March 21, 2008 Wow! 195 views, at the time of writing this, and nobody knows the answer? Now I don't feel bad not knowing it myself. Strange though, I thought someone here would know. ??? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 21, 2008 Share Posted March 21, 2008 Do not modify the include_path. The default setting will work fine: include_path = "." Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.