Author Topic: php_pdo.dll Error  (Read 322 times)

STEVE

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
php_pdo.dll Error
« on: July 05, 2022, 11:45:32 am »
PHP WARNING : PHP STARTUP : Unable to load dynamic library 'pdo' (tried : c:\php\ext\pdo (Can't file the module), c:\php\ext\php_pdo.dll (%1 is not right Win32 application)) in unkown on line 0

I got the above error message.  I have downloaded different versions of PHP and installed php_pdo.dll to the ext folder.  But I still have a problem. 

I guess because of that even though PHP got data from DB. it couldn't pass it to the HTML.

Please help me.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: php_pdo.dll Error
« Reply #1 on: July 05, 2022, 12:09:00 pm »
Dear Steve

In your email you had mentioned that you were able to fetch json data

Quote
I succeeded in fetching data from PostgreSQL by using the PDO function. 

Setting up of server environment and third party software is outside the scope of pqgrid support.

Anyway please read through this tutorial: https://www.phptutorial.net/php-pdo/pdo-connecting-to-postgresql/ that might help you.