I'm trying to enable mod_php on Ubuntu. I'm getting
/etc$ sudo a2enmod mod_php
ERROR: Module mod_php does not exist!
But I believe it's already installed from
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.
Any advice?
I would try this command: sudo a2enmod php5
Also, please look here. There's an extremely good chance you don't even need "a2enmod" to get things working:
http://php.net/manual/en/install.unix.debian.php
http://chipersoft.com/p/Setting-up-a-LAMP-server-ubuntu/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With