After upgrading nginx from 0.8.54 to 1.0.2, getting blank page with drupal context module install

Events happening in the community are now at Drupal community events on www.drupal.org.
spacereactor's picture

This is the error log from server
2011/05/11 17:40:02 [error] 3358#0: *1 FastCGI sent in stderr: "PHP Fatal error: require() [function.require]: Failed opening required 'context.core.inc' (include_path='.:/usr/local/lib/php') in ˆ×® on line 3" while reading response header from upstream, client: 220.255.1.81, server: mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mydomain.com"
2011/05/11 17:40:05 [error] 3358#0: *1 FastCGI sent in stderr: "PHP Fatal error: require() [function.require]: Failed opening required 'context.core.inc' (include_path='.:/usr/local/lib/php') in x¯ on line 3" while reading response header from upstream, client: 220.255.1.81, server: mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mydomain.com"
2011/05/11 17:45:08 [error] 3383#0: *1 no user/password was provided for basic authentication, client: 220.255.1.85, server: mydomain.com, request: "GET /install.php HTTP/1.1", host: "mydomain.com"
2011/05/11 17:50:22 [error] 3383#0: *115 FastCGI sent in stderr: "PHP Fatal error: require() [function.require]: Failed opening required 'context.core.inc' (include_path='.:/usr/local/lib/php') in ØŠú on line 3" while reading response header from upstream, client: 220.255.1.52, server: mydomain.com, request: "POST /admin/build/modules/list/confirm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mydomain.com", referrer: "http://mydomain.com/admin/build/modules/list/confirm"

My using linode server, nginx 1.0.2 / php 5.2.17 / php-fpm / APC-3.1.8 / mariadb 5.2
If i purge nginx 1.0.2 and install back 0.8.54 the drupal context module work. I also try with a fresh installation of drupal and only install context modules and i getting error with nginx 1.0.2

I already post this at nginx forum, hopefully some can share some light on this.

Comments

forget to add the link from

spacereactor's picture

forget to add the link from nginx forum http://forum.nginx.org/read.php?2,197733

Like I told you there

perusio's picture

I have no problem whatsoever with context and nginx 1.0.2.

I'm using php 5.3.6 with apc 3.1.7 both packages from debian testing/unstable.

Mind you that I don't use a stock nginx build but instead I use a custom build with a bunch of patches.

i found out the problem is

spacereactor's picture

i found out the problem is APC 3.1.8, i remove and re-compile php with APC 3.1.7 and it work again. Current setting is nginx 1.0.2 / php 5.2.17 (php-fpm) / APC 3.1.7 / and mariadb 5.2

Thank you for all the help

There is new version of APC.

spacereactor's picture

There is new version of APC. Just upgrade to APC 3.1.9 it work drupal and nignx 1.0.2

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: