From: michael dot k dot henry at gmail dot com Operating system: Windows XP Pro SP2 PHP version: 5.2.0 PHP Bug Type: *Configuration Issues Bug description: php.ini not installed in C:\Windows
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 bug report at http://bugs.php.net/?id=39626&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39626&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39626&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39626&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39626&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39626&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39626&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39626&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39626&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39626&r=support Expected behavior: http://bugs.php.net/fix.php?id=39626&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39626&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39626&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39626&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39626&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39626&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39626&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39626&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39626&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39626&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39626&r=mysqlcfg