apache2 enable php – How to Enable Php In Apache?

apache2 enable php Step 1: Install Apache2 Web Server, Step 2: Install PHP and Related Modules, Step 3: Configure Apache2 PHP Settings and Step 4: Test PHP Setup.

apache2 enable php – How to Install PHP on Windows 10 (with Apache & MySQL)

It might be PHP is not enabled in your apache configuration. Edit the PHP configuration file. . You can uncomment PHP module by removing ‘#’ sign at the beginning from httpd.conf.

running following command:

sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

running following command:

sudo a2enmod php5  
sudo service apache2 restart 

running following command:

sudo service apache2 restart

don’t Miss : PHP For Dummies

I hope you get an idea about apache2 enable php.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment