note 94653 added to ifx.installation

From: Date: Tue, 17 Nov 2009 05:57:25 +0000
Subject: note 94653 added to ifx.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-162967@lists.php.net to get a copy of this message
For windows , apache server, php connect informix. I have try 4 days and finally success with it. My php env is apache 2.0, php 5.2, informix 09.40 1) download php_ifx.dll from php home page (search with pecl-5.2 Win32), put php_ifx.dll in your php extension dir , in my case c:\php\ext . 2) in php.ini add follows : extension=php_ifx.dll 3) download informix cdsk 3.0TC for windows from ibm, install it and then run your php app which has informix connect operation, if apache server has a error dialog, then restart computer(because installation add a system variable path : C:\Program Files\IBM\Informix\Client-SDK\bin), after restart confirm this error not occure again. (in this step php page finally error with "sqlstate = IX 000 sqlcode= -25560" because of informix server not set, we will solute it in next step) 4) run C:\Program Files\IBM\Informix\Client-SDK\bin\setnet32.exe change the values by following 4)-1 Tab Server Information IBM Informix Server : informix server name HostName : informix server ip address Protocolname : onsoctcp ServiceName : informix server port 4)-2 Host Information Current Host : informix server ip address then click OK 5) run your php app, then you can do any ifx_xxxxx informix db operation. (in windows apache env don't mind INFORMIXDIR var ect...) ---- Server IP: 61.195.146.164 Probable Submitter: 210.239.61.131 ---- Manual Page -- http://www.php.net/manual/en/ifx.installation.php Edit -- https://master.php.net/note/edit/94653 Del: integrated -- https://master.php.net/note/delete/94653/integrated Del: useless -- https://master.php.net/note/delete/94653/useless Del: bad code -- https://master.php.net/note/delete/94653/bad+code Del: spam -- https://master.php.net/note/delete/94653/spam Del: non-english -- https://master.php.net/note/delete/94653/non-english Del: in docs -- https://master.php.net/note/delete/94653/in+docs Del: other reasons-- https://master.php.net/note/delete/94653 Reject -- https://master.php.net/note/reject/94653 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162967) next »