How to install php on Apache on Fedora?

How to install php on Apache on Fedora? The basic support (basic PHP support, no caching, etc.) should be enough.

First, install Apache2 (httpd):

# yum install httpd

Then, enable php support:

# yum install php

Remember to restart httpd after you install php:

# service httpd restart
Leave a Reply

Your email address will not be published. Required fields are marked *