Skip to content

Instantly share code, notes, and snippets.

@bill-barron
Created June 13, 2014 22:00
Show Gist options
  • Save bill-barron/84416871a6e2a99f13e1 to your computer and use it in GitHub Desktop.
Save bill-barron/84416871a6e2a99f13e1 to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
; Based on instructions from http://www.php.net//manual/en/configuration.file.php
; This registry entry tells php where to find the php.ini file.
; The default location is c:\\Windows
; You can specify a different ini location for each version of PHP
[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]
; You store they key in this folder [HKEY_LOCAL_MACHINE\SOFTWARE\PHP\{version}] where {version} = 5.5.12 in this case
; The Key is "IniFilePath"
; The Value is the path to the folder containing the ini file for the given php version
; No trailing \\ is necessary
[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.5.12]
"IniFilePath"="f:\\wamp\\bin\\php\\php-5.5.12"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment