[ Apache80 ][ 2455.80280 ] Apache WebServer with PHP 8.0.x and PECL extensions
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
try to put file inside your Public share and install it in SSH qith " sh -x name.qpkg"
this can be also related to a memory problem on NAS
i have an h686 here an no issue
this can be also related to a memory problem on NAS
i have an h686 here an no issue
---------------------------------------------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------------------------------------------
-
- Getting the hang of things
- Posts: 58
- Joined: Wed Nov 18, 2009 7:41 pm
Re: [ Apache80 ][ 2448.8080 ] Apache WebServer with PHP 8.0.x and PECL extensions
did you managed to solve this? I have set it to 512M or 1024M and nextcloud2380 is still giving me the error plus the imagick. it's as if apache80 is ignoring the php.ini settings.bendsch wrote: ↑Sat Jul 03, 2021 7:08 am Is there something wrong with how this package reads the config files?
my nextcloud showed, that my mermory_limit is below 512MB, so i changed it in php.ini to 1G. however if i run the following command, php still shows me 128MB. also, the warning in nextcloud is not gone of course.
/share/CACHEDEV1_DATA/.qpkg/Apache80/bin/php -i | grep memory_limit
memory_limit => 128M => 128M
cheers
bendsch
-
- Starting out
- Posts: 14
- Joined: Fri Jan 30, 2015 3:36 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Hi,
I am having some issues with Apache80 and NextCloud80.
1) IMHO the files error_log and access_log belong to Apache80. Esp. access_log appeared in "../NextCloud80/nextcloud" and had to be removed before an update of nextcloud can be performed. This should not happen. Where is this to be fixed?
2) error_log shows some messages I have no clue about:
No matching SSL virtual host for servername cloud.mydomain.tld found (using default/first virtal host)
next line: select ... www.example.com
which is the servername given by httpd-ssl.conf:
ServerName www.example.com:$(LISTENHTTPS)
Shouldn't this be something like
ServerName $(SERVERNAME):$(LISTENHTTPS)
Sure, SERVERNAME must be defined and exported in Nextcloud80.sh
3) I see lots of
[Wed Jan 05 10:35:23.228622 2022] [charset_lite:debug] [pid 20511:tid 139847985506048] mod_charset_lite.c(219): [client 192.168.10.11:61066] AH01448: incomplete configuration: src unspecified, dst unspecified
how to fix?
I agree, the configuration is provided by NextCloud, but the messages are Apache related.
I am having some issues with Apache80 and NextCloud80.
1) IMHO the files error_log and access_log belong to Apache80. Esp. access_log appeared in "../NextCloud80/nextcloud" and had to be removed before an update of nextcloud can be performed. This should not happen. Where is this to be fixed?
2) error_log shows some messages I have no clue about:
No matching SSL virtual host for servername cloud.mydomain.tld found (using default/first virtal host)
next line: select ... www.example.com
which is the servername given by httpd-ssl.conf:
ServerName www.example.com:$(LISTENHTTPS)
Shouldn't this be something like
ServerName $(SERVERNAME):$(LISTENHTTPS)
Sure, SERVERNAME must be defined and exported in Nextcloud80.sh
3) I see lots of
[Wed Jan 05 10:35:23.228622 2022] [charset_lite:debug] [pid 20511:tid 139847985506048] mod_charset_lite.c(219): [client 192.168.10.11:61066] AH01448: incomplete configuration: src unspecified, dst unspecified
how to fix?
I agree, the configuration is provided by NextCloud, but the messages are Apache related.
-
- Starting out
- Posts: 26
- Joined: Sun May 28, 2017 7:10 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Does this require the latest firmware or will it still work on 4.5.3.1652?
I'm wanting to run GPhotosync and I noticed it requires this.
Thanks
I'm wanting to run GPhotosync and I noticed it requires this.
Thanks
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
My Apache80 refused to start.
/var/logs/error_log shows may lines of
but no indication what caused it. Anyone has similar encounters?
/var/logs/error_log shows may lines of
Code: Select all
[Tue Jan 18 02:06:14.489214 2022] [core:notice] [pid 22943:tid 139981842663232] AH00052: child pid 22946 exit signal Illegal instruction (4)
TS451
TS453
TVS-682
TS453
TVS-682
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Removed the package, reinstalled it from App centre and it worked. Previously I downloaded from qnapclub website. strange. but now I'm facing new issues.yanuk wrote: ↑Tue Jan 18, 2022 4:23 pm My Apache80 refused to start.
/var/logs/error_log shows may lines ofbut no indication what caused it. Anyone has similar encounters?Code: Select all
[Tue Jan 18 02:06:14.489214 2022] [core:notice] [pid 22943:tid 139981842663232] AH00052: child pid 22946 exit signal Illegal instruction (4)
when I edit the php.ini memory_limit to
Code: Select all
memory_limit = 512M
TS451
TS453
TVS-682
TS453
TVS-682
- moody_blue
- Easy as a breeze
- Posts: 266
- Joined: Tue Jan 10, 2017 9:23 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
There's another .ini file in the same folder as php.ini (its name is orig.ini or something similar) that you need to delete.
Downloading qpkg's from qnapclub using wifi is risky. I had multiple problems in the past when I was doing it.
Downloading qpkg's from qnapclub using wifi is risky. I had multiple problems in the past when I was doing it.
QNAP TS-253A 8G QTS 5.0.1.2145
Plex Media Server 1.29.0.6209
OpenHAB 3.4.0.M2
Unifi 7.2.92
Apache80 2454.8230
GLPI 10.0.3
Plex Media Server 1.29.0.6209
OpenHAB 3.4.0.M2
Unifi 7.2.92
Apache80 2454.8230
GLPI 10.0.3
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2446.8030 ] Apache WebServer with PHP 8.0.x and PECL extensions
Nice! this solved the fixed 128M memory limit for me! I moved the PHP original.ini away and restarted!Metal B wrote: ↑Wed Apr 21, 2021 7:13 pm Thanks for the Apache WebServer.
I wanted to highlight an error, which gave me some headache:
Any changes to the php.ini through the Apache-Setup-site will be being ignored.
I tried to activate error handling, but PHP would just ignore the new variables after a restart. The issue comes from the file "php_orginal.ini" in etc/confic, which just overwrites any changes. PHP looks at every "ini" file in the folder 'confic' and just uses it. Deleting the file or moving it, solved the issue for me.
I hope, this may help others and will be fixed in a future update (Still suprised, that nobody else had issues with this problems).
TS451
TS453
TVS-682
TS453
TVS-682
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
hi @QNAP_Stephane, Will the PHPFPM80 qpkg work with Apache80? I would like to enable http2 for Apache80 and it requires PHP-FPM. Is it possible? Will it also work with the other qpkg you've compiled (eg: Nextcloud80)
TS451
TS453
TVS-682
TS453
TVS-682
- Toxic17
- Ask me anything
- Posts: 6469
- Joined: Tue Jan 25, 2011 11:41 pm
- Location: Planet Earth
- Contact:
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Apache80 does not require PHP-FPM.
the module in httpd.conf (apache80/74) has the modules already loaded as default:
Code: Select all
LoadModule http2_module libexec/mod_http2.so
LoadModule proxy_http2_module libexec/mod_proxy_http2.so
Code: Select all
#Enable HTTP/2 support
Protocols h2 http/1.1
that's all I have done in Apache74 and Apache80 and never loaded "PHP-FPM" before.
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
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
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Nice! Thanks for the tip!
Toxic17 wrote: ↑Sun Jan 30, 2022 12:46 amApache80 does not require PHP-FPM.
the module in httpd.conf (apache80/74) has the modules already loaded as default:
Stop Apache80, add the following to the conf file:Code: Select all
LoadModule http2_module libexec/mod_http2.so LoadModule proxy_http2_module libexec/mod_proxy_http2.so
restart Apache80Code: Select all
#Enable HTTP/2 support Protocols h2 http/1.1
that's all I have done in Apache74 and Apache80 and never loaded "PHP-FPM" before.
TS451
TS453
TVS-682
TS453
TVS-682
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
NIce! tried it out and my apps are showing HTTP2 enabled!
TS451
TS453
TVS-682
TS453
TVS-682
-
- New here
- Posts: 4
- Joined: Fri Feb 25, 2022 5:01 pm
Re: [ Apache80 ][ 2451.8120 ] Apache WebServer with PHP 8.0.x and PECL extensions
Hi..could anyone confirm that this package has embedded pdo_sqlsrv e pdo_odbc extensions for PHP ?
thanks in advance
thanks in advance
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Apache80 ][ 2453.8170 ] Apache WebServer with PHP 8.0.x and PECL extensions
updated
Apache core to 2.4.53
php core to 8.0.17
openssl 1.1.1n
Apache core to 2.4.53
php core to 8.0.17
openssl 1.1.1n
---------------------------------------------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------------------------------------------
- moody_blue
- Easy as a breeze
- Posts: 266
- Joined: Tue Jan 10, 2017 9:23 am
Re: [ Apache80 ][ 2453.8170 ] Apache WebServer with PHP 8.0.x and PECL extensions
Hi, GLPI 10 is out, it has dependencies not included in Apache80
QNAP TS-253A 8G QTS 5.0.1.2145
Plex Media Server 1.29.0.6209
OpenHAB 3.4.0.M2
Unifi 7.2.92
Apache80 2454.8230
GLPI 10.0.3
Plex Media Server 1.29.0.6209
OpenHAB 3.4.0.M2
Unifi 7.2.92
Apache80 2454.8230
GLPI 10.0.3