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

Solved phar

Discussion in 'Development' started by XdmingXD, Sep 9, 2017.

  1. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    Code:
    [16:52:07] [Server thread/INFO]: [DevTools] Adding files...
    [16:52:07] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
    [16:52:07] [Server thread/CRITICAL]: Unhandled exception executing command 'makeplugin test' in makeplugin: creating archive "C:/Users/xdm08/Desktop/DevServer/Dev/plugins/DevTools//test_v1.0.0.phar" disabled by the php.ini setting phar.readonly
    [16:52:07] [Server thread/CRITICAL]: UnexpectedValueException: "creating archive "C:/Users/xdm08/Desktop/DevServer/Dev/plugins/DevTools//test_v1.0.0.phar" disabled by the php.ini setting phar.readonly" (EXCEPTION) in "PocketMine-DevTools.phar/src/DevTools/DevTools" at line 232
    
    DevTool version : 1.12.3.2
    How can I fix this? Thx
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    RTFE Read The Fine Error
    [16:52:07] [Server thread/CRITICAL]: Unhandled exception executing command 'makeplugin test' in makeplugin: creating archive "C:/Users/xdm08/Desktop/DevServer/Dev/plugins/DevTools//test_v1.0.0.phar" disabled by the php.ini setting phar.readonly
     
  3. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    SO Do you know what is that mean? :/
    This is my question
     
  4. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    And this is my php.ini :

    extension_dir=ext
    extension=php_openssl.dll
    zend.assertions=-1
    ;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
     
  5. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    Fixed
     
  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.