Archive

Posts Tagged ‘wordpress’

[Solved] WordPress automatic upgrade and nginx

September 12th, 2009 cyprix No comments

With my slow move over to nginx I’ve been finding the odd niggle to solve. Today’s one was the inability for my wordpress installations to use the automatic upgrade facility whilst running on nginx. Instead it kept asking to fall back to ftp for upgrading.

On apache, this can occur when your wordpress directory does not have write permissions for the apache user. But I’d already checked that. So I got thinking…

Since nginx and php fastcgi are separate processes I checked the users they were running under – lo and behold the php-fcgi was running under root!!! Big oops! Solution: change php-fcgi to run as user nginx & group nginx (same as the nginx server under Mandriva). As I currently use the spawn-fcgi program I changed by init.d file to use the user and group options as shown below.

/usr/local/bin/spawn-fcgi -u nginx -g nginx

All fixed :)

At some stage I’ll post my init.d file for php-fcgi and my nginx configuration files once they become somewhat stable.

Categories: Linux, Servers, Tech Tags: , , ,

Migrating to nginx, php 5.3, mysql 5.1, mandriva 2010… and more

September 7th, 2009 cyprix No comments

Lots going on at the moment. I’m migrating most of mine and my clients websites to nginx from apache in preparation for moving everything to a new server.

First thoughts? Nginx is super fast, reasonably easy to configure (once you figure out the php issues) and saves a heap on memory. Downside? I’ve had the odd niggle with moving old sites across – especially since I’m moving to php 5.3 and MySQL 5.1 at the same time, otherwise all good.

The other major change is the look of this blog. The old K2 theme was becoming an issue to deal with (mainly because I didn’t update it enough) so I’ve now moved to this lovely theme: inove. I’ve also done a fresh wordpress install of 2.8.4 and added pretty links – so anyone linking to the old structure might have the odd issue, but otherwise should be painless. Oh yeah – any images on the older posts (pre Aug 2009) are gone.

Anyway here is a list of upgrades currently underway:

  • php 5.2.x to 5.3.0
  • mysql 5.0 to mysql-max 5.1
  • apache 2.2/mod_php to nginx 0.8.10/php-fcgi
  • athlon64 2ghz 1gb ram to athlon64 X2 2ghz 2gb ram
  • mandriva 2008.x/2009.x to 2010.0 (Cooker)
  • wordpress 2.x.x to 2.8.4
  • mediawiki 1.x to 1.15.1
  • bind 9 to powerdns 2.9.22
  • and a few more that i’ve forgotten about

Update to wordpress 2.3.3

March 11th, 2008 cyprix No comments

Updated to fix security bugs. I really must make sure I keep up with these ;)

Categories: Asides Tags:

Updated to wordpress 2.3.2

January 27th, 2008 cyprix No comments

Well, I’ve been getting a bit behind, so in an effort to keep up to date I’ve upgraded the Planet Cyprix blog to WordPress 2.3.2 & theme K2 rc4.

Categories: Asides Tags:

Blog Visual Update

April 4th, 2007 cyprix No comments

Thought i’d revamp the look of this blog. Enter K2!

K2 is the follow on from the original kubrick theme.

I’ll be updating the look over time using K2 as the basic framework. If you like it get it from getk2.com

Categories: Asides Tags: