FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP and DB2 on an IIS Server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
PHP and DB2 on an IIS Server [message #172725] Sun, 27 February 2011 16:45 Go to previous message
Charles Buege is currently offline  Charles Buege
Messages: 1
Registered: February 2011
Karma:
Junior Member
Hello all out there.

I'm attempting to get an IIS Server running with PHP (which I can do in my sleep by this point) but I'd like to enable the PHP server to do DB2 lookups on our iSeries AS/400 (V5R4M0 in
case that matters). I've gone done the following:

Setup the IIS Server.
Configured and tested PHP extensively. I can make connections to MySQL and SQL Server devices with no problem at all.
Downloaded and copied into the PHP\ext directory php_ibm_db2.dll file.
I've modified the php.ini to include extension=php_ibm_db2.dll
I've restarted the web server.
But each time I try to use the following code, I get the following error: Fatal error: Call to undefined function db2_connect() in C:\phptest\baredata.php on line 17

<?php
//Establish connection to database
$host = "mysystem.mydomain.com";
$conn = db2_connect($host,"(valid user name)", "(valid password)");

Any additional information that you request, I'll be happy to provide it.

Would anyone out there have any idea where I could go for my next attempt to get this working? Please feel free to email me at cbuege at moreycorp dot com with any suggestions you
have. I'm ready to pull my hair out over this!! *laughs* I'm SURE, at this point, that I'm missing something as simple as uncommenting a line of code or some other stupid thing like
that, so any help would be greatly appreciated.

Thank you,
Charles


--
--------------------------------- --- -- -
Posted with NewsLeecher v5.0 Beta 1
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with web service
Next Topic: [ANN]VTD-XML 2.10
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 23:20:19 GMT 2024

Total time taken to generate the page: 0.04097 seconds