I just installed ZS (Release 3.8.0 and I successfully tested the VLAN creation, the Failover over several connectivities, the Load Balancing on multiple communication channels and the Captive Portal thanks to the plugin ZeroTruth).
But when I tried to add PHP pages into the ZS OS in order to send commands (call bash scripts via PHP pages) to satellite modems connected to the ZS but I was immediately blocked after I completed the PHP installation as plugin from the ZS repository. I tried to call phpinfo.php as suggested but i received the error 404 (page not found). Following various suggestions from this community I moved the file (phpinfo.php) to a reachable location but the result displayed on the browser is the following:
< ? php
It means that the php module has not been loaded by apache2.
I’m trying to figure out where to add the module and how to activate it but it would be easier (also because there is a trace that others can use) if you can explain how to manually add the php module to httpd.conf as in other distributions.
Thanks in advance for your help and support
The solution i found:
In the line position below the line (for those who have installed Zerotruth)
or if you do not have the Zerotruth plugin installed, the line position is before the line:
Add the following line (after installing PHP, of course):