Upgrade PHP 5.5.x to 5.6.11 on Windows 7

I am trying to upgrade my existing PHP 5.5.x

to 5.6.11

Windows 7 manually. I am not interested in XAMPP at the moment. PHP 5.5.x

is currently installed and working fine on my computer i.e.http://localhost

I grabbed a copy php-5.6.11-Win32-VC11-x86

from http://windows.php.net/download/ , did not pack the windows binaries and put them where my current ones are, eg.C:\php

I am using the current current file .ini

for all intents and purposes and copy it over as well. Now it will be a simple case of restarting the server with my update successful - only the server won't start with "The requested operation failed!" and there were no errors in my Apache logs?

Nothing has changed in my httpd.conf

LoadModule php5_module "c:/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"

      

Which is strange when I go to the terminal

$ php -v
PHP 5.6.11 (cli) (built: Jul  9 2015 20:55:40)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

      

So it looks like 5.6.11

IS is installed, indeed $ php -h

revealing a lot of information, but Apache won't start without any prompts?

How do I complete the update?

+3


source to share


1 answer


It turns out I need the 64-bit version - now it works!



+1


source







All Articles