What's the different error?
Also, are you running the script from the commandline, or from within an appserver? For example, Apache can be setup to override environment settings.
Silly question, but you havene't explicitely stated you've installed the Informix sdk, just 'PHP with the informix client sdk mod', which might not do it.