Ian, I should have noted that I'm running on a Raspberry Pi 4 with the full 
version of the Raspberry Pi OS.  Weewx has been running fine for over a 
month using the weatherflow extension (Tempest).  At this point I haven't 
installed anything else and have been using the seasons skin.  I wanted to 
start playing around with Belchertown and Weather34 now that I have gotten 
my feet wet.

I had tried the "php -v" command already but it did not work and returned 
"command not found".  Here is what I get when I run the two commands:

*pi@raspberrypi:~ $ apachectl -v*
*bash: apachectl: command not found*
*pi@raspberrypi:~ $ sudo apachectl -v*
*sudo: apachectl: command not found*
*pi@raspberrypi:~ $ php -v*
*bash: php: command not found*
*pi@raspberrypi:~ $ sudo php -v*
*sudo: php: command not found*
*pi@raspberrypi:~ $ *

Also, what about curl?  


On Sunday, September 6, 2020 at 1:26:30 AM UTC-5 [email protected] wrote:

> 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/ba11cac0-a789-41ac-b017-c56065b03986n%40googlegroups.com.

Reply via email to