To determine the versions of Apache and PHP installed: -

>From the command line run: -

apachectl -v
php -v


IM



On Sun, 6 Sep 2020 at 07:07, steeple ian <[email protected]> wrote:

> Hi,
> I assume you are running a Debian based OS, Raspberry Pi OS or Ubuntu
> perhaps?
> IM
>
> On Sun, 6 Sep 2020 at 05:14, ExprmntAl <[email protected]> wrote:
>
>> In the installation instructions for weewx-Weather34 it says:
>>
>> *"This installation guide assumes that you are already reasonably
>> familiar with WeeWX and that it is already installed on your computer along
>> with a webserver, php and curl."*
>>
>> The Apache2 webserver is installed as part of the weewx installation, but
>> how do I know if php and curl are installed?  Is there an easy way to check
>> this?  If I don't have these what is the best way to install them?
>>
>> Also, later in the instation instructions it says:
>>
>> *"IMPORTANT. After installing PHP please make sure you install all the
>> PHP modules appropriate for your version of PHP. Failure to due so may mean
>> that forecasts and current conditions fail to update. This is an example
>> for PHP7.3 modules on a Debian based distribution: -*
>> *sudo apt-get install php-cli php-fpm php-json php-sqlite3 php-zip php-gd
>> php-mbstring php-curl php-xml php-pear php-bcmath sudo apt-get install
>> libapache2-mod-php sudo a2enmod php7.3 sudo systemctl restart apache2"*
>>
>> How do I determine what version of PHP I have and once I know that, how
>> do I ensure that I have installed the right modules for that version?  I
>> did the "Debian based distribution" when I installed weewx.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/45e32d75-b870-4ab3-9c2c-4bec28a611b7n%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/45e32d75-b870-4ab3-9c2c-4bec28a611b7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaRxuDPgZzjdPGAU%2B8p%2BGebJNwPuu3pOAASgy4QXTe6S8w%40mail.gmail.com.

Reply via email to