How to make Apache web server ready for PHP support

Asked By 0 points N/A Posted on -
qa-featured

I already installed and configured a basic apache web server and it is functioning without any errors.

Now I need to make it ready for PHP support. What are the changes that I should make in the httpd.conf and any other configuration files to make the server ready for PHP? If you can please upload the copy of httpd.conf configuration file after modified.

SHARE
Answered By 0 points N/A #84330

How to make Apache web server ready for PHP support

qa-featured

Hi, if you're using apache web server below is a sample picture of httpd.conf content for setting your apache server. This apache server settings will work finely with php5. With this picture below, you can check and carefully replace your setting on httpd.conf so you can use optimize your apache server.

But if you want the simple server for personal/local use, you can use XAMPP or LAMPP (depend of your OS), please do not replace these settings to your httpd.conf, because XAMPP/LAMPP had their own settings for their package so their server can run. Have fun with your apache server 🙂

Login/Register to Answer

Related Questions