x64architecture / wnmp

An easy Nginx, MariaDB and PHP environment for Windows.
https://wnmp.x64architecture.com
GNU General Public License v3.0
509 stars 110 forks source link

can not enable php-pdo extensions for php-fpm #116

Closed myfreax closed 3 years ago

myfreax commented 4 years ago

when cli run under mode, the mysql-pdo can loaded:

PS F:\Work\rageframe2> php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
gd
hash
iconv
imap
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
Phar
phpdbg_webhelper
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

but in php-fpm:

<?php
phpinfo()

can not find mysql-pdo

mittus commented 4 years ago

Check your php folder in path: image image