You have to make changes to /etc/apache2/https.conf AFAIK. It worked for me on Termux. Haven’t tried it on Manjaro yet.
Try adding this to httpd.conf
Addtype application/x-httpd-php
This also worked for me.
#Custom by Me
<IfModule php7_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>