Page 1 of 1

Apache on top of Domoticz

Posted: Tuesday 29 May 2018 5:59
by carol1988
Hi
I have a little bit confused with Domoticz and the way it running it web contents!

First of all, I am talking about Domoticz on Raspberry Pi.
- So, I think Domotics does not use any standard web server like Apache or NginX. Does it?
If yes, why I cannot run my own .php file located in Domoticz www folder?
Is there any explanation why I cannot run PHP scripts on Domoticz and it always end up showing the "Domoticz Offline" message?
I also cannot run PHP on SSH login so it seams that PHP is not installed at all!

- If not, can I install Apache+PHP on top of Domoticz to serve my own PHP scripts on different port like 80 as normal web server on ex. /var/www/html ?

Re: Apache on top of Domoticz

Posted: Tuesday 29 May 2018 6:14
by ben53252642
Domoticz uses it's own web server.

I suggest installing Apache or Nginx + PHP separately (running them on a different port), it will not interfere with Domoticz.

Re: Apache on top of Domoticz

Posted: Tuesday 29 May 2018 7:28
by Egregius
Apache or Nginx run great next to Domoticz, even on a Rpi2. I already do that for more than 2 years because all my scripting is in PHP (search pass2php) and my interface is also completely in php (search phpfloorplan).