Ok, Problem gelöst.
offensichtlich lag das Problem bei xampp. Nach dem Update auf die aktuellste Version funktioniert alles, wie es soll.
@letsfindaway, nochmals vielen Dank für Deine Bemühungen ....RR
Ok, Problem gelöst.
offensichtlich lag das Problem bei xampp. Nach dem Update auf die aktuellste Version funktioniert alles, wie es soll.
@letsfindaway, nochmals vielen Dank für Deine Bemühungen ....RR
Sorry, es hat etwas länger gedauert, aber beide Pakete sind installiert. Ich habe dann auch noch mal meine Config Dateien überprüft, aber leider nichts gefunden, was auf einen Fehler hindeutet. Letztendlich habe ich dann xampp/lampp neu installiert, weil ich den Verdacht hatte, dass beim Installieren die falschen Bibliotheken eingebunden würden, aber auch das hat nicht geholfen.
Ich weiß nicht, ob's hilft, aber hier ist die Ausgabe der relevanten Teile von PHP-Info:
PHP Version 7.4.1
System Linux linusserver 4.12.14-lp151.28.36-default #1 SMP Fri Dec 6 13:50:27 UTC 2019 (8f4a495) x86_64
Build Date Dec 23 2019 08:43:20
Configure Command './configure' '--prefix=/opt/lampp' '--with-apxs2=/opt/lampp/bin/apxs' '--with-config-file-path=/opt/lampp/etc' '--with-mysql=mysqlnd' '--enable-inline-optimization' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-ftp' '--enable-gd-native-ttf' '--enable-magic-quotes' '--enable-shmop' '--disable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-gdbm=/opt/lampp' '--with-jpeg-dir=/opt/lampp' '--with-png-dir=/opt/lampp' '--with-freetype-dir=/opt/lampp' '--with-zlib=yes' '--with-zlib-dir=/opt/lampp' '--with-openssl=/opt/lampp' '--with-xsl=/opt/lampp' '--with-ldap=/opt/lampp' '--with-gd' '--with-imap=/bitnami/xamppunixinstaller74stack-linux-x64/src/imap-2007e' '--with-imap-ssl' '--with-gettext=/opt/lampp' '--with-mssql=shared,/opt/lampp' '--with-pdo-dblib=shared,/opt/lampp' '--with-sybase-ct=/opt/lampp' '--with-mysql-sock=/opt/lampp/var/mysql/mysql.sock' '--with-mcrypt=/opt/lampp' '--with-mhash=/opt/lampp' '--enable-sockets' '--enable-mbstring=all' '--with-curl=/opt/lampp' '--enable-mbregex' '--enable-zend-multibyte' '--enable-exif' '--with-bz2=/opt/lampp' '--with-sqlite=shared,/opt/lampp' '--with-sqlite3=/opt/lampp' '--with-libxml-dir=/opt/lampp' '--enable-soap' '--with-xmlrpc' '--enable-pcntl' '--with-mysqli=mysqlnd' '--with-pgsql=shared,/opt/lampp/' '--with-iconv=/opt/lampp' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql=/opt/lampp/postgresql' '--with-pdo_sqlite=/opt/lampp' '--with-icu-dir=/opt/lampp' '--enable-fileinfo' '--enable-phar' '--enable-zip' '--enable-intl' '--with-pear' '--enable-gd' '--without-libzip' '--disable-huge-code-pages' 'PKG_CONFIG_PATH=/opt/lampp/lib/pkgconfig'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /opt/lampp/etc
Loaded Configuration File /opt/lampp/etc/php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20190902
PHP Extension 20190902
Zend Extension 320190902
Zend Extension Build API320190902,NTS
PHP Extension Build API20190902,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling enabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
Alles anzeigen
gd
GD Support enabled
GD Version bundled (2.1.0 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
libPNG Version 1.6.37
WBMP Support enabled
XBM Support enabled
BMP Support enabled
TGA Read Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 1 1
Alles anzeigen
Ich hoffe, es hat noch jemand eine Idee, weil ich weiß jetzt wirklich nicht mehr weiter.
Danke im Voraus ....RR
so etwa?
S | Name | Type | Version | Arch | Repository
---+--------+---------+-------------------+--------+-------------------------------------------------
i+ | libgd3 | package | 2.2.5-lp151.6.3.1 | x86_64 | Online updates for openSUSE Leap:15.1 (standard)
i+ | libgd3 | package | 2.2.5-lp151.6.3.1 | x86_64 | Hauptaktualisierungs-Repository
v | libgd3 | package | 2.2.5-lp151.5.1 | x86_64 | Haupt-Repository
v | libgd3 | package | 2.2.5-lp151.6.3.1 | i586 | Online updates for openSUSE Leap:15.1 (standard)
v | libgd3 | package | 2.2.5-lp151.6.3.1 | i586 | Hauptaktualisierungs-Repository
Hast recht, das ist deutlich einfacher lesbar.
Und das ist der Output von gd_info in PHP:
{ ["GD Version"]=> string(26) "bundled (2.1.0 compatible)" ["FreeType Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPEG Support"]=> bool(false)["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(false) ["XBM Support"]=> bool(true) ["WebP Support"]=> bool(false) ["BMP Support"]=> bool(true) ["TGA Read Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false)}
Danke für Deine/Eure Hilfe ....RR
Hallo letsfindaway,
Danke für Deine Antworten.
Ich dachte eigentlich, ich hätte unter Verwendung von Yast die Standard Library von OpenSuse installiert.
zypper se -xs gd liefert folgende Ausgabe:
S | Name | Type | Version | Arch | Repository
---+------+------------+-------------------+--------+-------------------------------------------------
i+ | gd | package | 2.2.5-lp151.6.3.1 | x86_64 | Online updates for openSUSE Leap:15.1 (standard)
i+ | gd | package | 2.2.5-lp151.6.3.1 | x86_64 | Hauptaktualisierungs-Repository
v | gd | package | 2.2.5-lp151.5.1 | x86_64 | Haupt-Repository
v | gd | package | 2.2.5-lp151.6.3.1 | i586 | Online updates for openSUSE Leap:15.1 (standard)
v | gd | package | 2.2.5-lp151.6.3.1 | i586 | Hauptaktualisierungs-Repository
| gd | srcpackage | 2.2.5-lp151.6.3.1 | noarch | Online updates for openSUSE Leap:15.1 (standard)
| gd | srcpackage | 2.2.5-lp151.6.3.1 | noarch | Hauptaktualisierungs-Repository
und zypper lr -d das hier:
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+---------------------------+---------------------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
1 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.1-1 | No | ---- | ---- | 99 | rpm-md | cd:/?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223F |
2 | openSUSE_Leap_15.1_Update | Online updates for openSUSE Leap:15.1 (standard) | Yes | (r ) Yes | No | 99 | rpm-md | Index of /update/leap/15.1/oss |
3 | repo-debug | Debug Repository | No | ---- | ---- | 99 | rpm-md | Index of /debug/distribution/leap/15.1/repo/oss |
4 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | 99 | rpm-md | Index of /debug/distribution/leap/15.1/repo/non-oss |
5 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | rpm-md | Index of /debug/update/leap/15.1/oss |
6 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | 99 | rpm-md | Index of /debug/update/leap/15.1/non-oss |
7 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /distribution/leap/15.1/repo/non-oss |
8 | repo-oss | Haupt-Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /distribution/leap/15.1/repo/oss |
9 | repo-source | Source Repository | No | ---- | ---- | 99 | rpm-md | Index of /source/distribution/leap/15.1/repo/oss |
10 | repo-source-non-oss | Source Repository (Non-OSS) | No | ---- | ---- | 99 | rpm-md | Index of /source/distribution/leap/15.1/repo/non-oss |
11 | repo-update | Hauptaktualisierungs-Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /update/leap/15.1/oss |
12 | repo-update-non-oss | Aktualisierungs-Repository (Nicht-Open-Source-Software) | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /update/leap/15.1/non-oss |
Und Sorry, aber was meinst Du mit Code Tags? Wenn ich den entsprechenden Button anklicke, bekomme ich zwar ein Pop-up Window mit jeder Menge Möglichkeiten, habe aber keine Ahnung, was ich dort wählen soll. Ich bin nicht so fit in HTML.
Danke für Deine Hilfe ....RR
Hallo zusammen,
ich bin gerade dabei, eine alte PHP Applikation von PHP 5.6 auf PHP 7.4 upzudaten. In der Applikation werden auch Bilder verwaltet bzw. hochgeladen. PHP nutzt dazu die Funktion ImageCreateFromJPEG(), die in der libgd enthalten sein sollte. Unter Windows (xampp) funktioniert das auch alles wunderbar, aber in OpenSuse 15.1 bekomme ich bei dem Aufruf einen fatal error. Ich habe mittlerweile herausgefunden, dass die gdlib wohl ohne die Option jpeg kompiliert wurde (gd-info() zeigt bei jpeg ein false an). Nun die Frage: Gibt es eine Möglichkeit, die jpeg Funktionalität nachträglich in die gdlib einzufügen oder muss ich auf eine neue Version warten, die das hoffentlich dann beinhaltet? Wobei das Problem schon in 15.0 existiert hat.
Wo kann ich dieses Problem melden, damit die Entwickler darauf reagieren können?
Vielen Dank für eure Hilfe ....RR