I am currently testing Opalstack to make sure all my Webfaction projects can be ported. One of the applications requires a customised Apache httpd.conf, so I started by forking a new Apache instance:
exec /usr/sbin/httpd -f $HOME/apps/$APPNAME/apache/httpd.conf -k start
The problem is that my httpd.conf serves PHP files as plain unparsed HTML:
...
Options +ExecCGI
AddHandler cgi-script .cgi
AddHandler php74-cgi .php
<Directory $HOME/apps/$APPNAME>
AllowOverride all
<FilesMatch \.ht(access|passwd)>
Require all denied
</FilesMatch>
<FilesMatch (\.user\.ini|php\.ini)>
Require all denied
</FilesMatch>
<FilesMatch \.php$>
SetHandler php74-cgi
</FilesMatch>
</Directory>
...
Can somebody please give me some pointers on how this is done the Opalstack-way? Thanks in advance.