basic PHP server

  • 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

  • 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.


    Support my work with small (or big) Paypal donation


    Amlogic devices works better with CoreELEC

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community with limited support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)


  • Check the addon logs to see what is going on.

    Week or so back it was working on LE master.


    Support my work with small (or big) Paypal donation


    Amlogic devices works better with CoreELEC

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community with limited support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)


  • 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.


    Support my work with small (or big) Paypal donation


    Amlogic devices works better with CoreELEC

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community with limited support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)


  • 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

  • Plenty of web servers still run PHP5, because the impact of changing to PHP7 would be too enormous.Poorly written webpages would crash.

  • tekno LE is a fixed function mediacentre client-oriented distro. If you want to develop php apps and run web services .. you are using the wrong distro. Use Ubuntu or Armbian etc. which has all the package management features you need.

  • 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 ;(


    Support my work with small (or big) Paypal donation


    Amlogic devices works better with CoreELEC

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community with limited support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)


  • vpeter  

    service.web.lamp-9.0.105-LE.S905.arm.zip


    I'm just checking... Is this the new Raspberry Pi 0/1/2/3 variant of your LAMP package?


    Never mind, i haven't had my daily coffee intake yet.