|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-11-25 02:27 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
You're right - the installer has created the environment variable PHPRC. But it didn't reboot the computer or suggest that I do so. Would it be possible to add that step to the installation? Regards, Michael