I have Ubuntu 12.04 and tried to install Apache/PHP/MySQL with the
default LAMP stack using
Everything went well until I was going to edit the
/etc/apache2/ports.conf file according to the ApacheMySQLPHP guide. I unintentionally deleted the contents of the document because I had not first changed the file's permissions.
Now, I cannot figure out how to restore the file to its original state.
I tried reinstalling the programs, but it had no effect, as Apache is still installed and running.