easyphp and wpmu

I decided to play with the latest beta version of wpmu 2.7 locally to see how a local backup of my wpmu site would perform.  I’ve used xampp previously, but decided to try easyphp.  The results of the testing were pretty positive.  The vast majority of plugins worked immediately, and the new backend admin panel is a huge improvement over the current wpmu backend.  I had to disable wpsary gallery to get the new version to run.  For anyone else attempting this excersize, here are some pointers.

EasyPHP setup:

  1. Install EasyPHP
  2. Modify the http.conf file to match your current server settings
  3. If you use mod_rewrite on our web server, enable the module in the http.conf file
  4. Move your site backup into the www folder inside EasyPHP
  5. Modify the php.ini file to match your current server settings
  6. Start phpmyadmin via the EasyPHP admin panel
  7. Add a mysql user with the same name, password, and permissions as your web server mysql
  8. Import your DB backup
  9. Restart EasyPHP

Setting up your local WPMU

  1. Change the configuration file to use 127.0.0.1 as your db host instead of localhost
  2. Using phpmyadmin change the URL for blog 1 to 127.0.0.1

If you use multi-db (from wpmu premium website)

  1. Change all of your localhosts in the db config file to 127.0.0.1
  2. Find the db with blog 1 in it, and change the URL for blog 1 to 127.0.0.1

If you use sub-domains on your web server, you will not be able to test them locally, only blog 1 will work.  The problem is ( test.127.0.0.1) isn’t a good url.

Hope this helps someone.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(required)

(required)


Powered by WP Hashcash