Php

From Elch-Wiki
Jump to navigationJump to search

Folgende Dinge sollten in absteigender Priorität nach einem PHP- oder Apache-Update getestet werden:


php 7.4

  • Nachinstalliert: sqlite3, onimagu (?)
  • unrecognized options: --with-jpeg-dir
    • --with-gd wurde zu --enable-gd
    • --enable-zip wurde zu --with-zip
  • rrd funktioniert nicht (Module compiled with module API=20170718, PHP compiled with module API=20190902)
    • pecl uninstall rrd
    • pecl install rrd
    • /etc/php.ini -> extension für rrd anpassen

php 8.5

  • IMAP nicht mehr integriert -> ausweichen auf SSH2
    • pecl install ssh2
  • Alle extensions mussten re-installiert werden:
    • pecl uninstall xxx, pecl install xxx
    • Extensions: memcached, raphf, pecl_http, imagick, apcu, ssh2
    • rrd hat Fehler geworfen wegen "const char *" vs "char *" -> export CFLAGS="-Wno-incompatible-pointer-types", dann pecl install rrd