# Dokuwiki - SQLite & PDO SQLite - PHP

**URL:** <https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542>\
**Category:** Support apps\
**Tags:** french, english\
**Created:** [November 17, 2019, 10:56am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542 "2019-11-17T10:56:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 17, 2019, 10:56am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/1 "2019-11-17T10:56:13Z")

</div>

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:davcal)  
[https://www.dokuwiki.org/plugin:webdavclient](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

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 17, 2019, 11:40am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/2 "2019-11-17T11:40:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 17, 2019, 6:58pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/3 "2019-11-17T18:58:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 17, 2019, 7:22pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/4 "2019-11-17T19:22:06Z")

</div>

Il y a apparemment une solution “Linux”, [ici](https://www.php.net/manual/fr/pdo.installation.php) !

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 17, 2019, 7:48pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/5 "2019-11-17T19:48:32Z")

</div>

merci  
so

```auto
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?

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 17, 2019, 7:54pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/6 "2019-11-17T19:54:17Z")

</div>

Que renvoie la commande ?  
php -i

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 17, 2019, 8:36pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/7 "2019-11-17T20:36:12Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 17, 2019, 8:51pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/8 "2019-11-17T20:51:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 17, 2019, 9:24pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/9 "2019-11-17T21:24:19Z")

</div>

Yes I deleted

```auto
extension=php_pdo.dll

```

and  
`extension=php_pdo_sqlite.dll`  
is still uncommented

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 17, 2019, 9:44pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/10 "2019-11-17T21:44:54Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 18, 2019, 7:35am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/11 "2019-11-18T07:35:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)\
**Post date:** [November 18, 2019, 9:58am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/12 "2019-11-18T09:58:15Z")

</div>

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

> [@rockyIII](#):
>
> did a fresh installation of dokuwiki and installed also the plugins davcal and webdavclient:

I don’t understand the mistake:

> [@rockyIII](#):
>
> 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

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](http://www.DeepL.com/Translator)

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 18, 2019, 10:00am UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/13 "2019-11-18T10:00:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rockyIII](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rockyIII](https://forum.yunohost.org/u/rockyIII)\
**Post date:** [November 18, 2019, 1:34pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/14 "2019-11-18T13:34:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [December 3, 2019, 1:34pm UTC](https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/15 "2019-12-03T13:34:31Z")

</div>

Closed on December 3, 2019, 1:34pm UTC

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