summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php/config/Make.rules.mak.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/php/config/Make.rules.mak.php b/php/config/Make.rules.mak.php
index d6fc6a3ad40..1e10068981a 100644
--- a/php/config/Make.rules.mak.php
+++ b/php/config/Make.rules.mak.php
@@ -50,7 +50,11 @@ PHP_HOME = C:\php-5.6.6
# Set PHP_BIN_HOME to your PHP binary installation directory.
#
!if "$(PHP_BIN_HOME)" == ""
-PHP_BIN_HOME = C:\Program Files\PHP
+!if "$(PROCESSOR_ARCHITECTURE)" == "AMD64"
+PHP_BIN_HOME = $(PROGRAMFILES) (x86)\PHP
+!else
+PHP_BIN_HOME = $(PROGRAMFILES)\PHP
+!endif
!endif
#