I have a scan server that I wrote. I would love to run it on LibreElec but also need HTTP server with PHP support.
running on x86_64
I say "ditto"
Mark
I have a scan server that I wrote. I would love to run it on LibreElec but also need HTTP server with PHP support.
running on x86_64
I say "ditto"
Mark
Have a look here: LAMP addon - Linux, Apache, MySQL PHP bundle
Should that run on port 80?
I am running the latest Leia RC5 build of LibreElec and it appears to not work.
It runs on port 4080. But you can change that in httpd.conf file.
Nothing on 4080 either. Maybe it needs updating for newer LibreElec x86-64?
Check the addon logs to see what is going on.
Week or so back it was working on LE master.
12:18:39.221 T:140034942408448 DEBUG: -->Python Interpreter Initialized<--
12:18:39.222 T:140034942408448 DEBUG: CPythonInvoker(18, /storage/.kodi/addons/service.web.lamp/default.py): the source file to load is "/storage/.kodi/addons/service.web.lamp/default.py"
12:18:39.222 T:140034942408448 DEBUG: CPythonInvoker(18, /storage/.kodi/addons/service.web.lamp/default.py): setting the Python path to /storage/.kodi/addons/service.web.lamp:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
12:18:39.222 T:140034942408448 DEBUG: CPythonInvoker(18, /storage/.kodi/addons/service.web.lamp/default.py): entering source directory /storage/.kodi/addons/service.web.lamp
12:18:39.222 T:140034942408448 DEBUG: CPythonInvoker(18, /storage/.kodi/addons/service.web.lamp/default.py): instantiating addon using automatically obtained id of "service.web.lamp" dependent on version 2.1.0 of the xbmc.python api
12:18:39.223 T:140034942408448 INFO: CPythonInvoker(18, /storage/.kodi/addons/service.web.lamp/default.py): script successfully run
12:18:39.223 T:140034942408448 DEBUG: onExecutionDone(18, /storage/.kodi/addons/service.web.lamp/default.py)
12:18:39.225 T:140034942408448 INFO: Python interpreter stopped
12:18:39.225 T:140034942408448 DEBUG: Thread LanguageInvoker 140034942408448 terminating
This is kodi log and it will tell you nothing. Go to /storage/.kodi/userdata/addon_data/service.web.lamp/ and look there for httpd log file.
208 lines all the same
httpd: Syntax error on line 143 of /storage/.kodi/userdata/addon_data/service.web.lamp/srvroot/conf/httpd.conf: Cannot load libphp5.so into server: librtmp.so.1: cannot open shared object file: No such file or directory
Remove everything and install again.
no , thanks anyway.
I can not believe it is php5 anyway.
seems any modern distro now has php7
Plenty of web servers still run PHP5, because the impact of changing to PHP7 would be too enormous.Poorly written webpages would crash.
Chewitt , I understand that however if someone here seems to have an "official" release it seems it should work, even if it is php5 . I think ther real issue is it is not ready for LE 9
Use a docker container with nginx and whatever php version you want - there's bound to be one.
if someone here seems to have an "official" release it seems it should work, even if it is php5 . I think ther real issue is it is not ready for LE 9
There is no "official" release. Only what I provide.
And I just tested it on LE9 Generic (just for you) - service.web.lamp-9.0.105-Generic.x86_64.zip. Works as always:
So I would say you are doing it wrong
Works as always