You are not logged in.

#1 2012-02-29 14:24:19

ianbishop
Member
Registered: 2012-02-29
Posts: 2

nginx/php/mysql/fastcgi issues when installing wordpress [solved]

Hi,

I'm having some trouble with running wordpress on nginx. I've been using nginx to host my rails app for awhile, but attempting to setup wordpress is giving me trouble.

When I go to wp-admin/install.php I get the error "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." Naturally, I googled this and uncommented "extension mysql.so" and "extension mysqli.so". Restarted nginx and restarted mysql, same error.

I'm getting no errors in the nginx/logs/error.log and the request in the access.log looks like this:

x.x.x.x - - [29/Feb/2012:09:13:00 -0500] "GET /wp-admin/install.php HTTP/1.1" 200 114 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"

I configured the nginx.conf with defaults from [http://wiki.nginx.org/WordPress].

php.ini: http://pastebin.com/7gx5d00C
nginx.conf: http://pastebin.com/ka5nQ3x3
fastcgi.conf: http://pastebin.com/WqDQ7Lp2


Has anyone ran into anything like this before?

Last edited by ianbishop (2012-02-29 18:58:15)

Offline

#2 2012-02-29 15:17:17

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: nginx/php/mysql/fastcgi issues when installing wordpress [solved]

Did you restart php-fpm (or whatever fcgi spawner your're using), too?

Offline

#3 2012-02-29 18:58:03

ianbishop
Member
Registered: 2012-02-29
Posts: 2

Re: nginx/php/mysql/fastcgi issues when installing wordpress [solved]

teekay wrote:

Did you restart php-fpm (or whatever fcgi spawner your're using), too?

Argh, just did it and it fixed my issues. Thanks so much, no idea how that slipped from my mind.

Offline

Board footer

Powered by FluxBB