Alright, I've been following this guide (along with others to double check) to attempt to get a working lamp stack installed, but phpmyadmin always throws an HTTP 500 server error. PHP executes fine, it's just PHPmyadmin that will not work.

I uninstall the entire lamp stack each time and start from scratch. I did notice step 6 which says:

apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

Returns the following error:

The following packages have unmet dependencies:
php5-intl : Depends: libicu44 (>= 4.4.1-1) but it is not installable
E: Unable to correct problems, you have held broken packages

Even if I install all of the other packages except this one and try to install phpmyadmin, it returns a 500 server error.

1 Answer 1


Check out the comment below the tutorial linked here. I don't think the phpmyadmin directory is linked up with Apache2.

For what it's worth, on Ubuntu (and other Debian-based versions of Linux), you can really just type

sudo apt-get install apache2 mysql-server php5 phpmyadmin

and it will go off and install all the packages you need to get a working version of PHPMyAdmin up and running. I think that guide is having you install way too many PHP libraries that you'll likely never use. If you have issues with the above, run

sudo apt-get --purge remove packages from your quoted line

From a security and simplicity perspective, you should only install the applications (packages) that you absolutely need.

  • Tried all that but to no avail. Ended up re-installing the entire VM and attempting the tutorial listed here, unfortunately didn't work anything out. Sadly I have to move on due to time constraints at this point, but I appreciate the information.
    – Nick Brown
    Commented Aug 24, 2012 at 17:43
  • Sorry to hear, let me know if you ever want to pick it up again. It usually isn't this hard, I promise!
    – bobmagoo
    Commented Aug 24, 2012 at 21:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .