Bug #81526 [Nab]: --without-sqlite3 not working
| From: | requinix@php.net | Date: | Fri, 15 Oct 2021 03:50:14 +0000 |
| Subject: | Bug #81526 [Nab]: --without-sqlite3 not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-237201@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81526&edit=1
ID: 81526
Updated by: requinix@php.net
Reported by: fhorio at perforce dot com
Summary: --without-sqlite3 not working
Status: Not a bug
Type: Bug
Package: *Configuration Issues
Operating System: CentOS 7
PHP Version: 8.0.11
Block user comment: N
Private report: N
New Comment:
...wow, I've not been doing well lately. But at least I was close.
--without-sqlite3 controls the sqlite3 extension. PHP will still require libsqlite3 if you try to
compile support for pdo_sqlite - which the output in those few lines before the error message
suggests it will be doing. You're probably encountering this now because of what I said before.
If you don't want pdo_sqlite either then use --without-pdo-sqlite.
Previous Comments:
------------------------------------------------------------------------
[2021-10-15 00:13:03] requinix@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
As of PHP 7.4 the sqlite3 library is no longer bundled and so must be installed separately.
https://www.php.net/manual/en/sqlite3.requirements.php
https://www.php.net/manual/en/migration74.other-changes.php
------------------------------------------------------------------------
[2021-10-14 23:30:07] fhorio at perforce dot com
Description:
------------
configure with --without-sqlite3 option doesn't work. I had to install sqlight-devel package in
order to make it work.
./configure --with-zlib --enable-mbstring --enable-exif --with-openssl=/usr/local/ssl/
--disable-cli --with-apxs2=/usr/local/apache2/bin/apxs --enable-maintainer-zts --without-sqlite3
--disable-mbregex
.
.
.
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... yes
checking for PDO includes... /root/download/php-8.0.11/ext
checking for sqlite3 > 3.7.4... no
configure: error: Package requirements (sqlite3 > 3.7.4) were not met:
No package 'sqlite3' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81526&edit=1