Solutions to php's non-parsing in ubtunu: 1. Execute the sudoapt-get install libapache2-mod-PHP sudoa2enmod PHP command; 2. Completely uninstall libapache2-mod-php and reinstall it; 3. Just restart apache2 through udo /etc/init.d/apache2 restart.
Php introduction to employment online live class: enter the learning API post = postman+swagger+mock+jmeter super easy-to-use API debugging tool: click to use.
Operating environment of this course: ubuntu18 system, PHP version 8.1, Dell G3 computer.
What if php doesn't parse in ubtunu?
Ubuntu18 can't parse php problem solving.
1、
sudo apt-get install libapache2-mod-php sudo a2enmod php
2. If it is displayed as This module does not exist!
Uninstall libapache2-mod-php completely and then reinstall it.
sudo apt-get remove --purge libapache2-mod-php sudo apt-get install libapache2-mod-php
3. Then restart apache2.
sudo /etc/init.d/apache2 restart
Extension:
Ubuntu is a Linux operating system based on desktop applications. Its name comes from the word "Ubuntu" in Zulu or Hausa in southern Africa, which means that humanity is my existence because of everyone's existence. It is a traditional African value. Ubuntu is based on Debian distribution and Gnome desktop environment, and since version 11.04, Ubuntu distribution has abandoned Gnome desktop environment and changed to Unity. People used to think that Linux was difficult to install and use, but after Ubuntu appeared, these things became history. Ubuntu also has a huge community power, and users can easily get help from the community. Since Ubuntu 18.04 LTS, Ubuntu distribution has started to use the GNOME3 desktop environment again.
Recommended study: PHP video tutorial
Copyright Description:No reproduction without permission。
Knowledge sharing community for developers。
Let more developers benefit from it。
Help developers share knowledge through the Internet。
Follow us
2023-12-04