× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I know this is not the correct forum, please point me in the right direction.

My problem. I have installed Zend Core for i5. The install went easily, without a hiccup. I can access the configuration pages. I have the book, âThe IBM I Programmers guide to PHPâ. On page 245, it says to run the following script:
<?php
Phpinfo()
?>
The resulting page should have âIBM_DB2â on it to confirm that the db2 extensions are installed.
This is what I get back :
@@Lo@âËâ %@@@@@âËâââââM]@^ %@@on %

On the Zend Core configuration page, I have this:

ibm_db2 - IBM DB2 Database Access Installed
Name Value

ibm_db2.binmode 1



ibm_db2.i5_all_pconnect 0



ibm_db2.i5_allow_commit 0



ibm_db2.i5_dbcs_alloc 0



ibm_db2.instance_name



Iâm guessing that something here is wrong, but Iâm not sure what. If you can point me to the manual with the instructions that I should be using, Iâd appreciate it.

I also tried this script from the PHP: Zend for i5/OS redbook:

************Beginning of data**************
<HTML>
<?php
$conn = if_connect("localhost","OPERIT","ITOPER");
if (!$conn)
die("<BR>Connection using \"localhost\" failed. Error number = ".i5_errno()." msg=".if_errmsg())."<BR>";
else
echo "<BR>Connection OK <BR>\n";
print "Date is: ".if_get_system_value("QDATE");
i5_close($conn)
</html>
************End of Data********************

This is the resulting page:

@@LÃÃÃÃn %@@LoâËâ %@@@[Æâââ@~@ââmÆââââÆÂMââÆÂâËâÂÂkÃÃÃÃÃÃkÃÃÃÃÃÃ]^ %@@@ââ@MZ[Æâââ] %@@@@@@âââMLÃÃnÃââââÆÂâââ@ÂÂâââ@ÃââÆÂâËâÂÂÃ@âÂââââK@Ãââââ@âÂââââ@~@KâÃmâââââM]K@âÂâ~KââmââââÂâM]]KLÃÃn^ %@@@ââÂâ %@@@@@@âÆËâ@LÃÃnÃââââÆÂâââ@ÃÃ@LÃÃnÃâ^ %ââââÂ@ÃÂÂâ@âÂz@KââmââÂmÂÂÂÂââmÂÂâÂâMÃÃÃÃÃ]^ %âÃmÆââÂâM[Æâââ] %LaËÂâân %

I have got to have something severely messed up. I appreciate pointers to manuals. I was just looking, our CCSID is 65535. Could this be the problem ?

TIA,
Cyndi B.
Bosie, ID


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.