[ PHP-FPM8 ] [ 8.0.27 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

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

[ PHP-FPM8 ] [ 8.0.27 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by QNAP_Stephane »

Source : https://www.php.net/

Download : amd64, arm64

https://www.qnapclub.eu/fr/qpkg/1191

about :

Replace the embedded Qnap PHP version to latest 8.0.x branch

configuration file directory : /opt/PHPFPM8/etc

logs directory : /opt/PHPFPM8/var/log

be carefull : some php applications are not yet compatible with PHP 8.0.x branch
disabling this qpkg, make you roll back to Qnap embedded PHP-FPM 7.3

php error logs enable by default :

cross compiled with the following modules enabled :

Code: Select all


[PHP Modules]

amqp

apcu

bcmath

bitset

bz2

calendar

Core

ctype

curl

date

dba

dom

eio

ev

event

exif

fileinfo

filter

ftp

gd

geoip

gettext

gmp

gnupg

grpc

hash

hprose

hrtime

http

iconv

igbinary

imagick

inotify

intl

json

krb5

ldap

libxml

mailparse

mbstring

mcrypt

memcached

mongodb

msgpack

mysqli

mysqlnd

OAuth

odbc

openssl

pcntl

pcre

PDFlib

PDO

pdo_dblib

pdo_mysql

PDO_ODBC

pdo_pgsql

pdo_sqlite

pgsql

Phar

posix

propro

pspell

radius

raphf

readline

redis

Reflection

scrypt

session

shmop

SimpleXML

snmp

soap

sockets

sodium

solr

SPL

sqlite3

standard

swoole

taint

tidy

timezonedb

tokenizer

xattr

xdebug

xml

xmlreader

xmlrpc

xmlwriter

xsl

xxtea

yaml

Zend OPcache

zip

zlib



[Zend Modules]

Xdebug

Zend OPcache
Last edited by QNAP_Stephane on Mon Jan 09, 2023 11:10 pm, edited 1 time 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

----------------------------------------------------------------------------------------------------------------------------
WeT-Klb
Starting out
Posts: 26
Joined: Fri Apr 29, 2016 2:18 am

Re: [ PHP-FPM8 ] [ 8.0.10 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by WeT-Klb »

Nextcloud 23 has this warning:

Ihr PHP unterstützt Freetype nicht. Dies wird defekte Profilbilder und eine defekte Anzeige der Einstellungen verursachen.

Is it possible to add support for Freetype to PHP-FPM8?
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [ PHP-FPM8 ] [ 8.0.10 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by OneCD »

WeT-Klb wrote: Wed Jan 19, 2022 3:16 am Ihr PHP unterstützt Freetype nicht. Dies wird defekte Profilbilder und eine defekte Anzeige der Einstellungen verursachen.
This is an English-language-only forum. Please post only in English. Thank you.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
WeT-Klb
Starting out
Posts: 26
Joined: Fri Apr 29, 2016 2:18 am

Re: [ PHP-FPM8 ] [ 8.0.10 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by WeT-Klb »

Ihr PHP unterstützt Freetype nicht. Dies wird defekte Profilbilder und eine defekte Anzeige der Einstellungen verursachen.
Your PHP does not support freetype. This will cause broken profile images and settings display.
DAveDS
New here
Posts: 8
Joined: Sat Apr 09, 2022 9:17 pm

Re: [ PHP-FPM8 ] [ 8.0.10 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by DAveDS »

Hey,
I update to PHP-FPM 8 successfully, but had one issue:
By GD extension is the freeType and JPEG not supporting

by running a script to check the GD i got this:
Yes
FreeType SupportNo
GIF Read SupportYes
GIF Create SupportYes
JPEG SupportNo
PNG SupportYes
WBMP SupportYes
XPM SupportNo
XBM SupportYes
WebP SupportNo
BMP SupportYes
TGA Read SupportYes
JIS-mapped Japanese Font SupportYes

But when i look in PHPinfo i see by the configure command it's ok:
enable-gd' '--with-webp-dir=/opt/PHPFPM8' '--with-jpeg-dir=/opt/PHPFPM8' '--with-png-dir=/opt/PHPFPM8' '--with-freetype-dir=/opt/PHPFPM8' '--with-t1lib=/opt/PHPFPM8' '--enable-gd-native-ttf' '--enable-gd-jis-conv'
i see above freestyle isn't compatible but what about the jpgeg?

Someone else run in the same issue and has a solution? (when server starts JPEG and freetype are ok, but after a few minutes when the php-fpm8 is loaded the jpeg and freetype aren't enabled anymore --> I find out that the server starts with php7.3 and loads the qpkg a little bit later)

thanks
Davy
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ PHP-FPM8 ] [ 8.0.27 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by QNAP_Stephane »

updated to PHP 8.0.27
libs updated (openssl, freetype, gd)
fixed GD not including freetype2 and jpeg
---------------------------------------------------------------------------------------------------------------------------

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: [ PHP-FPM8 ] [ 8.0.27 ] PHP Replacement to branch 8.0.x for QTS embbeded Web Server

Post by Toxic17 »

QNAP_Stephane wrote: Mon Jan 09, 2023 11:10 pm updated to PHP 8.0.27
libs updated (openssl, freetype, gd)
fixed GD not including freetype2 and jpeg
cant seem to find this on myqnap.org, yet you posted the above update on Mon Jan 09, 2023 3:10 pm
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
Post Reply

Return to “Community Apps”