question

stager avatar image
stager asked

Normal PHP environment?

Is it possible to add to Venus OS normal PHP environment? With php-cli at least?

Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
jeroen avatar image
jeroen answered ·

yes, opkg install php-cli.

8 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

stager avatar image stager commented ·
# opkg list | grep php
php-fpm - 7.4.9-r0

But it is in Venus OS Large.
Is it different in Venus OS?

0 Likes 0 ·
jeroen avatar image jeroen ♦ stager commented ·

you need to update first to install it, see https://github.com/victronenergy/venus/wiki/commandline-introduction#opkg.

The feeds are (roughly) the same. If you have a large image of v2.80~ you need to use candidate btw. For v2.70~ you need release.

0 Likes 0 ·
stager avatar image stager jeroen ♦ commented ·
If you have a large image of v2.80~ you need to use candidate btw.

O! Thanks.

0 Likes 0 ·
stager avatar image stager commented ·

Heh. No 'https' wrapper present. What should I do?

0 Likes 0 ·
jeroen avatar image jeroen ♦ stager commented ·
What should I do? -> Explain better what your problem is. And perhaps even start a new question if you did manage to install php-cli.
0 Likes 0 ·
stager avatar image stager jeroen ♦ commented ·

It's the same question: normal PHP environment.

The PHP on Venus OS compiled with "--without-openssl" option. So the https wrapper is disabled.

I can file_get_contents('http://....'), but not file_get_contents("https://....")

I try to run GaladrielMap on Venus OS, but most maps are available via https.


0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ stager commented ·

Hi, could be that https is fixed now: https://github.com/victronenergy/meta-victronenergy/commit/f7969ecb941405ab75fb8d327fd5aa1a37d10f3c

That patch is in v2.80~32, announced a few hrs ago

0 Likes 0 ·
stager avatar image stager mvader (Victron Energy) ♦♦ commented ·

Good news. Thanks.

But is it interesting to run chartplotter on Victron devices to someone? I think that Victron device users usually prefer branded hardware chartplotters.


0 Likes 0 ·

Related Resources