Mon, 21 Nov 2016 14:56:05 +0100
Raphael Hertzog <[email protected]> écrivait :

hi Raphael,

> 
> Run "a2enmod php7.0"

Running this command enabled the PHP7.0 module.
$ sudo a2enmod php7.0 
[sudo] Mot de passe de jim : 
Considering dependency mpm_prefork for php7.0:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.0:
Enabling module php7.0.
To activate the new configuration, you need to run:
  systemctl restart apache2

$ ls -l /etc/apache2/mods-enabled/
total 0
[...]
lrwxrwxrwx 1 root root 29 nov 21 15:15 php7.0.conf -> 
../mods-available/php7.0.conf
lrwxrwxrwx 1 root root 29 nov 21 15:15 php7.0.load -> 
../mods-available/php7.0.load


I restarted apache:
$ sudo systemctl restart apache2

and it solved the issue !

> 
> But this should be done automatically by the installation of
> libapache2-mod-php7.0.

Maybe it is missing.

> 
> I guess that it was not done because php5 was still enabled and the two
> are conflicting. But when php5 got removed, nothing enabled php7.0...
> [...]

Thank you so much for your quick reaction and help.

> Cheers,
> -- 
> Raphaël Hertzog ◈ Debian Developer


Jean-Marc <[email protected]>

Attachment: pgpE1A2LflaSI.pgp
Description: PGP signature

Reply via email to