Enable PHP7 apache module - apache 2.4 - Linux Ubuntu 14
Sharing my experience of installing PHP 7.3.3 on Httpd 2.4.33 in Linux environment.
- When you run the configure command for installing PHP, ensure that apxs is also included.
--with-apxs2=/path/httpd/bin/apxs
- Once you install PHP, you can see that a module libphp7.so is installed in httpd/modules.
- In httpd.conf, add an entry
LoadModule php7_module modules/libphp7.so
- Restart Apache.