[ 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

[ Apache73 ][2454.73330] Apache WebServer with PHP 7.3 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/apache73/

Changelog :

2439.7304 https://www.qnapclub.eu/fr/qpkg/releasenotes/735

About :

Complete Apache HTTP Web Server with PHP 7.3.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 2288 by default.
Listen Web page inside htdocs share (created automatically on first install)
Last edited by QNAP_Stephane on Thu Nov 03, 2022 10:54 pm, edited 33 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

----------------------------------------------------------------------------------------------------------------------------
stefaanbolle
Getting the hang of things
Posts: 65
Joined: Thu May 03, 2018 7:56 pm

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

Post by stefaanbolle »

Can I upgrade my currently installed qapache with qapache73 or will it install a new apache server?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

it will run aside, but sharing the same 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

----------------------------------------------------------------------------------------------------------------------------
stefaanbolle
Getting the hang of things
Posts: 65
Joined: Thu May 03, 2018 7:56 pm

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

Post by stefaanbolle »

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

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

Post by Toxic17 »

QNAP_Stephane wrote: Thu Apr 18, 2019 6:22 pm it will run aside, but sharing the same htdocs
Excellent. I was thinking the same idea, since I am guessing some php/html scripting on my Website may use deprecated values. At least I can test the new 7.3 aside 7.2 ;)
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: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

Stephanie. I noticed that phpMyAdmin and other web based SQL apps were not connecting correctky.

The issue appears to be the the localhost name in the web based apps. I ended up fixing this by using 127.0.0.1 instead of the "localhost" name.

Is there somewhere in the Apache/php setting where it's is set?

Sent from my ONEPLUS A6003 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
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Hi Simon,

this behavior always been, even with Qapache
if i remember it s a mysql config file to modify
---------------------------------------------------------------------------------------------------------------------------

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: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

ok no worries. I only noticed this issue since moving to 7.3, not a real issue as such since a fix is in place for it.
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: [ Apache73 ] [2439.7304] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

ARM64 version added
---------------------------------------------------------------------------------------------------------------------------

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

Post by QNAP_Stephane »

php core update to 7.3.5
---------------------------------------------------------------------------------------------------------------------------

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: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

QNAP_Stephane wrote: Sat May 04, 2019 4:20 pm php core update to 7.3.5
Hi Stephane.

I installed this new update via SSH by backing up my config files etc, removing the old Apache 7.3.4 and then installing a new version however when I used the commandline:

sh Apache73_2439.7305_x86_64.qpkg

I got the following error at the bottom of the installation script output.

All settings correct for using Composer
Downloading...

Composer (version 1.8.5) successfully installed to: /share/CACHEDEV1_DATA/.qpkg/Apache73/bin/composer
Use it: php /opt/Apache73/bin/composer
[/share/Public] # shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Code: Select all

[/share/Public] # sh Apache73_2439.7305_x86_64.qpkg
Install QNAP package on TS-NAS...
./
./built_info
./qinstall.sh
./package_routines
./qpkg.cfg
21867+1 records in
21867+1 records out
538822645 bytes (513.9MB) copied, 2.937701 seconds, 174.9MB/s
526193+1 records in
526193+1 records out
538822645 bytes (513.9MB) copied, 2.938645 seconds, 174.9MB/s
Firmware check is fine.
Link service start/stop script: Apache73.sh
Set QPKG information in /etc/config/qpkg.conf
seems to be first install, prepare config
/usr/bin/perl exists
/etc/ssl/ca-bundle.crt exists
share htdocs exists in your share
file index.html exists in your share htdocs
file test.php exists in your share htdocs
directory htdocs/cgi-bin exists in your share
Apache admin exists in htdocs
Generating a RSA private key
....................+++++
..........................................+++++
writing new private key to '/share/CACHEDEV1_DATA/.qpkg/Apache73/etc/server.key'
-----
All settings correct for using Composer
Downloading...

Composer (version 1.8.5) successfully installed to: /share/CACHEDEV1_DATA/.qpkg/Apache73/bin/composer
Use it: php /opt/Apache73/bin/composer
[/share/Public] # shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
is this anything I should worry about?
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: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

OK I have updated and the other issue I see is the following:

php shows 7.3.4 version and not 7.3.5 when running phpinfo file on my web-server. I also loaded myPhpAdmin and this also reports PHP as 7.3.4, yet I uninstalled the old Apache 7.3.4 and then installed Apache73_2439.7305_x86_64.qpkg

Code: Select all

/share/CACHEDEV1_DATA/.qpkg/Apache73/bin/php -v
PHP 7.3.5 (cli) (built: May  3 2019 17:29:06) ( ZTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.5, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v2.7.1, Copyright (c) 2002-2019, by Derick Rethans
Capture.JPG
Capture1.JPG
You do not have the required permissions to view the files attached to this post.
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: [ Apache73 ] [2439.7305] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

mmmm seems my tweak not working on upgrade i need review this...

rename /opt/Apache73/etc to /opt/Apache73/etc_old
rename /opt/Apache73/etc_ori to /opt/Apache73/etc
and restart qpkg

I will remove this in next update
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Bestellungen
Starting out
Posts: 10
Joined: Fri Mar 22, 2019 5:38 am

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

Post by Bestellungen »

Ist it possible to install the nextcloud qpkg with this apache73?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

simply unpack Nextcloud.tar.gz inside htdocs share (download it from nextcloud website)

and call http://ipofnas:2288/nextcloud

nextcloud should the directory name inside 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

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

Return to “Community Apps”