note 124478 deleted from book.sqlite3 by cmb
| From: | cmb@php.net | Date: | Fri, 06 Dec 2019 14:51:29 +0000 |
| Subject: | note 124478 deleted from book.sqlite3 by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213397@lists.php.net to get a copy of this message | ||
Note Submitter: donotspam at alecos dot it
----
I forgot in my previous post a piece of code because of the haste and because of the fact that I
wrote the whole thing using my smartphone (horrible idea), so I made a typo. Sorry 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.