#46091 [NEW]: php.ini not found in C:\windows
| From: | linda_petty at shelter dot org dot uk | Date: | Tue, 16 Sep 2008 09:07:34 +0000 |
| Subject: | #46091 [NEW]: php.ini not found in C:\windows | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-129015@lists.php.net to get a copy of this message | ||
From: linda_petty at shelter dot org dot uk
Operating system: windows 2003 SP2
PHP version: 5.2.6
PHP Bug Type: Windows Installer
Bug description: php.ini not found in C:\windows
Description:
------------
Installing AMP on windows 2003 (SP4).
I found a BUG in this version of the windows PHP,
apparently in the installer:
PHP Version 5.2.6 (5.2 build 3790).
We found the installation went fine on XP with this installer.
BUT on windows 2003 (SP2)I found these values on the PHPINFO page
after install:
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: (none)
PHP had IGNORED my PHP.ini file which, as instructed by the install
documentation, I had carefully placed in C:\WINDOWS
I found it would only load my php.ini file if I placed it in
C:\PHP5 (which is the default install directory).
Once the php.ini file was in C:\PHP5, after restarting Apache,
at last I see:-
Loaded Configuration File C:\PHP5\php.ini
quite a timewaster! :0)
Reproduce code:
---------------
install with Zip installer on windows 2003 (SP2)
using install directory C:\PHP
to reproduce the problem
Expected result:
----------------
I would have expected
Loaded Configuration File C:\WINDOWS\php.ini
Actual result:
--------------
Loaded Configuration File: (none)
--
Edit bug report at http://bugs.php.net/?id=46091&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46091&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46091&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46091&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46091&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46091&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46091&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46091&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46091&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46091&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46091&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46091&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46091&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46091&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46091&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46091&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46091&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46091&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46091&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46091&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46091&r=mysqlcfg