I had some problems with Apache, so I removed the entire folder from /etc , /var... now the command:
sudo apt-get install apache2
doesn’t work, I guess because there are no apache folder anymore. So:
- Do I have to download it?
- Any other solution?
I had some problems with Apache, so I removed the entire folder from /etc , /var... now the command:
sudo apt-get install apache2
doesn’t work, I guess because there are no apache folder anymore. So:
Try to uninstall it via apt-get with
sudo apt-get remove apache2
or
sudo apt-get purge apache2
If it doesn't help - provide full output of that commands.
Apache2 catalogs still missing?
You may try
**sudo apt-get install apache2 --reinstall**
– F2nd
Feb 27 '14 at 13:06
/etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars – Ziyad Mestour Feb 27 '14 at 12:35