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

@daobertono, i had the same problem. Download link was broken , but then would occasionally download a broken .txt file. It finally started working.
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 »

QnapClub Repo is running out of space... you may encounter some random problem, until Cris fix the problem (but he is a bit overloaded actually)
---------------------------------------------------------------------------------------------------------------------------

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

Post by QNAP_Stephane »

updated to php 7.3.15
---------------------------------------------------------------------------------------------------------------------------

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

Post by QNAP_Stephane »

updated to php core 7.3.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

----------------------------------------------------------------------------------------------------------------------------
User avatar
mydjtl
Getting the hang of things
Posts: 95
Joined: Wed Jan 11, 2017 7:52 am

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

Post by mydjtl »

How to fix? I tried deleting and reinstalling the app and also Qapache but nothing is working. Please help. Also tried the suggestions in the forum to no success. Thanks.

My qnap and firmware info:
https://a.cl.ly/2NuBW0G9


Apache Log
[Fri Mar 20 14:13:21.367797 2020] [so:warn] [pid 18172:tid 140207012263744] AH01574: module php7_module is already loaded, skipping
[Fri Mar 20 14:13:21.451383 2020] [ssl:warn] [pid 18204:tid 140207012263744] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[Fri Mar 20 14:13:21.673948 2020] [mpm_event:notice] [pid 18204:tid 140207012263744] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1d SVN/1.13.0-dev PHP/7.3.15 configured -- resuming normal operations
[Fri Mar 20 14:13:21.674042 2020] [core:notice] [pid 18204:tid 140207012263744] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache73/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache73/etc/httpd.conf'


Here are my apache 74 logs. Do I need to have qapache or any other apps installed?

[Wed Mar 18 07:44:17.660187 2020] [ssl:warn] [pid 22178:tid 139679450314560] 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 07:44:17.812210 2020] [mpm_event:notice] [pid 22178:tid 139679450314560] 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 07:44:17.812351 2020] [core:notice] [pid 22178:tid 139679450314560] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache74/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache74/etc/httpd.conf'
[Thu Mar 19 09:15:19.256556 2020] [mpm_event:notice] [pid 22178:tid 139679450314560] AH00491: caught SIGTERM, shutting down
[Thu Mar 19 09:29:02.574476 2020] [ssl:warn] [pid 3498:tid 140123542406976] 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
[Thu Mar 19 09:29:05.902639 2020] [mpm_event:notice] [pid 3498:tid 140123542406976] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1d SVN/1.13.0-dev PHP/7.4.3 configured -- resuming normal operations
[Thu Mar 19 09:29:05.902768 2020] [core:notice] [pid 3498:tid 140123542406976] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache74/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache74/etc/httpd.conf'
[Fri Mar 20 05:25:30.210666 2020] [optional_fn_export:error] [pid 3589:tid 140121974146816] AH01871: Optional function test said: \x03
[Sat Mar 21 22:15:40.141023 2020] [optional_fn_export:error] [pid 3589:tid 140122049681152] AH01871: Optional function test said: GET /Apache74 HTTP/1.1
[Sat Mar 21 22:15:44.906090 2020] [optional_fn_export:error] [pid 3589:tid 140121999324928] AH01871: Optional function test said: GET /Apache74/ HTTP/1.1
[Sat Mar 21 22:15:45.720629 2020] [optional_fn_export:error] [pid 3589:tid 140122066466560] AH01871: Optional function test said: GET /Apache74/img/asf_logo.png HTTP/1.1
[Sat Mar 21 22:15:58.454166 2020] [optional_fn_export:error] [pid 3588:tid 140122150393600] AH01871: Optional function test said: GET / HTTP/1.1
[Sat Mar 21 22:15:59.248541 2020] [optional_fn_export:error] [pid 3588:tid 140122158786304] AH01871: Optional function test said: GET /favicon.ico HTTP/1.1
[Sat Mar 21 22:16:00.780387 2020] [optional_fn_export:error] [pid 3588:tid 140122167179008] AH01871: Optional function test said: GET /Apache74/log.php HTTP/1.1
[Sat Mar 21 22:23:08.266884 2020] [optional_fn_export:error] [pid 3588:tid 140122058073856] AH01871: Optional function test said: GET /Apache74/ HTTP/1.1
Last edited by mydjtl on Sun Mar 22, 2020 6:53 am, edited 3 times in total.
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
mydjtl
Getting the hang of things
Posts: 95
Joined: Wed Jan 11, 2017 7:52 am

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

Post by mydjtl »

Here are my apache 74 logs. Do I need to have qapache or any other apps installed?

