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

How to load extension in php 7.2 RC?

Discussion in 'Help' started by alexwolf_dev, Sep 1, 2017.

  1. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    I can not load sqlite3 on windows.
    Code:
    #1:
    PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlite3' (tried: pocketmine-php-bin\ext\sqlite3 (▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒.
    ), pocketmine-php-bin\ext\php_sqlite3.dll (▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒.
    )) in Unknown on line 0
    
    #2:
    19:33:21] [Server thread/CRITICAL]: ClassNotFoundException: "Class SQLite3 not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144
    I added this line to php.ini
    Code:
    extension=sqlite3
    Pls help.
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    did you actually have sqlite in the ext?
    and waht are these in the ()
     
  3. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    I have sqlite3 in ext. In () more '▒▒'.
     
  4. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Code:
    extension=sqlite3
    should be
    Code:
    extension=sqlite3.dll
    Also, is the sqlite3 version you have compatable with 7.2 ?
     
  5. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    I thinks that no.
     
  6. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Code:
    extension_dir=ext
    
    should solve your problem.
     
    jasonwynn10 likes this.
  7. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    This need was dropped in PHP 7.2
     
    jasonwynn10 likes this.
  8. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    No
     
  9. Tynezz

    Tynezz Creeper

    Messages:
    3
    Having the same problem as OP
     
  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.