Just to set my mind at ease; Apache files got severely messed up and I uninstalled Apache2. I didn't loose all my websites did I? Please tell me that the databases are safe somewhere in the mysql or drupal side of things?

Also, how easy is this going to be to restore?

Ron

Comments

himtuna’s picture

always backup!

database is quite safe in mysql, so don't worry!
All you need is an expert to take a look at your apache2.conf file( I suppose thats the file you messed up) otherwise take atmost care in reinstalling the apache. No need and don't even try reinstalling mysql again.

Other wise on simple thing. Mysql server will be running
( I am no good at commands)
So fire up the terminal and backup the database through mysql
(For phpmyadmin you need apache, can't help there)

quikone’s picture

That sets my mind at ease. I had backed up the large site but neglected to backup the small ones. I will do some research on reinstalling Apache2.

BTW; Thanks again

quikone’s picture

I have reinstalled Apache2 and now get a window asking if I would like to download the file;

The box says; you have chosen to open

which is a: application/x-httpd-php
from http://thecomingdays.com

What should Firefox do with this file

Open with;

Save file

himtuna’s picture

Don't know whats this
But I think some configuration is missing.
mime handlers or some thing like

MAN PLease take an expert help. This is not a drupal related issue. So it would be better you move to a webmaster's forum. That would really help you.

frames’s picture

You could have forgotten to reinstall libapache2-mod-php5, php5, or any php-related packages. Try to follow a guide one installing Apache+PHP+MySQL and see if you have any packages missing.

quikone’s picture

Thanks again to those who helped me get back up and running. I finally decided to back up everything, remove and purge apache2 again. I then reinstalled Apache2, PHP5 and PHPMyadmin. I then rebooted the server and away I go.

My next venture is to get ssl working. Anyone have suggestions for a really good tutorial on this?

himtuna’s picture

Its really nice to hear that everything is working now!