php.netxamppwampingres

I can't connect to Ingres with php 5.4


I have windows xp with xampp installed and the problem is at moment to connect with ingres DB show me this error **Fatal error: Call to undefined function ingres_connect() ** I read about it and I tried to load the extension php_ingres.dll and edit my php.ini with the name of my ext. I have php 5.4 somenone has this extension php_ingres.dll if you need more information please let me know. I installed the client ingres too.


Solution

  • Its an error tipically, because you don't have installed PHP drivers Ingress and PHP.ini can't resolve it, please download PHP drivers and later add it extension=php_ingres.dl in PHP.INI of your xampp server. You can check if extension was loaded using: extension_loaded('php_ingres').

    Ingres 10.1.0 Community edition: http://esd.ingres.com/product/Community_Projects/Ingres_Database/Windows_32-Bit/Ingres_10.1_Build_121/ingres-10.1.0-121-gpl-win-x86-NoDoc.zip/http

    PHP drivers here: http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver