Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite3 #21

Open
gtbu opened this issue Sep 28, 2022 · 10 comments
Open

Sqlite3 #21

gtbu opened this issue Sep 28, 2022 · 10 comments

Comments

@gtbu
Copy link

gtbu commented Sep 28, 2022

I tried to install the newest version and then the master under Xampp php8.1- but i get no selection for sqlite3 and when i start the installation (without db-parameters):
Fatal error: Uncaught mysqli_sql_exception: ....
Can You update the readme with installation details for sqlite3 please

@MioVisman
Copy link
Owner

Extensions must be allowed in php.ini:
sqlite3 for SQLite
pgsql for PostgreSQL

php in windows:
phpini

setup

@gtbu
Copy link
Author

gtbu commented Sep 28, 2022

Sorry -
extension=sodium
extension=sqlite3
but i get no long dropdown with sqlite 3 ( php 8.1.16 ):
init1

Must i do someting else ?

@MioVisman
Copy link
Owner

MioVisman commented Sep 28, 2022

php 8.1.16

8.1.11 max

file:

<?php

phpinfo();

result:
sql

@gtbu
Copy link
Author

gtbu commented Sep 28, 2022

No sqlite 3 present (phpinfo) At xampp it needs some more .... just what
I installed it under plesk in the web - here the menu comes.

@MioVisman
Copy link
Owner

For Windows, the \ext\php_sqlite3.dll file must be present.
For Linux, you need to separately install SQLite on the system, since starting with php 7.4 (if I'm not mistaken) SQLite does not come with php.

@gtbu
Copy link
Author

gtbu commented Sep 28, 2022

I have the SQLite 3.x driver for PDO (phpinfo) - and php/ext/php_sqlite3.dll is present.

@MioVisman
Copy link
Owner

SQLite 3.x driver for PDO

It's a different driver. FluxBB does not use PDO.

It should be sqlite3 (it is usually on the phpinfo page below)
sql

Show your screenshot, please.

P.S. I have now tested the installation in php 8.1.10 for sqlite3. No installation problems were detected. Win7.

@MioVisman
Copy link
Owner

stat

@gtbu
Copy link
Author

gtbu commented Sep 28, 2022

Sorry - i said i can just find the active pdo and no sqlite3 though both are activated. I tried to create a database on commandline with error. Sqlite is not active. In the web under plesk Onyx it functions - i do not want to publish the web-link here (if You want to see it post Your email at typesetter5.bplaced.net please -> Kontakt)

init2

Nevertheless - i come back after i found a solution...thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants