QNAP_Stephane wrote:you experience segmentation fault because you need compiling with right toolchain (according to the right libc version of the NAS should be < or = )
Have to be honest I am lost with compiling packages so all I know is I have a TVS-871 (currently using the legacy storage and not the new storage pools, not sure if that makes any difference).
I did have a look at my server info and it came back with this.
Code: Select all
Linux version 3.12.6 (root@NasX86-13) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Thu Sep 1 01:05:45 CST 2016
QNAP_Stephane wrote:for nghttp2 i have no idea how configure this within the httpd.conf
This is pretty simple all you need for a basic setup is to load the module mod_http2.
If you want to you could also add this at the bottom of the main .conf file, or you could leave this out of the default config and just let the developer add it in, as long as the mod_http2 module works that is all you need.
h2 is https over http/2, h2c is http over http/2 and http/1.1 is the latest http/1 protocol version.
QNAP_Stephane wrote:i may be miss a flag during compilation, i will check on next version 2.4.24+
You do need to add a flag to enable apache to use http2, I think once you compile apache with libnghttp2 it should allow it to use the mod_http2 module, it was compile in with curl which is why in phpinfo under curl is shows http2 as yes, I hope you find a way to get it working, not just for me but for everyone who uses your apache app so they can also use it, I also found that you were using nghttp2 version 1.9.2 however the current version is 1.16.0, maybe that has something to do with the issue as well but it could also be they fact it is producing a seg fault on my system.