[ Apache74 ][ 2454.7433 ] Apache WebServer with PHP 7.4 and PECL extensions

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

still no luck with official PECL source

Code: Select all

/bin/bash /TEMPO/sqlsrv-5.9.0/libtool --mode=compile x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared  -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H  -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -c /TEMPO/sqlsrv-5.9.0/conn.cpp -o conn.lo
mkdir .libs
 x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /TEMPO/sqlsrv-5.9.0/conn.cpp  -fPIC -DPIC -o .libs/conn.o
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:182:0: warning: "FALSE" redefined
 #define FALSE ((BOOL)0)
 ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:112:0: note: this is the location of the previous definition
 #define FALSE   0
 ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:183:0: warning: "TRUE" redefined
 #define TRUE  ((BOOL)1)
 ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:109:0: note: this is the location of the previous definition
 #define TRUE   1
 ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:132:16: error: conflicting declaration 'typedef WCHAR* LPWSTR'
 typedef WCHAR *LPWSTR;
                ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:131:20: note: previous declaration as 'typedef wchar_t* LPWSTR'
 typedef wchar_t *  LPWSTR;
                    ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:133:22: error: conflicting declaration 'typedef const WCHAR* LPCWSTR'
 typedef CONST WCHAR *LPCWSTR;
                      ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:132:26: note: previous declaration as 'typedef const wchar_t* LPCWSTR'
 typedef const wchar_t *  LPCWSTR;
                          ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:35:5: error: 'LPTSTR' has not been declared
     LPTSTR lpBuffer,
     ^
make: *** [conn.lo] Error 1
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Boban031
Starting out
Posts: 10
Joined: Tue Mar 12, 2019 8:42 pm

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Boban031 »

QNAP_Stephane wrote: Fri Mar 19, 2021 4:41 pm
Boban031 wrote: Thu Mar 18, 2021 8:35 pm
QNAP_Stephane wrote: Thu Mar 18, 2021 8:10 pm will add it in next Apache 74 & 80 ... actual next php release just passed in RC1
think some weeks to wait
Ok thank you I will wait.
getting some difficulties on compilation or with PECL

Code: Select all

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for x86_64-QNAP_FW43-linux-gnu-pkg-config... no
checking for pkg-config... no
checking for x86_64-QNAP_FW43-linux-gnu-cc... x86_64-QNAP_FW43-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-QNAP_FW43-linux-gnu-gcc accepts -g... yes
checking for x86_64-QNAP_FW43-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-QNAP_FW43-linux-gnu-gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-QNAP_FW43-linux-gnu
checking target system type... x86_64-QNAP_FW43-linux-gnu
checking for PHP prefix... /opt/Apache74
checking for PHP includes... -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib
checking for PHP extension directory... /opt/Apache74/lib/extensions/no-debug-zts-20190902
checking for PHP installed headers prefix... /opt/Apache74/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for gawk... gawk
checking whether to enable sqlsrv functions... yes, shared
checking for SQLSRV headers... configure: error: Cannot find SQLSRV headers
unixODBC are up to date ... but dont think that header are expected... and Microsfot do not seems provide the source package which need be installed...
if you have any clue

I don't know really, I am used that only on localhost on windows and I want to add that on qnap web. Thank you for trying.
Boban031
Starting out
Posts: 10
Joined: Tue Mar 12, 2019 8:42 pm

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Boban031 »

QNAP_Stephane wrote: Fri Mar 19, 2021 6:35 pm still no luck with official PECL source

Code: Select all

/bin/bash /TEMPO/sqlsrv-5.9.0/libtool --mode=compile x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared  -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H  -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -c /TEMPO/sqlsrv-5.9.0/conn.cpp -o conn.lo
mkdir .libs
 x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /TEMPO/sqlsrv-5.9.0/conn.cpp  -fPIC -DPIC -o .libs/conn.o
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:182:0: warning: "FALSE" redefined
 #define FALSE ((BOOL)0)
 ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:112:0: note: this is the location of the previous definition
 #define FALSE   0
 ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:183:0: warning: "TRUE" redefined
 #define TRUE  ((BOOL)1)
 ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:109:0: note: this is the location of the previous definition
 #define TRUE   1
 ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:132:16: error: conflicting declaration 'typedef WCHAR* LPWSTR'
 typedef WCHAR *LPWSTR;
                ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:131:20: note: previous declaration as 'typedef wchar_t* LPWSTR'
 typedef wchar_t *  LPWSTR;
                    ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:133:22: error: conflicting declaration 'typedef const WCHAR* LPCWSTR'
 typedef CONST WCHAR *LPCWSTR;
                      ^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
                 from /opt/Apache74/include/sql.h:89,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
                 from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
                 from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:132:26: note: previous declaration as 'typedef const wchar_t* LPCWSTR'
 typedef const wchar_t *  LPCWSTR;
                          ^
In file included from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24:0,
                 from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
                 from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
                 from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
                 from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:35:5: error: 'LPTSTR' has not been declared
     LPTSTR lpBuffer,
     ^
make: *** [conn.lo] Error 1

Can you try with this: http://pecl.php.net/package/pdo_sqlsrv
User avatar
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Toxic17 »

Stephane FYI 01 Apr 2021, PHP 7.4.17 released
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

still not but soon

https://github.com/php/php-src/releases

probably link to their git hack aptemp
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Toxic17 »

ah yes I remember reading about that the other day.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Boban031
Starting out
Posts: 10
Joined: Tue Mar 12, 2019 8:42 pm

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Boban031 »

Can you please try to add this: http://pecl.php.net/package/pdo_sqlsrv i really need that :D
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

pdo_sqlrv require a recent GCC seems a bit complicated to include it without cross compiling all again
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Boban031
Starting out
Posts: 10
Joined: Tue Mar 12, 2019 8:42 pm

Re: [Apache74 ][ 2446.74160 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Boban031 »

QNAP_Stephane wrote: Thu Apr 15, 2021 10:19 pm pdo_sqlrv require a recent GCC seems a bit complicated to include it without cross compiling all again
Ok thank you :D
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated to php core 7.4.18
update openssl to 1.1.1k
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Toxic17 »

Thanks Stephane for the update! Does this contain a digital signature? Mine reports there is no signature.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

yes all qpkg are signed with Qnapclub cert
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

[Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Toxic17 »

QNAP_Stephane wrote:yes all qpkg are signed with Qnapclub cert
Ah forgot you can’t install your signed qpkg using sh command line. The signature doesn’t work when you do it that way.


Sent from my iPhone using Tapatalk
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Toxic17 »

Stephane, FYI Apache 2.4.47 released

Code: Select all

Changes with Apache 2.4.47

  *) mod_dav_fs: Improve logging output when failing to open files for
     writing.  PR 64413.  [Bingyu Shen <ahshenbingyu gmail.com>]

  *) mod_http2: Fixed a race condition that could lead to streams being
     aborted (RST to the client), although a response had been produced.
     [Stefan Eissing]

  *) mod_lua: Add support to Lua 5.4  [Joe Orton, Giovanni Bechis, Ruediger Pluem]

  *) MPM event/worker: Fix possible crash in child process on early signal
     delivery.  PR 64533.  [Ruediger Pluem]

  *) mod_http2: sync with github standalone version 1.15.17
     - Log requests and sent the configured error response in case of early detected
       errors like too many or too long headers. [Ruediger Pluem]
     - new option 'H2OutputBuffering on/off' which controls the buffering of stream output.
       The default is on, which is the behaviour of older mod-h2 versions. When off, all
       bytes are made available immediately to the main connection for sending them
       out to the client. This fixes interop issues with certain flavours of gRPC, see
       also <https://github.com/icing/mod_h2/issues/207>.
       [Stefan Eissing]

  *) mod_unique_id: Fix potential duplicated ID generation under heavy load.
     PR 65159
     [Jonas Müntener <jonas.muentener ergon.ch>, Christophe Jaillet]

  *) "[mod_dav_fs etag handling] should really honor the FileETag setting".
     - It now does.
     - Add "Digest" to FileETag directive, allowing a strong ETag to be
       generated using a file digest.
     - Add ap_make_etag_ex() and ap_set_etag_fd() to allow full control over
       ETag generation.
     - Add concept of "binary notes" to request_rec, allowing packed bit flags
       to be added to a request.
     - First binary note - AP_REQUEST_STRONG_ETAG - allows modules to force
       the ETag to a strong ETag to comply with RFC requirements, such as those
       mandated by various WebDAV extensions.
     [Graham Leggett]

  *) mod_proxy_http: Fix a possibly crash when the origin connection gets
     interrupted before completion.  PR 64234.
     [Barnim Dzwillo <dzwillo strato.de>, Ruediger Pluem]

  *) mod_ssl: Do not keep connections to OCSP responders alive when doing
     OCSP requests.  PR 64135.  [Ruediger Pluem]

  *) mod_ssl: Improve the coalescing filter to buffer into larger TLS
     records, and avoid revealing the HTTP header size via TLS record
     boundaries (for common response generators).
     [Joe Orton, Ruediger Pluem]     

  *) mod_proxy_hcheck: Don't pile up health checks if the previous one did
     not finish before hcinterval.  PR 63010.  [Yann Ylavic]

  *) mod_session: Improve session parsing.  [Yann Yalvic]

  *) mod_authnz_ldap: Prevent authentications with empty passwords for the
     initial bind to fail with status 500. [Ruediger Pluem]

  *) mod_auth_digest: Fast validation of the nonce's base64 to fail early if
     the format can't match anyway.  [Yann Ylavic]

  *) mod_proxy_fcgi: Honor "SetEnv proxy-sendcl" to forward a chunked
     Transfer-Encoding from the client, spooling the request body when needed
     to provide a Content-Length to the backend.  PR 57087.  [Yann Ylavic]

  *) mod_proxy: Put mod_proxy_{connect,wstunnel} tunneling code in common in
     proxy_util.  [Yann Ylavic]

  *) mod_proxy: Improve tunneling loop to support half closed connections and
     pending data draining (for protocols like rsync). PR 61616. [Yann Ylavic]

  *) mod_proxy_http: handle Upgrade request, 101 (Switching Protocol) response
     and switched protocol forwarding.  [Yann Ylavic]

  *) mod_proxy_wstunnel: Leave Upgrade requests handling to mod_proxy_http,
     allowing for (non-)Upgrade negotiation with the origin server.
     [Yann Ylavic]

  *) mod_proxy: Allow ProxyErrorOverride to be restricted to specific status 
     codes.  PR63628. [Martin Drößler <mail martindroessler.de>]

  *) core: Add ReadBufferSize, FlushMaxThreshold and FlushMaxPipelined
     directives.  [Yann Ylavic]

  *) core: Ensure that aborted connections are logged as such. PR 62823
     [Arnaud Grandville <contact@grandville.net>]

  *) http: Allow unknown response status' lines returned in the form of
     "HTTP/x.x xxx Status xxx".  [Yann Ylavic]

  *) mod_proxy_http: Fix 100-continue deadlock for spooled request bodies,
     leading to Request Timeout (408).  PR 63855.  [Yann Ylavic]

  *) core: Remove headers on 304 Not Modified as specified by RFC7234, as
     opposed to passing an explicit subset of headers. PR 61820.
     [Giovanni Bechis]

  *) mpm_event: Don't reset connections after lingering close, restoring prior
     to 2.4.28 behaviour.  [Yann Ylavic]

  *) mpm_event: Kill connections in keepalive state only when there is no more
     workers available, not when the maximum number of connections is reached,
     restoring prior to 2.4.30 behaviour.  [Yann Ylavic]

  *) mod_unique_id: Use base64url encoding for UNIQUE_ID variable,
     avoiding the use of '@'.  PR 57044.
     [Michael Kaufmann <apache-bugzilla michael-kaufmann.ch>]

  *) mod_rewrite: Extend the [CO] (cookie) flag of RewriteRule to accept a
     SameSite attribute. [Eric Covener]

  *) mod_proxy: Add proxy check_trans hook.  This allows proxy 
     modules to decline request handling at early stage.

  *) mod_proxy_wstunnel: Decline requests without an Upgrade
     header so ws/wss can be enabled overlapping with later
     http/https.

  *) mod_http2: Log requests and sent the configured error response in case of
     early detected errors like too many or too long headers.
     [Ruediger Pluem, Stefan Eissing]

  *) mod_md: Lowered the required minimal libcurl version from 7.50 to 7.29
     as proposed by <alexander.gerasimov codeit.pro>. [Stefan Eissing]

  *) mod_ssl: Fix request body buffering with PHA in TLSv1.3.  [Joe Orton]

  *) mod_proxy_uwsgi: Fix a crash when sending environment variables with no
     value. PR 64598 [Ruediger Pluem]

  *) mod_proxy: Recognize parameters from ProxyPassMatch workers with dollar
     substitution, such that they apply to the backend connection.  Note that
     connection reuse is disabled by default to avoid compatibility issues.
     [Takashi Sato, Jan Kaluza, Eric Covener, Yann Ylavic, Jean-Frederic Clere]
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74180 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

ouch thanks for info ... think it will wait for next php
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”