Today i was asked to configure lamp for someone. Lamp is simple apache, mysql and php speaking to each other on a linux server. I have a basic method which I’ve used for every single setup I’ve done so far. It always works… Until today. After installing the needed mysql, apache and php modules and core files. thee public_html user dir module wouldn’t work for apache, His php wasn’t parsing and mysql cant connect tot he mysql socket it needs to run.
I wanted to uninstall it all and do it over as we had to do alot of fiddling with the apache conf file to get the userdir module to work.. Turns out the apache module for userdir wasn’t enabled by default on his lamp install :s why i’m unsure. To enable it he used a2enmod wich to me reads apache2 enable module. the rest relative to enabling the module is pretty straight forward. The help with enabling thee module was found at debubuntu.
Sad truth is the guy still has a non working server relative to parsing php scripts and a dead mysql-server. I hope I’ll get a chance to look at it tomorrow.

