#48407 [NEW]: Setting php.ini location using the WIndows registry explation unclear

From: Date: Wed, 27 May 2009 15:22:12 +0000
Subject: #48407 [NEW]: Setting php.ini location using the WIndows registry explation unclear
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2316@lists.php.net to get a copy of this message
From: xilaworp at gmail dot com Operating system: Windows PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Setting php.ini location using the WIndows registry explation unclear Description: ------------ The terminology used to describe setting the registry value for php.ini is somewhat misleading. Had some trouble figuring out how to set the php.ini file path under Windows Server 2003 / IIS6. Turns out the way it works is to create a registry KEY named HKLM/PHP/x.y.z or HKLM/PHP/x.y. or HKLM/PHP/x. Where x, y and z are versions as described and a STRING VALUE named IniFilePath Where you enter just the path to the php.ini file. using the Windows REGEDIT Tool Backslashes should be entered twice ie C:\\PHP The Windows registry consists of hierarchical keys (Think folders/directories) which can hold values one type of which is a string calue. The documentation talks about registry locations which is ambiguous (are they keys or values?) and does not conform to standard MS terminology. Reproduce code: --------------- --- From manual page: install.windows.iis --- -- Edit bug report at http://bugs.php.net/?id=48407&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48407&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48407&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48407&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48407&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48407&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48407&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48407&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48407&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48407&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48407&r=support Expected behavior: http://bugs.php.net/fix.php?id=48407&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48407&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48407&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48407&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48407&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48407&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48407&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48407&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48407&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48407&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48407&r=mysqlcfg

« previous php.doc.bugs (#2316) next »