[Wed Mar 18 07:44:17.660187 2020] [ssl:warn] [pid 22178:tid 139679450314560] 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 07:44:17.812210 2020] [mpm_event:notice] [pid 22178:tid 139679450314560] 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 07:44:17.812351 2020] [core:notice] [pid 22178:tid 139679450314560] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache74/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache74/etc/httpd.conf'
[Thu Mar 19 09:15:19.256556 2020] [mpm_event:notice] [pid 22178:tid 139679450314560] AH00491: caught SIGTERM, shutting down
[Thu Mar 19 09:29:02.574476 2020] [ssl:warn] [pid 3498:tid 140123542406976] 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
[Thu Mar 19 09:29:05.902639 2020] [mpm_event:notice] [pid 3498:tid 140123542406976] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1d SVN/1.13.0-dev PHP/7.4.3 configured -- resuming normal operations
[Thu Mar 19 09:29:05.902768 2020] [core:notice] [pid 3498:tid 140123542406976] AH00094: Command line: '/share/CACHEDEV1_DATA/.qpkg/Apache74/bin/httpd -f /share/CACHEDEV1_DATA/.qpkg/Apache74/etc/httpd.conf'
[Fri Mar 20 05:25:30.210666 2020] [optional_fn_export:error] [pid 3589:tid 140121974146816] AH01871: Optional function test said: \x03
[Sat Mar 21 22:15:40.141023 2020] [optional_fn_export:error] [pid 3589:tid 140122049681152] AH01871: Optional function test said: GET /Apache74 HTTP/1.1
[Sat Mar 21 22:15:44.906090 2020] [optional_fn_export:error] [pid 3589:tid 140121999324928] AH01871: Optional function test said: GET /Apache74/ HTTP/1.1
[Sat Mar 21 22:15:45.720629 2020] [optional_fn_export:error] [pid 3589:tid 140122066466560] AH01871: Optional function test said: GET /Apache74/img/asf_logo.png HTTP/1.1
[Sat Mar 21 22:15:58.454166 2020] [optional_fn_export:error] [pid 3588:tid 140122150393600] AH01871: Optional function test said: GET / HTTP/1.1
[Sat Mar 21 22:15:59.248541 2020] [optional_fn_export:error] [pid 3588:tid 140122158786304] AH01871: Optional function test said: GET /favicon.ico HTTP/1.1
[Sat Mar 21 22:16:00.780387 2020] [optional_fn_export:error] [pid 3588:tid 140122167179008] AH01871: Optional function test said: GET /Apache74/log.php HTTP/1.1
[Sat Mar 21 22:23:08.266884 2020] [optional_fn_export:error] [pid 3588:tid 140122058073856] AH01871: Optional function test said: GET /Apache74/ 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: [ Apache73 ] [2441.7316] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

What doesnt work ?

Envoyé de mon MI 9 en utilisant Tapatalk

---------------------------------------------------------------------------------------------------------------------------

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

Post by mydjtl »

I can't install bookstack. Also i just noticed i can't loginto mysql at localgost:3306

error_log
[Sat Mar 21 18:40:29.799351 2020] [ssl:warn] [pid 21718:tid 140348798850880] AH01906: www.example.com:31283:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Mar 21 18:40:29.799969 2020] [ssl:warn] [pid 21718:tid 140348798850880] AH01909: www.example.com:31283:0 server certificate does NOT include an ID which matches the server name
[Sat Mar 21 18:40:30.245388 2020] [ssl:warn] [pid 21796:tid 140348798850880] AH01906: www.example.com:31283:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Mar 21 18:40:30.245543 2020] [ssl:warn] [pid 21796:tid 140348798850880] AH01909: www.example.com:31283:0 server certificate does NOT include an ID which matches the server name


.env file

# Application key
# Used for encryption where needed.
# Run `php artisan key:generate` to generate a valid key.
APP_KEY=base64:kyH9bWr+voSXi/yLeFdEO3CGjW0+Ou1Q8xlrt9DfOSc=

# Application URL
# Remove the hash below and set a URL if using BookStack behind
# a proxy, if using a third-party authentication option.
# This must be the root URL that you want to host BookStack on.
# All URL's in BookStack will be generated using this value.
#APP_URL=localhost

# Database details
DB_HOST=localhost
DB_DATABASE=bookstack
DB_USERNAME=root
DB_PASSWORD=Infinity00wi

# Mail system to use
# Can be 'smtp', 'mail' or 'sendmail'
MAIL_DRIVER=smtp

# SMTP mail options
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null


# A full list of options can be found in the '.env.example.complete' file.
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: [ Apache73 ] [2441.7316] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

use 127.0.0.1 not localhost
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Marco Lungo
New here
Posts: 5
Joined: Fri Oct 18, 2019 6:21 pm

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

Post by Marco Lungo »

Hi Stephane,
I've a lot of problems with the QNAP VM and I would find another solution for my TS-251+.
I need to install a web server for multiple web sites, everyone with SSL certificate from Let's Encrypt.
The architecture I need is:
- Apache
- PHP
- Joomla
- MySql
- PhpMyAdmin

Reading this post, I've seen that you have done an half miracle... could you make me the other half, suggesting me a solution to implemented all I need?
Thank you!
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

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

Post by Toxic17 »

I'm not sure if you realise, you qnap already has, Apache, PHP, mysql installed by default and handles multiple websites.

Next is joomla and phpmyadmin are available to install from your app center.

This thread will install PHP and Apache but you have to manually setup each site with a lot more work.

Personally you need to start reading how to do this all. It will take time and you also need a backup plan.

How do you intend on pointing your multiple domain names to your Nas? DDNS?


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

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

Post by Toxic17 »

Stephane.

fyi

Apache HTTP Server version 2.4.43 is released:

https://downloads.apache.org/httpd/CHANGES_2.4.43
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 ] [2443.7316] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

openssl 1.1.1f
curl 7.69.1
sqlite 3.31.1
httpd Apache core to version 2.4.43

added certbot in /opt/Apache74/bin to help you generate your lets encrypt SSL certificate
---------------------------------------------------------------------------------------------------------------------------

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

Post by Toxic17 »

Thx Stephane.

Btw is there any howto for certbot?

I use LEgo. Though would it be easier to use certbot?

Sent from my OnePlus 7 Pro 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 ] [2443.7316] Apache WebServer with PHP 7.3 and PECL extensions

Post by QNAP_Stephane »

It is standard Linux command think you Can find howto just by googling

Envoyé de mon MI 9 en utilisant Tapatalk

---------------------------------------------------------------------------------------------------------------------------

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”