note 73118 added to ref.ifx

From: Date: Fri, 09 Feb 2007 16:58:17 +0000
Subject: note 73118 added to ref.ifx
Groups: php.notes 
Request: Send a blank email to php-notes+get-123178@lists.php.net to get a copy of this message
One very frustrating experience with interfacing Informix and unixODBC (on RHEL4 - PHP 5.20) was the constant Informix error: [SQLSTATE=IX 001 SQLCODE=-1829] Unable to load locale categories & the non existant handles from unixODBC calls. This is an issue of the environment being set correctly which I thought was - phpinfo() reported that the apache environment was correct <_server=> I even went as far as to Put/Setenv in httpd.conf. The hint is in the php 'environment' block - it did not contain the env strings. The fix was to insert the environment strings in the httpd start-up script (/etc/init.d/httpd) which pushed the environment correctly when the server starts up. Hope to save someone else the hours.... ---- Server IP: 64.71.164.2 Probable Submitter: 208.27.111.125 ---- Manual Page -- http://www.php.net/manual/en/ref.ifx.php Edit -- https://master.php.net/note/edit/73118 Del: integrated -- https://master.php.net/note/delete/73118/integrated Del: useless -- https://master.php.net/note/delete/73118/useless Del: bad code -- https://master.php.net/note/delete/73118/bad+code Del: spam -- https://master.php.net/note/delete/73118/spam Del: non-english -- https://master.php.net/note/delete/73118/non-english Del: in docs -- https://master.php.net/note/delete/73118/in+docs Del: other reasons-- https://master.php.net/note/delete/73118 Reject -- https://master.php.net/note/reject/73118 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123178) next »