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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -