So I built a embedded apache web server using buildroot, and it's is running fine except the fact that it doesn't run php code. I can run .php files in the command line of the system but when I open those .php files in a browser it doesn't run the php code, it simply ignores all php code and interprets it like if it was html.
I looked in the /etc/apache2/httpd.conf file and it has a line loading the php module:
LoadModule php7_module modules/libphp7.so
Does anyone knows how to make php run?
I will leave, just in case, information about some directories and files that might be relevant: