Dokuwiki - SQLite & PDO SQLite - PHP

Hi
did a fresh installation of dokuwiki and installed also the plugins davcal and webdavclient:

https://www.dokuwiki.org/plugin:davcal
https://www.dokuwiki.org/plugin:webdavclient

now I get the error:

“SQLite & PDO SQLite support missing in this PHP install - plugin will not work”

Why? can someone help ? Thanks

Bonjour,
As-tu essayé ces méthodes ?
http://www.finalclap.com/faq/170-php-sqlite-pdo

merci thank so much for your hint

in
/etc/php/7.0/fpm/php.ini
/etc/php/7.0/cli/php.ini

i did find and edited and undcommed

extension=php_pdo_sqlite.dll

I did not find

```
extension=php_pdo.dll

if I just add it it still has no effect and the error is still displayed.

Have a look – do I have to uncommend an other extension as well?

;extension=php_bz2.dll

;extension=php_curl.dll

;extension=php_fileinfo.dll

;extension=php_ftp.dll

;extension=php_gd2.dll

;extension=php_gettext.dll

;extension=php_gmp.dll

;extension=php_intl.dll

;extension=php_imap.dll

;extension=php_interbase.dll

;extension=php_ldap.dll

;extension=php_mbstring.dll

;extension=php_exif.dll ; Must be after mbstring as it depends on it

;extension=php_mysqli.dll

;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client

;extension=php_openssl.dll

;extension=php_pdo_firebird.dll

;extension=php_pdo_mysql.dll

;extension=php_pdo_oci.dll

;extension=php_pdo_odbc.dll

;extension=php_pdo_pgsql.dll

extension=php_pdo_sqlite.dll

;extension=php_pgsql.dll

;extension=php_shmop.dll

; The MIBS data available in the PHP distribution must be installed.

; See http://www.php.net/manual/en/snmp.installation.php

;extension=php_snmp.dll

;extension=php_soap.dll

;extension=php_sockets.dll

;extension=php_sqlite3.dll

;extension=php_tidy.dll

;extension=php_xmlrpc.dll

;extension=php_xsl.dll

thanks

Il y a apparemment une solution “Linux”, ici !

merci
so

extension=php_pdo.dll

is not needed as it says in your link

And now I did a restart of yunohost and PHP as well but still get the Error message…

an other idea?

Que renvoie la commande ?
php -i

Hmm
there is an error
have a look:

root@my:~# php -i
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/php_pdo_sqlite.dll’ - /usr/li
b/php/20151012/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on lin
e 0
phpinfo()
PHP Version => 7.0.33-0+deb9u6

what can i do?

Did you comment again on the lines you had uncommented or added?

Yes I deleted

extension=php_pdo.dll

and
extension=php_pdo_sqlite.dll
is still uncommented

Sur mon système j’ai fait :

apt install php7.0-sqlite

puis :
php-fpm7.0 -i | grep PDO

PDO
PDO support => enabled
PDO drivers => mysql, sqlite
PDO Driver for MySQL => enabled
PDO Driver for SQLite 3.x => enabled

On dirait que cela résoud le problème !

Voir le statut et éventuellement redémarrer :

service php7.0-fpm status
service php7.0-fpm restart

Qu’en penses-tu ?

1 Like

OK so I did all this but still I get:

root@my:~# php -i                                                                                              
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_pdo_sqlite.dll' - /usr/lib
/php/20151012/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 
0                                                                                                              
phpinfo()                                                                                                      
PHP Version => 7.0.33-0+deb9u6    

other question:
so the new installed service is not part of the yunohost installation, right?
Will the new installed service be updated, do I have to take special care?

Hello,
So, were you able to install the plugins, and do they work?

I don’t understand the mistake:

With regard to future updates of your Yunohost, yes, you will need to be vigilant. Be sure to follow the plugins updates.
For php7.0-sqlite, I would tend to think that this will not pose any particular problems.
Have a good day.

Translated with DeepL Translate: The world's most accurate translator

Whooo
The error message
“SQLite & PDO SQLite support missing in this PHP install - plugin will not work”
is gone…
I have hope that it works now, i will report, thanks so fare very much

YES YES YES
it works -
I have to thanks you thousand times…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.