1. Tycho Member

    PHP Startup: Unable to load 'gd.so'

    Topic geplaatst op: 17-01-2023 om 12:44

    Cron job gives the warning:

    PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /opt/alt/php81/usr/lib64/php/modules/gd.so (/opt/alt/php81/usr/lib64/php/modules/gd.so: undefined symbol: gdImageCreateFromAvifCtx), /opt/alt/php81/usr/lib64/php/modules/gd.so.so (/opt/alt/php81/usr/lib64/php/modules/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

    I'm using php version 8.1, with GD extension turned on. When I turn off this extension, the warning disappears.

  2. Jeroen Member
    Reactie geplaatst op: 19-01-2023 om 22:29

    I get the same error on php 8.1. With php 8.2 nothing works, so I switched back to php 8.0 end the error disappears.
    So Versio has something to fix on the php 8.1 and php 8.2 installs.

    Vond u dit antwoord nuttig?