Why Nostr? What is Njump?
2025-03-10 23:56:10
in reply to

utopiArte on Nostr: intermezzo: Summing up right now: On ubuntu in the case of friendica the php version ...

intermezzo:

Summing up right now:
On ubuntu in the case of friendica the php version the instance can or will use can be set by the conf file in:
/etc/apache2/sites-available/friendicaDomain.com.conf
or the specific friendica config file:
/var/www/friendicafolder/config/local.config.php.

In any case it's probably important to not manipulate both options but one or the other.
Could be important to have in mind what happens when the server software itself get's update or the friendica instance is updated.
In other words, one thing is if the reference goes to the general php setting of the server:
'php_path' => '/usr/bin/php'
When the server updates, the installed friendica version will have to be able to work with that newer php version.
(¿what about the recent ubuntu php update mentioned above by the ubuntu server, where exactly takes that APT check place, would an uninstall of "outdated versions" affect the general setting of different sites and php versions?)

If the friendica version get's updated but the server is stuck on an older not supported php version, there would probably occur issues too.

So one one hand there is to consider where the definition of the php path and version will be placed, on the other if the version itself should be hardcoded or left to the updates. If problems show up, in general terms the bug research does have to look the other way around, what php version is activated and where is that setting defined?
Author Public Key
npub1294khcygmzxr8fudt4dany08xnz7w3ufqqf4f835regcwpdwqamq82upjh