logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



PHP :: Help Upgrading from 5.6.40 to 7.1.26 please

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
harry2011



Joined: 04 Jan 2016
Posts: 3
Location: UK, Sevenoaks

PostPosted: Sat 09 Feb '19 12:17    Post subject: PHP :: Help Upgrading from 5.6.40 to 7.1.26 please Reply with quote

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: 6519
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Feb '19 11:41    Post subject: Reply with quote

See https://www.apachelounge.com/viewtopic.php?t=8161
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1