[ Apache73 ][2454.73330] Apache WebServer with PHP 7.3 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: [ Apache73 ] [2441.7312] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

Thanks Jeremy

I will check in next version to implement it
generally i follow instructions within Linux From Scratch website to (cross-)compile source... this option is not mentioned there
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
clawfinger
Starting out
Posts: 15
Joined: Sat Mar 30, 2013 8:33 am

Re: [ Apache73 ] [2441.7312] Apache WebServer with PHP 7.3 and PECL extensions

Post by clawfinger »

I appreciate you looking into this further. I did some more digging myself and it seems maybe I am one of the few running an older NAS and therefore and older kernel (still 1000+ installs per last count).

According the the Linux Man Pages (http://man7.org/linux/man-pages/man2/getrandom.2.html):

Code: Select all

       ENOSYS The glibc wrapper function for getrandom() determined that the
              underlying kernel does not implement this system call.

VERSIONS
       getrandom() was introduced in version 3.17 of the Linux kernel.
       Support was added to glibc in version 2.25.
And since my Qnap is running the 3.4.6 kernel (and glibc-2.21) my system lacks the required system call.

From the Qnap Kernel Source tarball:

Code: Select all

bash-3.2$  find GPL_QTS/src/linux-* -maxdepth 0
GPL_QTS/src/linux-2.6.39
GPL_QTS/src/linux-3.10.20
GPL_QTS/src/linux-3.12.6
GPL_QTS/src/linux-3.19
GPL_QTS/src/linux-3.2.26
GPL_QTS/src/linux-3.4.6
GPL_QTS/src/linux-4.2
bash-3.2$  find GPL_QTS/src/linux-3.19
GPL_QTS/src/linux-3.19
bash-3.2$ find GPL_QTS/src/linux-* -name random.c -exec grep -ir 'getrandom' {} \;
GPL_QTS/src/linux-4.2/drivers/char/random.c:SYSCALL_DEFINE3(getrandom, char __user *, buf, size_t, count,
bash-3.2$ 
It's entire possible the majority of the folks running this Apache73 QPKG are using systems that aren't EOL (or close to it) like mine, and are therefore running the 4.2 kernel.

I'm not sure of the security implications of hardcoding use of /dev/random vs the getrandom() system call, but hopefully they will resolve the apparent issue with the configure script before you roll the next package (although I have no idea how the QDK accounts for different kernels within the same package).
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache73 ] [2441.7313] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

updated to php 7.3.13
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
clawfinger
Starting out
Posts: 15
Joined: Sat Mar 30, 2013 8:33 am

Re: [ Apache73 ] [2441.7313] Apache WebServer with PHP 7.3 and PECL extensions

Post by clawfinger »

Everything seems to be in order now. Happy New Year @QNAP_Stephane !
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache73 ] [2441.7313] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

thanks for the feedback ;)
---------------------------------------------------------------------------------------------------------------------------

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: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

updated to php 7.3.14
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
iangrist
New here
Posts: 6
Joined: Sat Jan 25, 2020 4:42 am

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by iangrist »

Hi, I just purchased this on QnapClub. I'm running on a QNAP TS-473 and firmware 4.4.1.1146. When I try to install it via the appstore repository, I get the following error:

App Installation [App Center] Failed to install Apache & PHP 7.3.x . Try again later.

Do you know what the issue might be? Thanks!
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by Toxic17 »

Install via SSH

sh apache73packagename.qpkg


This should show an output which may show why it is failing to install.



Sent from my GM1913 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
iangrist
New here
Posts: 6
Joined: Sat Jan 25, 2020 4:42 am

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by iangrist »

Can you please help explain to me how to install this via SSH? I am logged in via Putty, but not sure how to install that qpkg for apache73 at the command line. Even when trying to download the file from the qnapclub website it downloads as a .txt file. I appreciate any help you can give!
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by Toxic17 »

So you downloaded the qpkg file. It should either be a qpkg or zip file.

If you have a txt file then you have done something wrong

Copy it to /share/Public

Then SSH to the Nas

cd /share/Public

sh filename.qpkg



Sent from my GM1913 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
iangrist
New here
Posts: 6
Joined: Sat Jan 25, 2020 4:42 am

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by iangrist »

I purchased it from qnapclub.me, and when I click download, and then TS-NASX86-64 it downloads a file "Apache73_2441.7314_x86_64.txt".

From this URL; https://www.qnapclub.eu/en/qpkg/735

How should I be downloading it differently to get a qpkg file?
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by Toxic17 »

I have no idea you will need to contact qnap stephane or the owner of the website

Sent from my GM1913 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
iangrist
New here
Posts: 6
Joined: Sat Jan 25, 2020 4:42 am

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by iangrist »

I have emailed him at the website support email 2 days ago but haven't heard back. I just tried the download again this morning and it finally downloaded as a .qpkg file. I think this was an issue with the website, as for the past 2 days every time I downloaded the file it either failed with a server error, or downloaded a .txt file. Just this morning it finally worked. I will try to install manually and see what happens now. Thank you !
iangrist
New here
Posts: 6
Joined: Sat Jan 25, 2020 4:42 am

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by iangrist »

Update! It just now installed successfully!
dagobertono
First post
Posts: 1
Joined: Thu Feb 06, 2020 4:35 pm

Re: [ Apache73 ] [2441.7314] Apache WebServer with PHP 7.3 and PECL extensions

Post by dagobertono »

Hi. I bought the apache from the qnap club link, but i get an error when i try to download. Tried 4g connection and diffrent browsers without luck so i would assume it is an error on the server side. Does anyone else get to download or know who to contact to get it fixed? Tried to email the support mail but dead silence ... :/
Post Reply

Return to “Community Apps”