× 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.



(Cross posted to Midrange and Web400)

Having a really weird problem with some PHP scripts that use DB2 connections and the i5_xxxx APIs.

Started when we moved to a new box (which is literally a clone of the original) - scripts that used 'localhost' started failing. Changing to 127.0.0.1 fixed it.

Other problems forced us to switch back to the old box which prior to switching out had been working just fine. It started failing in the same way - only thing that had happened in between was an IPL. No PHP upgrade, no code changes, nothing. Again switching to 127... fixed it.

Opened PMR and IBM requested a trace. No problem - change the script back. Now the original scripts work again with localhost - yet other scripts that use it still fail! Arrrgh - this is beginning to feel like Windows !!

Has anyone experienced anything similar?


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.