Home  >  Article  >  Backend Development  >  What should I do if apache cannot parse php normally?

What should I do if apache cannot parse php normally?

藏色散人
藏色散人Original
2021-09-25 09:15:433186browse

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".

What should I do if apache cannot parse php normally?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn