ID:               39626
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michael dot k dot henry at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Configuration Issues
 Operating System: Windows XP Pro SP2
 PHP Version:      5.2.0
 New Comment:

this is not a bug. We do not recommend you to put the php.ini file in
the windows dir, but left it in the instalation dir.
If the env var PHPRC is set, PHP will be able to pick your php.ini (and
I think the instaler does that - but you need to restart the pc).


Previous Comments:
------------------------------------------------------------------------

[2006-11-25 02:27:46] michael dot k dot henry at gmail dot com

Description:
------------
Hi,

I have just installed PostgreSQL 8.1, Apache 2.2, and PHP 5.2 on my
computer. When loading a page that called pg_connect() I got an error
that pg_connect() could not be found.

phpinfo() showed that "Configuration File (php.ini) Path" was
"C:\WINDOWS".

The PHP installer did not put a php.ini file in C:\WINDOWS. Instead it
left php.ini in my installation folder "C:\Program Files\PHP". Copying
php.ini to C:\WINDOWS resolved the problem.

Regards,

    Michael





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39626&edit=1

Reply via email to