Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I currently use the pre-fork MPM, which has been fine for my needs. However, I upgraded to the event MPM as an experiment and ran into an issue with PHP rending by html and shtml pages.
My pre-fork configuration of apache2.conf contains the following code:
#activate PHP <FilesMatch .php$> SetHandler application/x-httpd-php </FilesMatch>
and
#enable PHP rendering by html and shtml pages <Directory /var/www/> Options Indexes FollowSymLinks Multiviews Includes AllowOverride All Order allow,deny allow from all Require all granted AddType application/x-httpd-php .html .shtml </Directory>
So when I tried the event MPM, the FilesMatch code was no longer necessary and also caused a conflict. The AddType code caused a conflict as well and had to be removed.
At this point, a page with the .php extension will render PHP code, but one with the .html extension will not.
Is there a way to once again allow an html page to render PHP code?
Thanks
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2