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 ?
Apache on top of Domoticz
Moderators: leecollings, remb0
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Apache on top of Domoticz
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.
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
- 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
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).
Who is online
Users browsing this forum: No registered users and 1 guest