2017-09-21, 14:35
(2017-09-21, 11:24)axlt2002 Wrote: Can you please take a look to this link? https://www.archlinux.org/packages/extra...4/php-cgi/
It seems that is referring to a php-cgi binary (version 7) that could be used on djhifi platform...but how is possible to download/install it? My knowledge of Linux is almost 0...
Edit: another way is to download php from the official site (http://php.net/downloads.php) but I guess this code should be compiled in some way on the platform it should run on...any idea?
Edit2: I found this: http://de.linuxfromscratch.org/blfs/view...l/php.html Can be of help?
Hi Axlt,
about php-cgi, this can be one of two main binary versions:
1. static build, where compiled binary have not dependencies on other system components like libraries - that build will run on every Linux machine with compatible architecture.
2. dynamic build (defaults for compilation process because are better: faster, low memory consumption) - where compiled binary depends on other system libraries (and sometimes strict version number) and not run without
I think that best for your add-on will be static compilation of php-cgi for x86 platform - that build will work on every x86 Linux system (32/64-bit).
Otherwise you must provide php-cgi binary for every different Linux system/version.