| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2002-11-21 21:15 UTC] sniper@php.net
  [2002-11-22 13:33 UTC] kevincarlson at houston dot rr dot com
  [2002-11-23 13:33 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 08:00:01 2025 UTC | 
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