TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: STEFFEN BENDIX
from: A. DUMAS
date: 2018-02-22 12:07:00
subject: Re: How to activate php7.

On 22/02/2018 09:46, Steffen Bendix wrote:
> Lew Pitcher  wrote:
>> what version is your apache mod_php?
>> Look through your http config files for a LoadModule line naming a php
>> module. Make sure that it names the php 7 library and not the php 5 library
>
> I am not that skilled to find that file. Where do I have to look for it?

Configuration files are always in /etc. Do "ls /etc" and see that
apache2 is the folder you want. Do "ls /etc/apache2" and see nothing
immediately helpful ... so try "grep -lr php /etc/apache2" to print the
filenames (-l option) of all configuration files in that dir or subdirs
(-r option) containing the string php. (Although I don't know why it
didn't list "/etc/apache2/conf-available/phpmyadmin.conf" for me.) Then
inspect them one-by-one to see if they need editing, e.g. "grep php
/etc/apache2/mods-available/php5.load", while confirming that the
configuration is enabled by checking the appropriate "enabled" dir for
links, e.g. "ls -al /etc/apache2/mods-enabled"

I don't think this will end well. My advice is to start with a
completely fresh Raspbian image. The latest one based on Debian Stretch
has php7 in the standard repo, so simply install it together with
apache, using apt-get.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.