php 7.1 - php-fpm connectivity with ibm_db2 driver -
i have created simple php script connects ibm_db2 driver. works if directly runs php.
php test.php. script file looks like.
<?php $dbname = "sample"; $dbuser = "db2inst1"; $dbpwd = "xyz"; $conn = db2_pconnect( $dbname, $dbuser, $dbpwd ); ?>
i tried run php-fpm(php7.1) script not working. not able load ibm_db2 driver. have followed https://scaleyourcode.com/blog/article/2 setup php-fpm. instead of php5-fpm using php7.1-fpm.
i have updated php.ini file in /etc/php/7.1/fpm extension=ibm_db2.so. kindly let me know if missing configuration.
Comments
Post a Comment