Archive for the ‘Wordpress’ Category

Change XAMPP default user

Tuesday, February 23rd, 2010

For Mac version of XAMPP, the default user is “nobody”

To change the default user to the mac user you are logging in, you need to use “sudo” command to edit XAMPP configuration file.

If you are using normal text editor to edit the configuration file, you will get permission denied error.

(more…)

Delete WordPress Old Folder in Dreamhost

Saturday, August 15th, 2009

If you are using Dreamhost to host your wordpress site.

When wordpress is upgraded by using one-click install, a copy of the wordpress folder will be store as xxx.com.old.

We would like to delete it to free some space, but is can’t be deleted completely. That is because¬†there are file (advanced-cache.php -> plugins/wp-cache/wp-cache-phase1.php) been locked and FTP user do not have permission to delete it. You have to be Shell User.

Change your permission using Manage User Function in Dreamhost Control Panel. Then using SSH clients such as Putty to telnet in your dreamhost FTP Server.

cd xxx.com.old
cd wp-content
rm advanced-cache.php