include_path setting
Posted: 30. October 2007 13:21
I'm a newbie. Not a coder, that's for sure. I'm eliminating a subdirectory and moving files to the root directory of my site, and now none of the include files work. Here's the error message I'm getting:
Warning: require_once(/Connections/connComradeJack_Blog.php) [function.require-once]: failed to open stream: No such file or directory in D:\Program Files\xampp\htdocs\comradejack\searchmodule.php on line 1
Fatal error: require_once() [function.require]: Failed opening required '/Connections/connComradeJack_Blog.php' (include_path='.;D:\Program Files\xampp\php\pear\') in D:\Program Files\xampp\htdocs\comradejack\searchmodule.php on line 1
I know I need to change the include_path statement to include other directories/files, but not sure of the exact syntax. Running Windows XP home edition. I've found the php.ini file in a couple of different locations, not sure which is the real one. Guess I could change them all, but don't know the how to change the path to include the root and subdirectories therein. Is this possible? Thanks for your help.
Warning: require_once(/Connections/connComradeJack_Blog.php) [function.require-once]: failed to open stream: No such file or directory in D:\Program Files\xampp\htdocs\comradejack\searchmodule.php on line 1
Fatal error: require_once() [function.require]: Failed opening required '/Connections/connComradeJack_Blog.php' (include_path='.;D:\Program Files\xampp\php\pear\') in D:\Program Files\xampp\htdocs\comradejack\searchmodule.php on line 1
I know I need to change the include_path statement to include other directories/files, but not sure of the exact syntax. Running Windows XP home edition. I've found the php.ini file in a couple of different locations, not sure which is the real one. Guess I could change them all, but don't know the how to change the path to include the root and subdirectories therein. Is this possible? Thanks for your help.