Gee I am having a bad day...
I was trying to configure OpenSSL, then I removed it (apt-get remove open-ssl). This removed apache and a few other things.
After reinstalling apache, apache starts and stops, php works (i.e. php filename.php works), however the browser still prompts to save the php 5.
I made sure that the php apache modules is enabled (libapache-mod-php5) and is present in /etc/apache2/mods-available/
apache2ctl configtest also shows that the config is OK.
I also checked sites-enabled, and the only one enabled is default, and it looks correct.
Everything seems intact apart from Apache, so I am not sure where to go from here.
Pls help!!!
Broken Apache? Asks to save php files
Moderator: General Moderators
Re: Broken Apache? Asks to save php files
You mean file.php works but file.php5 doesn't ? And it did before?AP81 wrote:php works (i.e. php filename.php works), however the browser still prompts to save the php 5.
I managed to fix it. The problem was no .php .php3 files would work, but the did before.
This is what I did to fix it:
Then I restarted apache.
This is what I did to fix it:
Code: Select all
ln -s /etc/apache2/mods-available/php5.load /etc/apache2/mods-enable/php5.load