note 124479 deleted from sqlite.installation by cmb
| From: | cmb@php.net | Date: | Fri, 06 Dec 2019 14:51:23 +0000 |
| Subject: | note 124479 deleted from sqlite.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213396@lists.php.net to get a copy of this message | ||
Note Submitter: donotspam at alecos dot it
----
In my previous post I lost a piece of code because of the haste and because of the fact that I wrote
the whole thing using my smartphone (very bad idea), so I made a typo. Sorry for the mistake, the
correct code is the following:
To enable CURL and SQLITE3 on Windows with PHP 7.4 edit httpd.conf and php.ini as below:
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
LoadFile "${SRVROOT}/php/libssh2.dll"
# load SQLITE3 on Windows
LoadFile "${SRVROOT}/php/libsqlite3.dll"
php.ini:
extension=curl
extension=pdo_sqlite
extension=sqlite3
Now CURL and SQLITE3 are enabled and working fine on Windows on PHP 7.4. Thanks for reading this.