ID:               48775
 Comment by:       hoffie at gentoo dot org
 Reported By:      alexander at sulfrian dot net
 Status:           Open
 Bug Type:         Streams related
 Operating System: Linux
 PHP Version:      5.2.10
 New Comment:

I don't think we are shipping any intrusive patches here at gentoo
anymore, and those we do ship haven't changed for some time.
Also, I'm using roundcube without problems on one of my machines with
the latest php and another dev just told me he's using horde without
problems.
Please retry with a vanilla php build (tarball from php.net)


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

[2009-07-05 01:26:17] t...@php.net

Because I work on RoundCube, I double-checked this bug submission.

Just compiled PHP 5.2.10 from source with this:

./configure --with-mysql  --enable-fastcgi --enable-force-cgi-redirect
make

And then put the "sapi/cgi/php-cgi" into the webserver as the fcgi 
binary it uses to serve PHP to test it. And, absolutely no issues.

It seems to me like the Gentoo packages are borked. I suggest you guys

verify that it works for you when you compile PHP from source.

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

[2009-07-03 14:09:01] bugs+php at nospam dot obeliks dot de

I can confirm that I'm having the same problem with php-5.2.10 on
Gentoo linux.

Here it occurs with Horde Webmail, which uses the following call to
change the include_path (which worked fine on any previous version of
php):
> ini_set('include_path', dirname(__FILE__) . PATH_SEPARATOR .
dirname(__FILE__) . '/../pear');

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

[2009-07-03 08:59:52] alexander at sulfrian dot net

Noticed while trying to install roundcube webmail 0.2.0. I just tried
to create a minimal testing script and didn't get it. 

One strange thing is, that if i call the script via php cli from shell,
it is working. Don't know how i could debug it. roundcube using the
__autoload function and all includes seems to be ok. Is there any
possibility to echo the hostname, that could not be resolved if such
error occur?

I am using Gentoo Linux and so installed php from source via the
portage system of gentoo. I not changed the config and so used the
original that is installed by gentoo. (Do not know if it is 100%
identical to the original from the php source package.)

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

[2009-07-02 15:17:23] j...@php.net

What scripts..? When you install PHP from sources, any existing ini
files ARE NOT TOUCHED. Did you use some RPM or what?

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

[2009-07-02 13:22:13] alexander at sulfrian dot net

Description:
------------
Hi,
I updated recently to php-5.2.10 and some scripts are not working
anymore. The scripts added some elements to the include_path. While
including some files from the include_path php echos the error that it
cannot resolve the host name. I think that this error is caused by the
change, that stream wrappers could be used in the include path and the
PATH_SEPERATOR and the stream wrappers collidate.

Downgrading to php-5.2.9-r2 solves the problem again.

Actual result:
--------------
[02-Jul-2009 13:21:47] PHP Warning:  require() [<a
href='function.require'>function.require</a>]: Couldn't resolve host
name in <file> on line <line>
[02-Jul-2009 13:21:47] PHP Warning:  require(rcube_user.php) [<a
href='function.require'>function.require</a>]: failed to open stream:
operation failed in <file> on line <line>


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


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

Reply via email to