Welcome! Log In Create A New Profile

Advanced

Odd 500 Internal Server Error with a Wordpress file (NGINX & PHP-FPM)

August 04, 2012 10:36AM
Hey folks. I'd appreciate some help with this bit of wierdness: Fresh install of wordpress downloaded yesterday, running on nginx with a fastcgi_pass to php-fpm. The install went flawlessly, and most everything seems to work correctly, except that when I click on the "Posts" button in the admin interface (/wp-admin/edit.php), I get a mostly blank screen that says "Invalid Post Type". Like I said, this is a completely fresh install, so I don't have ANY custom page types or anything, it's perfectly default right now. While I've performed plenty of wordpress installs without issue, I'm a relative neophyte to nginx anf php-fpm, and am sure something's gone wrong somehow on the backend. I do notice that php-fpm is logging a 500 status code when I hit that page, but can't seem to get any meaninful error message in the browser telling me exactly what went wrong. Nginx is connecting to php-fpm via fastcgi_pass to a unix domain socket. I've made sure that php-fpm and nginx are both running as the same user, and that the directory being served from has appropriate permissions. phpinfo() returns flawlessly on a test.php page. Any ideas from those more experienced than me?
Subject Author Posted

Odd 500 Internal Server Error with a Wordpress file (NGINX & PHP-FPM)

endikos August 04, 2012 10:36AM

Re: Odd 500 Internal Server Error with a Wordpress file (NGINX & PHP-FPM)

jonarmstrong August 28, 2012 08:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 202
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready