[ 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
Toxic17
Ask me anything
Posts: 6468
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

ok thanks for the tip
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.74140 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

PHP core to 7.4.15
OpenSSL to 1.1.1i
Curl to 7.74.0
Sqlite to 3.34.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

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

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

Post by Toxic17 »

updated topic title. 1446.74150
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.74150 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

Toxic17 wrote: Thu Feb 04, 2021 4:35 pm updated topic title. 1446.74150
thanks ;)
---------------------------------------------------------------------------------------------------------------------------

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
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 »

updated to php core 7.4.16
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Suiluj_juliuS
New here
Posts: 3
Joined: Thu Mar 04, 2021 12:22 am

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

Post by Suiluj_juliuS »

Hi Stephane,
not sure if this thread is the correct place to ask but I'm looking for PHP7 on my TS228 (not A unfortunately) and your release sounds like the way to go. Is there a version available for my hardware or will I have to go the hard route via entware or similar?
Thanks for your help!
Cheers Julius
-QNAP TS228-
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 »

TS-228 should be arm-x41 ... never tested on this NAS
but works on TS-531P and TS-431P ...
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Suiluj_juliuS
New here
Posts: 3
Joined: Thu Mar 04, 2021 12:22 am

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

Post by Suiluj_juliuS »

I checked and the x28 series is ARM but needs a special build, the regular ARM packages won´t work, for reference see also the link below. Any other ideas or suggestions?

https://www.reddit.com/r/qnap/comments/ ... _my_ts228/
-QNAP TS228-
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 »

cant say.. this NAS is EOL
may be better to renew this server

or may be have a try for any other ARM-x41 pacakge see if it install (to confirm reddit)
---------------------------------------------------------------------------------------------------------------------------

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 »

Hi,

Does it contain sqlsrv extensions for ms sql connect.
I need a lot :D

TS-431P
firmware 4.5.2.1594
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 »

Boban031 wrote: Thu Mar 18, 2021 7:04 pm Hi,

Does it contain sqlsrv extensions for ms sql connect.
I need a lot :D

TS-431P
firmware 4.5.2.1594
check phpinfo () but not sure

have a link for the source extension ? i can probably add it
---------------------------------------------------------------------------------------------------------------------------

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 Mar 18, 2021 7:08 pm
Boban031 wrote: Thu Mar 18, 2021 7:04 pm Hi,

Does it contain sqlsrv extensions for ms sql connect.
I need a lot :D

TS-431P
firmware 4.5.2.1594
check phpinfo () but not sure

have a link for the source extension ? i can probably add it
On my qnap is PHP Version 7.3.7 and don't have that.
I don't know how to update php version on my qnap.

I am found drivers here:
https://github.com/microsoft/msphpsql/r ... tag/v5.9.0
https://www.php.net/manual/en/sqlsrv.requirements.php
https://docs.microsoft.com/en-us/sql/co ... rver-ver15
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 »

will add it in next Apache 74 & 80 ... actual next php release just passed in RC1
think some weeks to wait
---------------------------------------------------------------------------------------------------------------------------

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

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

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”