Home > Article > Backend Development > What should I do if apache cannot parse php normally?
Solution to the problem that apache cannot parse php normally: 1. Enter the command window; 2. Execute the command "sudo apt-get install libapache2-mod-php".
The operating environment of this article: Ubuntu16.04 system, PHP5 version, DELL G3 computer
What should I do if apache cannot parse php normally?
Solution to the problem that apache cannot parse php
Record the problem that the apache server under Ubuntu16.04 cannot parse php, as shown in the figure:
The most direct and fastest solution for this Ubuntu16.04 is to execute the following command:
sudo apt-get install libapache2-mod-php
Recommended study:《 PHP video tutorial》
The above is the detailed content of What should I do if apache cannot parse php normally?. For more information, please follow other related articles on the PHP Chinese website!