I upgraded from PHP 5.2.9-r2 to 5.2.10, restarted apache and accessed roundcube (which was working). It give a blank page. No apache or php errors. Reproducible: Always I reloaded PHP 5.2.9-r2 and it works again. These are the use flags: apache2 bcmath berkdb bzip2 cgi cli crypt ctype curl curlwrappers exif force-cgi-redirect ftp gd gdbm iconv imap ipv6 json mysql ncurses nls pcre postgres readline reflection session simplexml sockets spl ssl tidy unicode wddx xml zip zlib
There are some logs from rouncube error log file. ---------------------- [11-Jul-2009 18:44:29] PHP Warning: include() [<a href='function.include'>function.include</a>]: Couldn't resolve host name in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100 [11-Jul-2009 18:44:29] PHP Warning: include(rcube_user.php) [<a href='function.include'>function.include</a>]: failed to open stream: operation failed in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100 [11-Jul-2009 18:44:29] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'rcube_user.php' for inclusion (include_path='/var/www/localhost/htdocs/roundcube-dev/:/var/www/localhost/htdocs/roundcube-dev/program:/var/www/localhost/htdocs/roundcube-dev/program/lib:/var/www/localhost/htdocs/roundcube-dev/program/include:.:/usr/share/php5:/usr/share/php') in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100 [11-Jul-2009 18:44:29] PHP Fatal error: Class 'rcube_user' not found in /var/www/localhost/htdocs/roundcube-dev/program/include/rcmail.php on line 123
I have the same problem with lighttpd. the first problem is, that rc/php has problems when your www-root is actually a symlink, as it does a define("INSTALL_DIR", ..) in ./program/includes/iniset.php which in fact leads to non-findable files here, as php does not resolve symlinks (it seems?). after fixing that with manually setting the constant in index.php i still get a empty page :(
I thought we already had a bug for that, but apparently I confused it with the upstream bug. References: http://bugs.php.net/bug.php?id=48775 http://bugs.php.net/bug.php?id=48603 And there's no fix yet. IMO this has to be fixed in PHP as it is obviously a regression, but I'm not sure if upstream agrees. Let's see.
why fix it ?? - runs here fine with php 5.2.10 - tested with roundcube-0.2 and roundcube 0.22 !! Maybe you should compile php with my USEFLAGS: apache2 berkdb bzip2 cgi cli crypt ctype curl exif force-cgi-redirect ftp gd gdbm iconv imap mhash mysql ncurses nls odbc pcre pic posix readline reflection session sockets spell spl sqlite ssl tokenizer truetype unicode xml xsl zlib HTH, Robert.
workaround in short: USE="-curlwrappers" emerge php
Can you verify upstreams assertion that this is fixed in the new version of php? If the bug persists, please reopen it.