We emerged Apache to start, and noticed that PHP didn’t work correctly. Kinda makes sense, but ya gotta start somewhere. We’ve relied on RPMs in the past, as in this article. There are some gotchas. Agatha’s Gentoo workstation is a year old or so, now, so emerge mod_php and emerge phpmyadmin didn’t quite work as claimed. From the docs, first edit /etc/conf.d/apache2, and modify the line:
APACHE2_OPTS="-D PHP4 -D SSL"
The other tricky thing was that the database didn’t get modified correctly. We had to run the mysql-setup.sql script in /etc/phpmyadmin manually. Not too bad, really. Now, we have: