1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Required extension gd2 not loaded

Discussion in 'Help' started by XenialDan, Oct 30, 2018.

  1. XenialDan

    XenialDan Baby Zombie

    Messages:
    141
    GitHub:
    thebigsmilexd
    Operating on Windows 10

    Freshly re-downloaded the binarys 1 hour ago

    php.ini:
    Code:
    ;Custom PocketMine-MP php.ini file
    display_errors=1
    display_startup_errors=1
    error_reporting=-1
    zend.assertions=-1
    phar.readonly=0
    extension_dir=ext
    extension=php_pthreads.dll
    extension=php_openssl.dll
    extension=php_pocketmine_chunkutils.dll
    extension=php_igbinary.dll
    extension=php_ds.dll
    extension=php_leveldb.dll
    extension=php_crypto.dll
    igbinary.compact_strings=0
    ;zend_extension=php_opcache.dll
    ;The following extensions are included as shared extensions (DLLs) but disabled by default as they are optional. Uncomment the ones you want to enable.
    extension=php_gd2.dll
    extension=php_mysqli.dll
    extension=php_sqlite3.dll
    date.timezone=Europe/Berlin
    Directory ext:
    Code:
        Directory: Z:\PocketMine\PocketMine-MP-mcpe-1.8\bin\php\ext
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----       21.10.2018     14:03          86016 php_bz2.dll
    -a----       21.10.2018     14:03          75264 php_crypto.dll
    -a----       21.10.2018     14:03         144384 php_ds.dll
    -a----       21.10.2018     14:03        1390080 php_gd2.dll
    -a----       21.10.2018     14:03          65536 php_igbinary.dll
    -a----       21.10.2018     14:03          38400 php_leveldb.dll
    -a----       21.10.2018     14:03         119296 php_mysqli.dll
    -a----       21.10.2018     14:03         135680 php_openssl.dll
    -a----       21.10.2018     14:03          16384 php_pocketmine_chunkutils.dll
    -a----       21.10.2018     14:03         106496 php_pthreads.dll
    -a----       21.10.2018     14:03        1060352 php_sqlite3.dll
    I see no reason why gd2 should not be loaded.

    Anyone knows why?
     
  2. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Try to change
    to...
    ... and maybe use the directory of your php.exe as working directory.

    Depending on your version of PHP it could also work (since v7.2) using
    instead of
    If none of this works try to use an absolute path. Good luck!
     
  3. XenialDan

    XenialDan Baby Zombie

    Messages:
    141
    GitHub:
    thebigsmilexd
    Thanks for the idea, but this would counter the configuration for mysql - which works without any weird changes. I will test it anyways

    //Edit
    tested all those ideas. None of them worked
     
    Last edited: Oct 31, 2018
  4. XenialDan

    XenialDan Baby Zombie

    Messages:
    141
    GitHub:
    thebigsmilexd
    Fixed.
    Required extension must be "gd", not "gd2", do not get failed by the extensions filename
     
    jasonwynn10 and SleepSpace9 like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.