note 103199 deleted from function.ifx-connect by cmb
| From: | cmb@php.net | Date: | Wed, 04 Nov 2020 21:21:54 +0000 |
| Subject: | note 103199 deleted from function.ifx-connect by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215801@lists.php.net to get a copy of this message | ||
Note Submitter: mohd dot chehab at e-medlinks dot com
----
Here's a tip :
When i first installed the informix through the removing the ; at php_ifx.dll and then restarted
apache
then checking the phpinfo(); the connection wasn't established and i had this error that i have
to set the INFORMIXSERVER.
Work Frame : Windows XP,Apache 2.2.1 php 5.3 The ODBC was working fine and i could connect to the
informix server using the odbc connection
The problem is that the sql engine was on another machine with different platform.
[SOLUTION]
add an environmental variable called INFORMIXSERVER with the value of the server e.g
myInformixServer which itself has an ip 192.x.x.x
You can do that on windows by right click on my computer advanced >> environmental variables
>> add new System variable >> variable name = INFORMIXSERVER
variable value = myInformixServer
it worked like a charm