I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5.
I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box.
How should I proceed?
Viewing a single forum discussion topic.
← Back to Programming Errors And Help
I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5.
I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box.
How should I proceed?
Ubuntu doesn't use httpd.conf as standard, instead global configuration stuff for apache is found in /etc/apache2/apache2.conf. You can create a httpd.conf in the apache2 directory, and load any further configuration from it by including the following line in /etc/apache2/apache2.conf.
Include /etc/apache2/httpd.conf
You don't need that file to configure apache, but you can create it if other software relies on it being there.
Last updated
1-3 of 3
You cannot edit posts or make replies: You should be logged in before you can post.