SQLite extension ist nicht verfügbar und php7

  • Hallo,
    ich bin gerade dabei den JTLconnector zu installieren.
    Ich bekomme aber bei der Installation folgenden Fehler:


    SQLite
    Die PHP SQLite Extension wird für Session-Daten des Connectors benötigt.
    SQLite extension ist nicht verfügbar


    mit apt-get install php7-sqlite habe ich sqlite nachinstalliert.


    Ich habe phpswitcher im Einsatz und unter /opt/phpswitcher/php7.0/etc/php/conf.d/modules.ini die extension = sqlite3.so und extension = pdo_sqlite.so auskommentiert.
    Trotzdem funktioniert es nicht.


    Kann mir da bitte wer helfen?


    Danke im Voraus.

  • @rr10111101

    • Distro? Codename?
    • i-MSCP version?
    • PhpSwitcher plugin version?
    • PHP version?

    Thank you ;)


    Anyway, you're confusing the PHP versions compiled using the PHP compiler that is provided by the PhpSwitcher plugin and the PHP version that is provided by your distribution:

    apt-get install php7-sqlite

    Will have no effect on a PHP version that is compiled with the PHP compiler that is provided with the PhpSwitcher plugin.

    Ich habe phpswitcher im Einsatz und unter /opt/phpswitcher/php7.0/etc/php/conf.d/modules.ini die extension = sqlite3.so und extension = pdo_sqlite.so auskommentiert.

    Should do the job for a PHP version that you compiled using the PHP compiler that is provided by the PhpSwitcher plugin but you must also restart the service: service psw7.0-fpm restart


    Now the question is: Do you use PHP 7.0 as provided by your distribution or do you use PHP 7.0 compiled using the PHP compiler that is provided by the PhpSwitcher plugin... :S

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • So please, in order:


    Be sure that the extensions are enabled in the /opt/phpswitcher/php7.0/etc/php/conf.d/modules.ini file (like you have done already).


    Then, execute:

    Shell-Script
    1. # service psw7.0-fpm restart

    Also please give me the result of the following command:

    Shell-Script
    1. # /opt/phpswitcher/php7.0/bin/php -i

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @rr10111101


    You're welcome.


    Thread closed ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206