logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP :: Help Upgrading from 5.6.40 to 7.1.26 please
Author
harry2011



Joined: 04 Jan 2016
Posts: 5
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: 7288
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


Reply to topic   Topic: PHP :: Help Upgrading from 5.6.40 to 7.1.26 please View previous topic :: View next topic
Post new topic   Forum Index -> Other Software