I'm running WAMP on Windows Server 2003
PHP Version 5.2.x
Apache2
I tried setting the 'include_path' both within php.ini(and restarting apache) and setting it within htaccess
I am using the following value:
php_value include_path ".;../includes/;../include
s/pear/"
I have a file that is being required from the 'includes' directory (it does exist and is valid and a duplicate named file does NOT exist in the /includes/pear' directory) and am receiving the following error:
Warning: require_once(class.module.
php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\wamp\www\index.php on line 17
Fatal error: require_once() [function.require]: Failed opening required 'class.module.php' (include_path='C:\Program Files\wamp\includes\pear')
in C:\Program Files\wamp\www\index.php on line 17
I know this should be working as two other files are being required above the require for this file, and they all coexist in the same directory.
here is the require statements form the php file:
ini_set("display_errors","
on");
error_reporting(E_ALL ^ E_NOTICE);
require_once 'inc.config.php';
require_once 'inc.db_config.php';
require_once 'class.module.php';
require_once 'class.permissionManager.p
hp';
require_once 'class.cache.php';
All of these files lie in the same directory
The script is failing at the include of class.module.php
All of these files exist, are not corrupted and have been individually tested
What am I doing wrong here? I've been bainging my head for hours trying to figure it out.
Thank you in advance for any assistance you may be able to provide.
For reference, the entire htaccess file is as follows:
php_value include_path ".;../includes/;../include
s/pear/"
php_value max_input_time "-1"
php_value max_execution_time "0"
php_value post_max_size "20M"
php_value upload_max_filesize "20M"
php_value session.gc_maxlifetime 3600
Start Free Trial