Advertisement

05.23.2008 at 07:28PM PDT, ID: 23429377
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

apache+windows(wamp)+htaccess php_value include_path not working right

Asked by trickyidiot in PHP for Windows, Apache Web Server, WebApplications

Tags: , , ,

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/;../includes/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.php';
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/;../includes/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 3600Start Free Trial
[+][-]05.24.2008 at 09:47AM PDT, ID: 21639595

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.24.2008 at 12:39PM PDT, ID: 21640064

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.24.2008 at 02:10PM PDT, ID: 21640250

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.24.2008 at 05:52PM PDT, ID: 21640780

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.24.2008 at 08:59PM PDT, ID: 21641416

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.09.2008 at 08:48AM PDT, ID: 21744140

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2008 at 08:09AM PDT, ID: 22346256

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP for Windows, Apache Web Server, WebApplications
Tags: WAMP (Windows Apache + PHP), WAMP, installed in win 2003 server, htaccess / php.ini
Sign Up Now!
Solution Provided By: trickyidiot
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628