[ Apache80 ][ 2455.80280 ] Apache WebServer with PHP 8.0.x 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
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

[ Apache80 ][ 2446.8030 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

QNAP_Stephane wrote: Tue Apr 27, 2021 4:39 am https://php.watch/versions/8.0/xmlrpc not embedded anymore but can bé added
Thanks. I've posted the issue in the GLPI forum. But if GLPI really needs xmlrpc what are the options ? From what I've read it needs to be compiled and included as xmlrpc.so file https://www.php.net/manual/en/xmlrpc.installation.php
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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache80 ][ 2446.8030 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

i included in Apache80 2446.8050 the RC extension for xmlrpc

it should be available later in the day (if no bug found)
---------------------------------------------------------------------------------------------------------------------------

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: [ Apache80 ][ 2446.8050 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

php core to php 8.0.5
openssl to 1.1.1k

added xmlrpc extension
extension updated
---------------------------------------------------------------------------------------------------------------------------

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
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

Re: [ Apache80 ][ 2446.8050 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

Thanks. Installed the new version but glpi keeps failing. Issue reported in the glpi forum https://forum.glpi-project.org/viewtopic.php?id=281047
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
User avatar
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

Re: [ Apache80 ][ 2446.8030 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

QNAP_Stephane wrote: Tue Apr 27, 2021 11:11 pm i included in Apache80 2446.8050 the RC extension for xmlrpc
See comment from GLPI team https://github.com/glpi-project/glpi/is ... -831045923
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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache80 ][ 2447.8060 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

Apache Core to 2.4.47
PHP Core to 8.0.6
---------------------------------------------------------------------------------------------------------------------------

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
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

Re: [ Apache80 ][ 2447.8060 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

QNAP_Stephane wrote: Thu May 06, 2021 3:02 pm updated

Code: Select all

Apache Core to 2.4.47
PHP Core to 8.0.6
Great. But did not solve GLPI80's problem of not being able to upload files into documents. GLPI team says that it is a broken PHP module. GLPI80 works ok with QNAP's Web server.
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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache80 ][ 2447.8060 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

moody_blue wrote:
QNAP_Stephane wrote: Thu May 06, 2021 3:02 pm updated

Code: Select all

Apache Core to 2.4.47
PHP Core to 8.0.6
Great. But did not solve GLPI80's problem of not being able to upload files into documents. GLPI team says that it is a broken PHP module. GLPI80 works ok with QNAP's Web server.
I have no clue... May be enable php logs in php. Ini

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
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

Re: [ Apache80 ][ 2447.8060 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

QNAP_Stephane wrote: Fri May 07, 2021 3:53 am I have no clue... May be enable php logs in php. Ini
I have no clue either. I reverted to using GLPI80 with the native Web server. So far so good. If / when you find a patch for Apache80 pls let me know.
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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache80 ][ 2447.8070 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

Code: Select all

updated php core to 8.0.7
---------------------------------------------------------------------------------------------------------------------------

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: [ Apache80 ][ 2448.8080 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

php core to php 8.0.8
apache core to 2.4.48
Git update to 2.32.0
curl updated to 2.77 (with new dep updated)
openldap updated to 2.55
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

----------------------------------------------------------------------------------------------------------------------------
User avatar
moody_blue
Easy as a breeze
Posts: 266
Joined: Tue Jan 10, 2017 9:23 am

[ Apache80 ][ 2448.8080 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by moody_blue »

This version fixes the GLPI problem. Thank you very much
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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Apache80 ][ 2448.8080 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by QNAP_Stephane »

moody_blue wrote: Thu Jul 01, 2021 3:44 am This version fixes the GLPI problem. Thank you very much
Cool , that was not expected :)
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
bendsch
Know my way around
Posts: 238
Joined: Fri Oct 23, 2009 3:20 am

Re: [ Apache80 ][ 2448.8080 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by bendsch »

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
NASmodesl: TS-459 Pro+ , TS-251
bendsch
Know my way around
Posts: 238
Joined: Fri Oct 23, 2009 3:20 am

Re: [ Apache80 ][ 2446.8030 ] Apache WebServer with PHP 8.0.x and PECL extensions

Post by bendsch »

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).
ok never mind, was not reading carefully, solution is already in the thread.
NASmodesl: TS-459 Pro+ , TS-251
Post Reply

Return to “Community Apps”