0

I am trying to load sqlite3 pdo driver for use with httpd and php 7.4.2 . In my php.ini I set up an absolute path to extensions directory:

extension_dir = "D:/MyWebServer/php7_4_2Win32vc15x64/ext"

I also enable all sqlite-related pdo extensions in php.ini:

extension=pdo_sqlite
extension=sqlite3

httpd and built-in php server both can find my php.ini: php.ini was found and loaded

But, when using built-in php server I get such result:

sqlite was found and ready to be used

But when I use httpd I get that PDO extensions were not loaded:

sqlite not found with httpd

All other extensions work fine with httpd.

How do I make PDO extensions work with httpd?

Ivan P.
  • 832
  • 2
  • 9
  • 26

0 Answers0