Wednesday, July 27, 2011

LAMP @ Ubuntu 11.04 in userdir (public_html)

had a fresh install of ubuntu 11.04 lately and forgot how i set up the LAMP server the last time @ ubuntu 10.04

i like having sites under construction in the "public_html" @ my userdir folder instead of the default /var/html/ that is so "far away"

so, i found useful this link :-)
mkdir public_html
a2enmod userdir
/etc/init.d/apache2 restart
BUT, although i could open html pages, php was not working in my new custom folder under "public_html" :-(

this problem was solved after reading a comment at this page (scroll down)... the solution was in file "/etc/apache2/mods-enabled/php5.conf"

No comments: