A key factor to a successful WPMU install? Make sure you have “php-mysql”!

December 28th, 2007 by Dan York

wpmulogo.jpg

When I started the WordPress MU installation, I was very careful to step through the installation process outlined in the README file. I made sure MySQL was working. I made sure PHP was working. I stepped through the installation web page that you get. It seemed like I was doing everything exactly as I was supposed to do.

However, I was getting a completely blank page! Nothing at all. A 0-sized HTML page. And no PHP error logs. Nothing. I was completely and utterly confused and after spending the better part of a day trying to figure this all out was about ready to give up completely on WordPress MU. I posted to forums. I went on the #wmpu IRC channel. I bothered friends…. I believe it was ultimately someone in one of the Skype public groupchats I monitor that helped me out… I communicated with a ton of people that day!

In the end, it turned out to be one little command that was all that was needed:

# yum install php-mysql

You see, I was using a stock Fedora Linux installation and it had both PHP and MySQL installed, but did not have the package that glues them together installed. Oops.

One ‘yum’ command later and everything was working fine. The installation went ahead just as the README file said it should. All was good.

The good news out of all of this was that I learned an incredible amount about PHP and MySQL, both of which I had not really used in any serious way for a few years. I also became very good at doing a WPMU installation! (since I kept blowing away my installation to try it again!)


UPDATE 25 January 2008: In the comments to this post, Garth Roxburgh-Kidd has indicated that the command to do this update on Red Hat Enterprise Linux 4 (RHEL) is this:

# up2date php-mysql

Thanks, Garth!


Related posts:

  1. Successful upgrade to WPMU 1.5.1 – with some lessons learned

Tags: , ,


Want to learn how Voxeo can help unlock your communications and deliver a better customer experience? Please contact us!

If you found this post interesting or helpful, please consider either subscribing via RSS, becoming a fan on Facebook, or following us on Twitter.


2 Responses to “A key factor to a successful WPMU install? Make sure you have “php-mysql”!”

  1. Garth Roxburgh-Kidd Says:

    I just banged my head against this for half an hour on RedHat Enterprise Linux 4 (RHEL4). Thank you for the solution: “up2date php-mysql”.

  2. Dan York Says:

    Garth, glad the post was helpful (and glad you only lost a half-hour!). Thanks for the RHEL4 command – I’ll update the article with that as well.

Leave a Reply

Please note: By submitting a comment you agree to comply with our Comment Policy. We welcome all comments, positive or negative, but do reserve the right to remove all or part of blog comments that do not comply with our policy.

Additionally, the first time you leave a comment on this blog, it will be held for moderation. After that first comment has been approved, future comments will be posted without delay.

Additional comments powered by BackType