Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] PHP: Uncaught Error: Class 'SQLite3' not found
@ 2020-05-11 21:12 ILadis
  2020-05-15 19:08 ` newbluemoon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ILadis @ 2020-05-11 21:12 UTC (permalink / raw)
  To: ml

[-- 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
```


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-25  8:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 21:12 [ISSUE] PHP: Uncaught Error: Class 'SQLite3' not found ILadis
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

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).