Reconfigure apache2 to use newly installed php

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I want to switch to laravel 5.6, which requires PHP version 7.1. I was using the v7.0, so i installed the latest php v7.2. But now, apache will not load the new version i installed but the old displaying the old one. How can reconfigure apache2 to use the new php version? Thanks
server apache2 laravel
add a comment |Â
up vote
0
down vote
favorite
I want to switch to laravel 5.6, which requires PHP version 7.1. I was using the v7.0, so i installed the latest php v7.2. But now, apache will not load the new version i installed but the old displaying the old one. How can reconfigure apache2 to use the new php version? Thanks
server apache2 laravel
Maybe, you should try to install and activate Apache's module for php7.2:sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.
â pa4080
Apr 3 at 15:19
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to switch to laravel 5.6, which requires PHP version 7.1. I was using the v7.0, so i installed the latest php v7.2. But now, apache will not load the new version i installed but the old displaying the old one. How can reconfigure apache2 to use the new php version? Thanks
server apache2 laravel
I want to switch to laravel 5.6, which requires PHP version 7.1. I was using the v7.0, so i installed the latest php v7.2. But now, apache will not load the new version i installed but the old displaying the old one. How can reconfigure apache2 to use the new php version? Thanks
server apache2 laravel
server apache2 laravel
asked Apr 3 at 11:59
Intellect
115
115
Maybe, you should try to install and activate Apache's module for php7.2:sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.
â pa4080
Apr 3 at 15:19
add a comment |Â
Maybe, you should try to install and activate Apache's module for php7.2:sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.
â pa4080
Apr 3 at 15:19
Maybe, you should try to install and activate Apache's module for php7.2:
sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.â pa4080
Apr 3 at 15:19
Maybe, you should try to install and activate Apache's module for php7.2:
sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.â pa4080
Apr 3 at 15:19
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021587%2freconfigure-apache2-to-use-newly-installed-php%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Maybe, you should try to install and activate Apache's module for php7.2:
sudo apt install libapache2-mod-php7.2 && sudo a2enmod php7.2.â pa4080
Apr 3 at 15:19