在Ubuntu上启用mod_php

Joh*_*gue 3 apache

我正在尝试在Ubuntu上启用mod_php.我越来越

/etc$ sudo a2enmod mod_php
ERROR: Module mod_php does not exist!
Run Code Online (Sandbox Code Playgroud)

但我相信它已经安装好了

etc$ sudo apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libapache2-mod-php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 91 not upgraded.
Run Code Online (Sandbox Code Playgroud)

有什么建议?

Fog*_*Day 8

我会尝试这个命令: sudo a2enmod php5

另外,请看这里.有一个非常好的机会你甚至不需要 "a2enmod"来让事情有效:

http://php.net/manual/en/install.unix.debian.php

http://chipersoft.com/p/Setting-up-a-LAMP-server-ubuntu/