ID:               20554
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Slackware Linux 8.1
 PHP Version:      4.3.0RC1
 New Comment:

You were right.  There was an override in one of my apache
configuration files.  My apologies for a 'bogus' bug.

I will look into using the php forums/newsgroups from now on before
reporting anything further.  

btw - Apache version - Apache/2.0.43


Previous Comments:
------------------------------------------------------------------------

[2002-11-21 21:15:49] [EMAIL PROTECTED]

What apache version are you using?

And are you sure the include_path is not overridden
in httpd.conf or in some .htaccess file?



------------------------------------------------------------------------

[2002-11-21 18:48:20] [EMAIL PROTECTED]

Is there something wrong with include_path from the ini file?

grep include_path /usr/local/lib/php.ini
; (directory must also be in include_path or full path must
include_path=/usr/local/lib/php:/share/web/php:/share/web/secure/auth:/share/web/secure:/usr/local/apache2/php

;include_path = ".;c:\php\includes"

*** Please note the '/share/web/secure/auth' path.


ls -al /share/web/secure/auth
total 34
drwxr-xr-x    2 nobody   users         168 Nov 21 16:12 ./
drwxrwxr-x   10 nobody   users         528 Nov 21 16:12 ../
-rwxr-x---    1 nobody   users        9663 Nov 21 18:14 auth.php*
-rwxr-x---    1 nobody   users        5548 Nov 21 17:14 login.php*
-rwxr-x---    1 nobody   users         118 Nov 21 15:57 logout.php*
-rwxr-x---    1 nobody   users        5235 Nov 21 16:47
request_pass.php*

*** sane permissions

Portion of script producing errors:
error_log("cfg_file_path=".get_cfg_var('cfg_file_path'), 0);
error_log("Include path: ".ini_get('include_path'), 0 );
require "auth.php";


Output of error log:
[21-Nov-2002 18:32:38] cfg_file_path=/usr/local/lib/php.ini
[21-Nov-2002 18:32:38] Include path:
/usr/local/lib/php:/share/web/php:/share/web/secure:/usr/local/apache2/php
[21-Nov-2002 18:32:38] PHP Warning:  main(auth.php) [<a
href='http://www.php.net/function.main'>function.main</a>]: failed to
create stream: No such file or directory in /share2/mymp3/index.php on
line 11
[21-Nov-2002 18:32:38] PHP Fatal error:  Failed opening required
'auth.php'
(include_path='/usr/local/lib/php:/share/web/php:/share/web/secure:/usr/local/apache2/php')
in /share2/mymp3/index.php on line 11


So  cfg_file_path says the config file is being used.
but ini_get shows the path does not match my php.ini 

I checked all my files and no ini_set over-rides are in place.  Is this
parameter cached somewhere or somehow?

Regards,
Kevin Carlson

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20554&edit=1

Reply via email to