Github messages for voidlinux
 help / color / mirror / Atom feed
From: ILadis <ILadis@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] PHP: Uncaught Error: Class 'SQLite3' not found
Date: Mon, 11 May 2020 23:12:03 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21852@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

New issue by ILadis on void-packages repository

https://github.com/void-linux/void-packages/issues/21852

Description:
### System

* xuname:  `Void 4.19.118_1 armv7l Unknown uptodate rF`
* package:  `php-7.4.5_1`, `php-sqlite-7.4.5_1`

### Expected behavior
I'm trying to get the PHP SQLite3 extension working on my Raspberry PI. I installed the above packages and enabled the extension in `/etc/php/php.ini` by uncommenting `;extension=sqlite3`.

Executing `php -m` does **not** list sqlite as a PHP module.
Executing `php -i` does **not** mention any SQLite3 support.

### Actual behavior
SQLite3 should work after installing `php-sqlite-7.4.5_1` and enabling the extension in `/etc/php/php.ini`.

### Steps to reproduce the behavior
Install the above packages, enable SQLite3 extension and run `php -r 'new SQLite3("db");'`:

```
PHP Fatal error:  Uncaught Error: Class 'SQLite3' not found in Command line code:1
Stack trace:
#0 {main}
  thrown in Command line code on line 1
```


             reply	other threads:[~2020-05-11 21:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 21:12 ILadis [this message]
2020-05-15 19:08 ` newbluemoon
2020-05-16  0:59 ` ILadis
2020-05-16 19:58 ` newbluemoon
2020-05-16 21:26 ` [ISSUE] [CLOSED] " jnbr
2020-05-18  7:59 ` ILadis
2020-05-18  8:00 ` ILadis
2022-07-11 21:39 ` prog98
2023-03-25  8:56 ` JimChristop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21852@inbox.vuxu.org \
    --to=iladis@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).