Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I attempt to run phpMyAdmin (both 3.5.5 and or Drupal (7.22) in chrooted Apache (2.2.3), I get the WSOD (White Screen Of Death; a.k.a. a blank page). I have tried with both mod_chroot (0.5, apache 2.2.3) and ModSecurity. The HTTP response codes are 500, but there are no errors in any of the logs.

I have verified that sessions and MySQL work when mod_chroot is enabled. I have also verified that both phpMyAdmin and Drupal work when mod_chroot is disabled.

share|improve this question
up vote 1 down vote accepted

After ignoring phpMyAdmin and moving on to Drupal, I ran across the same issue. After a quick search, I found this:

After copying the "timezone files" to the chroot jail, as described in the article, both Drupal and phpMyAdmin started working. I have updated the question to make it a bit more generic.


Here's the relevant command from the article:

cp -fR /usr/share/zoneinfo/* /jail/usr/share/zoneinfo/

I just adapted it for my own setup.

share|improve this answer
It would be nice if you could copy the relevant pieces from the linked article into your answer (and leave the link for reference). – Oliver Salzburg Aug 6 '13 at 21:53
@OliverSalzburg There isn't exactly a wealth of information there, but I added the relevant command to the answer. – user1936123 Aug 6 '13 at 23:50
Thanks for the effort :) If you would like to have your bounty refunded (because you found the solution yourself anyway), let me know. Of course, there's nothing wrong with letting the bounty stand in case someone might come up with a solution you like better (if that's possible). – Oliver Salzburg Aug 7 '13 at 0:17
@OliverSalzburg Thanks, but I suppose that it is possible that someone could provide a cleaner solution, though I am satisfied with this solution and suspect that's the best it will get with a chroot environment. – user1936123 Aug 7 '13 at 0:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.