[ 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

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

Post by QNAP_Stephane »

Source : https://httpd.apache.org/ / https://www.php.net / https://pecl.php.net

Download :

https://www.myqnap.org/product/apache74/



About :

Complete Apache HTTP Web Server with PHP 7.4.x branch
and more 20 PECL php extension embedded,

Generate and update ca-certificates automatically on your NAS
Composer embedded and added to NAS $PATH command line

with basic web admin allowing to modify httpd.conf, httpd-SSL.conf, php.ini ...

Run aside the embedded Qnap Webserver on port 3288 by default.
Listen Web page inside htdocs share (created automatically on first install)
Last edited by QNAP_Stephane on Thu Nov 03, 2022 10:34 pm, edited 35 times in total.
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7400RC5 ] Apache WebServer with PHP 7.4 and PECL extensions [ Preview RC5]

Post by QNAP_Stephane »

RC5 is just for test purpose...

Code: Select all

All libs updated to latest
All Extension updated to lastest

IMAP extension built with SSL
added HTTP3 for Curl

enabled TLSv1.2 and TLSv1.3 (should be renamed TLSv2.0 in future)
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7400RC5 ] Apache WebServer with PHP 7.4 and PECL extensions [ Preview RC5]

Post by Toxic17 »

Thanks Stephane, I will try this internally on my backup server to see how it compares at the weekend.
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 ][ 2441.7400RC5 ] Apache WebServer with PHP 7.4 and PECL extensions [ Preview RC5]

Post by Toxic17 »

Stephane is it possible to install Apache 73 and 74, but just have one app running at a time? need to test 74 from time to time but would like the stable 7.3 as a fall back or main app to use.
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 ][ 2441.7400RC5 ] Apache WebServer with PHP 7.4 and PECL extensions [ Preview RC5]

Post by QNAP_Stephane »

yes the runs on different ports Apache74 is running on 3288 but serve the sames htdocs...
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7400RC5 ] Apache WebServer with PHP 7.4 and PECL extensions [ Preview RC5]

Post by Toxic17 »

thanks for the update. been really busy at work and haven't had a chance to install this as yet. FYI, 7.4 GA is due for release in the next week or so.
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 ][ 2441.7400 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated to final stable
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7401 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated to php 7.4.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
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

upgraded to php 7.4.2
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.74021 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

fixed ZIP missing
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7403 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated to php 7.4.3
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.74031 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

fixed extension issue 

Code: Select all

imagick already loaded
sodium  already loaded
pgsql extension conflicting with unixODBC
---------------------------------------------------------------------------------------------------------------------------

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 ][ 2441.7440 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated to php core 7.4.4
---------------------------------------------------------------------------------------------------------------------------

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
mydjtl
Getting the hang of things
Posts: 95
Joined: Wed Jan 11, 2017 7:52 am

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

Post by mydjtl »

How can this be resolved?

[Wed Mar 18 05:47:00.769941 2020] [ssl:warn] [pid 4551:tid 140668433778496] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
PHP Warning: Module 'sodium' already loaded in Unknown on line 0
PHP Warning: Module 'gmagick' already loaded in Unknown on line 0
PHP Warning: Module 'grpc' already loaded in Unknown on line 0
[Wed Mar 18 05:47:01.258642 2020] [mpm_event:notice] [pid 4551:tid 140668433778496] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1d SVN/1.13.0-dev PHP/7.4.3 configured -- resuming normal operations
[Wed Mar 18 05:47:01.259469 2020] [core:notice] [pid 4551:tid 140668433778496] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache74/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache74/etc/httpd.conf'
[Wed Mar 18 05:58:26.358337 2020] [optional_fn_export:error] [pid 4631:tid 140667140454144] AH01871: Optional function test said: GET /Apache74 HTTP/1.1
[Wed Mar 18 05:58:26.397037 2020] [optional_fn_export:error] [pid 4631:tid 140667132061440] AH01871: Optional function test said: GET /Apache74/ HTTP/1.1
[Wed Mar 18 05:58:27.603769 2020] [optional_fn_export:error] [pid 4631:tid 140667123668736] AH01871: Optional function test said: GET /Apache74/img/asf_logo.png HTTP/1.1
TS-251+
(2) Seagate IronWolf 12TB 7200 RPM 256MB Cache SATA 6.0Gb/s 3.5" Internal Hard Drives
8gb RAM in one slot. 4.3.3
Firmware as of 3/8/2020: 4.4.1.1216 (2/14/2020)
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

edit php.ini and add ; before the line corresponding to this extension
---------------------------------------------------------------------------------------------------------------------------

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”