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

Post by QNAP_Stephane »

updated

Code: Select all

Apache Core to 2.4.47
php core to 7.4.19
---------------------------------------------------------------------------------------------------------------------------

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
Gaudi
Easy as a breeze
Posts: 406
Joined: Thu Mar 04, 2010 10:47 pm

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

Post by Gaudi »

Hi Stephane, I am posting here same question as at the qnapclub forum.

I currently use my TS-469 Pro to host Radarr, Bazarr, Sonarr, Jacket, Unifi and Transmission.

Somehow managed to update Radarr from version 0.2 to v3 without the need for .NET version. Unfortunately since the latest update things got broken, and I do not seem to make it work again, so I am looking for updating to .NET version, which requires Apache as a dependency. As many other packages such as (PHPMyAdmin and many other packages).

As my NAS is quite old, and before commiting to purchase the paid version, I am worried that any of these two versions may affect its performance, and this is why I am asking for advice.
Can you comment if they can affect negatively my NAS performance?

Also, which version would you recommend Apache80 or Apache74?

It seems that Apache 80 is newer, but have no clue if I should stick to 74.

Your advice will be very valuable.



Thank you!
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Radarr and other just used the necessay library withi Apache74 or Apache80 (depending version)
.NET compilation require some libs that are not embedded in Qnap Firmware
---------------------------------------------------------------------------------------------------------------------------

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
Gaudi
Easy as a breeze
Posts: 406
Joined: Thu Mar 04, 2010 10:47 pm

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

Post by Gaudi »

QNAP_Stephane wrote:Radarr and other just used the necessay library withi Apache74 or Apache80 (depending version)
.NET compilation require some libs that are not embedded in Qnap Firmware
Thank you, could they negatively affect the performance of my NAS?

Is Apache74 preferred over Apache80?

Or should I select the newer one?
I ask in terms of compatibility.

Thank you again
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Actually there are more php74 applicatoin compatible, php application are updated slowly by develloper to be compatible with php 8
in term of performance not sure what is your NAS... and depend of your workload
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
martinfl
New here
Posts: 2
Joined: Wed Nov 20, 2013 7:10 pm

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

Post by martinfl »

i have Problems to restart/start Apache 74 after Firmware update:
/share/MD0_DATA/.qpkg/Apache74/bin/openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Apache74: composer do not exists in Apache, let me download it for you
curl: error while loading shared libraries: libmetalink.so.3: cannot open shared object file: No such file or directory
php: error while loading shared libraries: libxmlrpc.so.3: cannot open shared object file: No such file or directory

/share/MD0_DATA/.qpkg/Apache74/bin/httpd: error while loading shared libraries: libdb-5.3.so: cannot open shared object file: No such file or directory

Modell:TS-569 Pro
Firmwareversion:4.3.4.1652

Any help would be greatly appreciated.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

your /opt/Apache74 symlink do not seems to exists .. then it cannot link shared libs to exe

this symlink is created on each start and stop ... probably somethin is interfering with QPKG (got this in past with entware)
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
martinfl
New here
Posts: 2
Joined: Wed Nov 20, 2013 7:10 pm

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

Post by martinfl »

Thank you.
After a deinstallation and a new installation i deleted the old symlink manually and now it works.
Microcabin
Starting out
Posts: 15
Joined: Sun Mar 17, 2013 1:01 am

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

Post by Microcabin »

Hi, is this QPKG, QTS Hero compatible?

thanks
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Code: Select all

updated to php core 7.4.20
yes compatible QuTS Hero
---------------------------------------------------------------------------------------------------------------------------

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

Post by QNAP_Stephane »

updated

Code: Select all

php core to php 7.4.21
apache core to 2.4.48
curl updated to 2.77 (with new dep updated)
openldap updated to 2.5.5
QTS 5.0 Ready
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
raidforsaving
Easy as a breeze
Posts: 279
Joined: Mon Jul 14, 2014 9:14 am

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

Post by raidforsaving »

Stephane,is QPHPMyAdmin designed to work with Apache74? Or is there another version out there that is?
Model name: TS-653D
Firmware version: 4.5.3.1697 build 20210611
Volumes: EXT4, Encrypted volume
Previous: TS-651 dead by CPU bug
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

raidforsaving wrote: Fri Jul 02, 2021 11:09 pm Stephane,is QPHPMyAdmin designed to work with Apache74? Or is there another version out there that is?
it works with native Qnap embedded webserver
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
gsleon3
New here
Posts: 5
Joined: Tue Mar 23, 2021 5:37 am

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

Post by gsleon3 »

QNAP_Stephane wrote: Sat Jul 03, 2021 12:21 am
raidforsaving wrote: Fri Jul 02, 2021 11:09 pm Stephane,is QPHPMyAdmin designed to work with Apache74? Or is there another version out there that is?
it works with native Qnap embedded webserver
Or you can compile for newer PHP/Apache.

Anyway, PHPMA is one of those easy ones, you can literally unzip the latest stable all-languages right over existing, move over to updated docs, index & easily as a virtual host site. I have everything setup on one machine that's VLAN to a single gapped station, VPN router and over to NIC3 on second nas, where actual web and intranet live, on a second VLAN & thru a V-switchapp. These are my first Q nas and I am a newb hobbyist, just setup first lab, Mechanical by trade, biker by birth so modeling and math, zero proggy or IT background, well, since WinCE and PPC2003 at least. 😁
raidforsaving
Easy as a breeze
Posts: 279
Joined: Mon Jul 14, 2014 9:14 am

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

Post by raidforsaving »

gsleon3 wrote: Wed Jul 21, 2021 10:48 am
QNAP_Stephane wrote: Sat Jul 03, 2021 12:21 am
raidforsaving wrote: Fri Jul 02, 2021 11:09 pm Stephane,is QPHPMyAdmin designed to work with Apache74? Or is there another version out there that is?
it works with native Qnap embedded webserver
Or you can compile for newer PHP/Apache.

Anyway, PHPMA is one of those easy ones, you can literally unzip the latest stable all-languages right over existing, move over to updated docs, index & easily as a virtual host site. I have everything setup on one machine that's VLAN to a single gapped station, VPN router and over to NIC3 on second nas, where actual web and intranet live, on a second VLAN & thru a V-switchapp. These are my first Q nas and I am a newb hobbyist, just setup first lab, Mechanical by trade, biker by birth so modeling and math, zero proggy or IT background, well, since WinCE and PPC2003 at least. 😁
Thanks, but that is too complex for me. I just found out how to hack the main login page to permit multiple MySQL servers, and it works fine enough for me. This way I can decom my old custom usage on the default DB server.
Model name: TS-653D
Firmware version: 4.5.3.1697 build 20210611
Volumes: EXT4, Encrypted volume
Previous: TS-651 dead by CPU bug
Post Reply

Return to “Community Apps”