ID: 39626
User updated by: michael dot k dot henry at gmail dot com
Reported By: michael dot k dot henry at gmail dot com
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows XP Pro SP2
PHP Version: 5.2.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2006-11-25 10:06:57] [EMAIL PROTECTED]
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).
------------------------------------------------------------------------
[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