Re: Microsoft IIS - Fatal error: Call to undefined function db2_connect()
| From: | Lester Caine | Date: | Thu, 03 Jan 2008 20:46:21 +0000 |
| Subject: | Re: Microsoft IIS - Fatal error: Call to undefined function db2_connect() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28678@lists.php.net to get a copy of this message | ||
McCallister, Jason wrote:
*** I think PHP may be using the wrong PHP.INI file. phpinfo() says this: Configuration File (php.ini) Path C:\WINNT Loaded Configuration File (none) *** However, when I run php -i, it says this: Configuration File (php.ini) Path => C:\WINNT Loaded Configuration File => F:\PHP\php.ini *** How do I change the pointer to use the correct PHP.INI file? It must be something in IIS, since the command line can see it?phpinfo is your friend - at least when trying to sort things out. I just drop my php.ini into the C:\WINNT directory - just never got round to looking for any other way of doing it :) -- Lester Caine - G8HFL ----------------------------- Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://home.lsces.co.uk MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Firebird - http://www.firebirdsql.org/index.php