Posts Tagged ‘wordpress’

Is Nginx better?

September 13, 2008

I first tried Nginx back in November last year when I entered the world of VPS. The first ride wasn’t smooth as I couldn’t get php to work with Nginx.

I recently tried installing the Linux Nginx (Often called Engine X) Mysql and PHP, or the LEMP stack, again and this time I finally cracked it. My little experience is recorded here. I also recorded how to install phpmyadmin which is useful if I have to transfer database between servers.

Now I’ll have to test out how I could move database across after that I’ll decide if LEMP would be better for my use. My sites currently are of low traffic consuming only about 2G per month but I could see this number growing.

WordPress WXR import now works

March 27, 2008

This time Slicehost forum came to rescue. It’s the /tmp folder that has been naughty. There is another /var/tmp which keeps file after a reboot but that doesn’t need to be writable. Only /tmp has to be for temporary files. This is causing WXR import to fail.

Sister’s site is now back to live.

Because I Learn is back

March 27, 2008

Everything I know failed, WXR import and mysql import are useless to me.

I used a temporary WP install to hold the content of ‘Because I Learn’ in this server which I imported content from into this Habari site. Last night I swopped the folder, i.e. ‘Because I Learn’ domain is pointing to that temporary WP installation directory by using mv dir1 dir2 command. This temporary WP site is now pointing to a almost blank install. Because I Learn is now back to live.

I have shouted for help in WordPress support 4 times, haven’t heard a thing yet. From Slicehost forum someone suggested that I check out write permission of the /tmp folder. Reading this article I’ll be learning something new.

WXR upload failure

March 26, 2008

I have done this a number of times don’t know why suddenly it doesn’t work. Thanks again Site5‘s good support I have renamed my prime account name there such that I could move couple of subdomain WP sites to my new server. Renaming of the prime account name was done within minutes then it was pretty easy creating CNAME records and switching DNS at the domain registrar.

I have been using WordPress svn copy for my sites. The WXR upload failed on me. I thought that was write permission problem so I chmod 777 . the wp-content directory to make it work. It failed again.

WXR import failed

I also found that theme files are not writable so I did chmod -R 777 . again making sure it changes access permissions recursively to all files and directories. I could now update theme files but importing of WXR file is still not possible.

Both svn and stable release 2.3.3 have been tried. I don’t know what else could be done apart from using MySql dump, change url reference and MySql import. I have shouted for help at WP’s forum but so far heard nothing.