note 124474 deleted from sqlite.installation by cmb
| From: | cmb@php.net | Date: | Fri, 06 Dec 2019 14:51:38 +0000 |
| Subject: | note 124474 deleted from sqlite.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213398@lists.php.net to get a copy of this message | ||
Note Submitter: donotspam at alecos dot it
----
I forgot in my previous comment a piece of code. Here is the correct code.
To enable CURL and SQLITE3 on Windows with PHP 7.4
httpd.conf:
# load php.ini from chosen directory
PHPIniDir "${SRVROOT}/php"
# load PHP 7.4 on Windows
LoadModule php7_module "${SRVROOT}/php/php7apache2_4.dll"
# load CURL on Windows
LoadModule "${SRVROOT}/php/libssh2.dll"
# load SQLITE3 on Windows
LoadModule "${SRVROOT}/php/libsqlite3.dll"
php.ini:
extension=curl
extension=pdo_sqlite
extension=sqlite3
Now CURL and SQLITE3 are enabled and working fine on Windows.