Apache on top of Domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
carol1988
Posts: 2
Joined: Wednesday 23 May 2018 9:52
Target OS: Windows
Domoticz version:
Contact:

Apache on top of Domoticz

Post 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 ?
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Apache on top of Domoticz

Post 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.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Apache on top of Domoticz

Post 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).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest