I was under the impression that Apache2 was installed as part of the weewx 
installation already.  I am concerned that I will break something if I just 
start installing things without understanding them fully if they are 
already installed.  So if I  install Apache2, PHP7.x and the PHP 
libraries as you suggest, is there a chance I will break what is already 
working (in the case of Apache2 if it is already installed)?  

Is there a good tutorial somewhere for these installations?  There seem to 
be a number of versions of PHP which is also confusing.

On Sunday, September 6, 2020 at 9:03:54 AM UTC-5 [email protected] wrote:

> OK,
>
> I also have the Seasons and Belchertown skin installed as well as my own 
> Weather34.
>
> I would go ahead and install Apache2, PHP7.x and the PHP libraries. When 
> you install the libraries you should pick up things like curl along the way.
>
> Then install Weather34 following the instructions carefully.
>
> Belchertown is also very well documented and is straightforward to 
> install. Some people have a problem setting up MQTT but again I found it 
> straight forward to setup my own server on my own Pi. There is excellent 
> support from Pat and Belchertown users if you get into trouble.
>
> IM
>
> On Sun, 6 Sep 2020 at 14:44, ExprmntAl <[email protected]> wrote:
>
>> 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-bcmathsudo apt-get 
>>>>> install libapache2-mod-phpsudo a2enmod php7.3sudo 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
>>  
>> <https://groups.google.com/d/msgid/weewx-user/ba11cac0-a789-41ac-b017-c56065b03986n%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/41e0ad23-6eef-4505-a48e-ac7aa8efd7c3n%40googlegroups.com.

Reply via email to