- This topic is empty.
October 4, 2017 at 12:46 pm #44876MontikoreParticipant
Dear Friends of ZS,
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:
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):
Save and exit.
Then restart the apache deamon:
service httpd restart
GiuseppeNovember 24, 2017 at 1:48 pm #54570reaperzParticipant
No help with PHP.
But I recommend calling BASH srcipts from classic CGI instead of PHP. works fine for years already. Running another apache on separate TCP pot for that.
- You must be logged in to reply to this topic.