[Buildroot] PHP Apache module is not loaded

Andrea Simeoni andreasimeoni73 at gmail.com
Sat Sep 2 11:28:42 UTC 2023


When enabling Apache2 and PHP w/ Apache module, this is not added to the
httpd.conf file.
In order to run PHP code I had to add these line to httpd.conf:

LoadModule php_module modules/libphp.so
> <FilesMatch ".+\.ph(p[3457]?|t|tml)$">
>     SetHandler application/x-httpd-php
> </FilesMatch>
>

I guess it should be handled by Buildroot automatically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20230902/2a14c3e2/attachment.html>


More information about the buildroot mailing list