PDA

View Full Version : [ubuntu] Apache Help


jamelb
August 16th, 2008, 12:51 AM
I am having major issues i just reinstalled ubuntu server and i am trying to restore my wordpress. I put the folder where it belongs and restored the sql database but the screen shot is all i get. thank you
81697

windependence
August 16th, 2008, 04:05 AM
You need to re-enable the php module in Apache.

Why did you reinstall?

-Tim

jamelb
August 16th, 2008, 08:12 AM
i needed to reinstall for a school project tim....also how do i re-enable the php module in Apache?

windependence
August 16th, 2008, 08:19 AM
OK like this:

sudo libapache2-mod-php5

sudo a2enmod php5

sudo /etc/init.d/apache2 restart

Make sure you clear your browser's cache before testing it again.

If sudo a2enmod php5 returns "$ This module does not exist!", you should purge (not just remove) the libapache2-mod-php5 package and reinstall it.

-Tim