Hello, I'm trying to use mysql w nginx/php-fpm but phpinfo in the webserver returns PDO as "no value" and I don't understand why.
$ port installed |grep php php5 @5.3.28_0+apache2 (active) php5-curl @5.3.28_0 (active) php5-gd @5.3.28_1 (active) php5-mysql @5.3.28_0+mysqlnd (active) php5-sockets @5.3.28_0 (active) php53 @5.3.28_0+libedit (active) php53-fpm @5.3.28_0 (active) php53-sockets @5.3.28_0 (active) php55 @5.5.8_0+libedit (active) php_select @1.0_0 (active) $ php -m|grep -i pdo ## Apple PDO pdo_mysql pdo_sqlite $ php-fpm53 -m|grep -i pdo PDO $ php53 -m|grep -i pdo PDO $ php55 -m|grep -i pdo PDO $ ls -l /opt/local//lib/php/extensions/no-debug-non-zts-20090626/ total 1192 -rwxr-xr-x 1 root admin 73344 26 déc 13:59 curl.so* -rwxr-xr-x 1 root admin 306356 26 déc 13:59 gd.so* -rwxr-xr-x 1 root admin 42428 26 déc 14:00 mysql.so* -rwxr-xr-x 1 root admin 105488 26 déc 14:00 mysqli.so* -rwxr-xr-x 1 root admin 26108 26 déc 14:00 pdo_mysql.so* -rwxr-xr-x 1 root admin 45100 14 fév 15:13 sockets.so* None of the extensions are loaded on either php. I searched a bit but don't find real way to solve that (outside of maybe uninstall all/reinstall maybe) http://forum.nginx.org/read.php?3,71808 http://serverfault.com/questions/340282/how-do-i-install-pdo-and-gd-for-php-cgi http://serverfault.com/questions/289496/phpinfo-reports-no-value-for-pdo-mysql-driver On unix, we are not supposed to fill "extensions =" in php.ini (windows only). So I'm a bit blocked... Any suggestions? Thanks a lot. Cheers, Julien
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
