Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP :: Help Upgrading from 5.6.40 to 7.1.26 please |
|
Author |
|
harry2011
Joined: 04 Jan 2016 Posts: 5 Location: UK, Sevenoaks
|
Posted: Sat 09 Feb '19 12:17 Post subject: PHP :: Help Upgrading from 5.6.40 to 7.1.26 please |
|
|
This is on Windows Server 2012 R2. I have Apache 2.4.38 VC14 installed.
I have downloaded the x64 VC14 version of 7.1.26 to C:/PHP7 and updated the environment settings accordingly.
From a command prompt "php -v" now says 7.1.26 etc etc.
But when I update my conf file to:
LoadFile "C:/php7/php7ts.dll"
LoadModule php7_module "c:/php7/php7apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php7"
instead of:
LoadFile "C:/php/php5ts.dll"
LoadModule php5_module "c:/php/php5apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
then Apache will not start. I have tried to comment out all rows and try each one individually but Apache will not start with any of the rows.
I've also noticed that in the Apache Service Monitor whereas it used to say 'Apache/2.4.38 (win32) PHP/5.6.40' it now just says 'Apache/2.4.38 (win32)' with no reference to PHP.
Also my attempts to run php.info don't work.
I'm sure its something basic and simple but i can't see what i've missed. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|