#15374 [Com]: include_path loses value when executed
| From: | patrick dot greer at charter dot net | Date: | Fri, 10 Jan 2003 18:56:29 +0000 |
| Subject: | #15374 [Com]: include_path loses value when executed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29705@lists.php.net to get a copy of this message | ||
ID: 15374
Comment by: patrick.greer@charter.net
Reported By: aaron.hawley@uvm.edu
Status: No Feedback
Bug Type: PHP options/info functions
Operating System: Solaris 8
PHP Version: 4.2.1
New Comment:
I am experiencing the same issue with my hosting provider! Plaform is:
* FreeBSD 4.6-STABLE
* Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.11
OpenSSL/0.9.6a
* PHP 4.2.3
I have to do the ini_set('include_path', ini_get('include_path'));
trick to pick up any PEAR classes.
It seems, however, that if I set the include_path in an .htaccess
directive, the problem completely goes away...
If I can help diagnose this, I'd be happy to.
Patrick
Previous Comments:
------------------------------------------------------------------------
[2002-09-11 01:00:02] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-08-10 09:37:23] kalowsky@php.net
Any chance you can try the non-stable, development branch of this?
------------------------------------------------------------------------
[2002-08-08 14:34:48] aaron.hawley@uvm.edu
php4-STABLE-latest.tar.gz > 08-Aug-2002 09:02 3.3M
still appears that the include_path value doesn't get dropped, but it
also doesn't get used.
------------------------------------------------------------------------
[2002-08-08 09:16:18] aaron.hawley@uvm.edu
here is more information on that snapshot we installed; in particular
the requirement of absolute paths. it seems to not drop the
'include_path' information - which is good, but it also doesn't seem to
use the value either.
Warning: main("Class.php") - No such file or directory in
/usr/local/http-data/htdocs/foo/foo.php on line 2
Fatal error: Failed opening required 'Class.php'
(include_path='.:/usr/local/lib/php') in
/usr/local/http-data/htdocs/foo/foo.php on line 2
------------------------------------------------------------------------
[2002-07-19 15:51:25] aaron.hawley@uvm.edu
that snapshot seems to require absolute pathnames, or atleast rejust
relative paths?
i haven't noticed a warning being generated. but this is on our
non-production and "less stressed" test web server.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15374
--
Edit this bug report at http://bugs.php.net/?id=15374&edit=1