TupambAdminOrg [2024.03] on Nostr: v.01 #friendica Q&A nprofile1q…e3ljd How does the setting: 'php_path' =>, definable ...
v.01
#friendica Q&A
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq0zysgdyn6cfeuv7ewtx50nhjyxu3jd9uy0m59v54nvn75dgtxw6s3e3ljd (nprofile…3ljd)How does the setting:
'php_path' =>, definable in the /config/local.config.php or by the console via /bin/console config work exactly?
The setting 'php_path' => '/usr/bin/php', that actually also shows up in the crontab -e file doesn't exist as an existing folder structure and/or file, at least on this standard ubuntu server installation, but was the original setting of this instance when we ported it from a friendica beta hosting service over here to a single IP VPS server with a single domain. And till now with that setting this instance ran quite well.
Where does /usr/bin/php actually point to, by whom is ist accessed (www-data?) and is there a way to change the reference it points to (if it is actually a reference inside friendica)?
On this server, in the case of the installed friendica versions 2024.xx we set this to:
'php_path' => '/etc/php/8.1/fpm/' and for now the display in the admin panel looks quite right:
PHP version 8.1.31 php.ini /**/8.1/fpm/php.ini
reasons for this "help to understand" request
This server is being setup to host different sub/domains, including different and older friendica instances (3.4.3/2019.12/2021.01/2021.04). The idea is at least to be able eventually to evolve them step by step to the actual stable or old stable versions of friendica. To achieve that this tutorial was used to be able to manage different php versions on the same VPS. The references for the php versions were taken from this github page.
There for the way the php version used for the different friendica versions is crucial to make things work in the first place.
Published at
2025-03-04 01:53:49Event JSON
{
"id": "24aa98fdd0ecae27fc4693de0645ec5d9ad9eba2848dcfa672253d563b05f911",
"pubkey": "496886652542205b5644d0efa72af1a821b79107dbc39481a227388801004e6d",
"created_at": 1741053229,
"kind": 1,
"tags": [
[
"p",
"7889043493d6139e33d972cd47cef221b91934bc23f742b2959b27ea350b33b5",
"wss://relay.mostr.pub"
],
[
"p",
"15b7758904cd6ec9c4d780aed7cca01019b61be45945dea8a68e2d2322a45ecd",
"wss://relay.mostr.pub"
],
[
"p",
"08e210217b9bf22ce53ebf1e27b5ed8dc9db28dc1d82f1f4575eee7b3a76743a",
"wss://relay.mostr.pub"
],
[
"t",
"Friendica"
],
[
"proxy",
"https://tupambae.org/objects/0ac89072-1967-c65d-2da2-704981951832",
"activitypub"
]
],
"content": "v.01\n\n\n#friendica Q\u0026A nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq0zysgdyn6cfeuv7ewtx50nhjyxu3jd9uy0m59v54nvn75dgtxw6s3e3ljd\n\nHow does the setting:\n'php_path' =\u003e, definable in the /config/local.config.php or by the console via /bin/console config work exactly?\n\nThe setting 'php_path' =\u003e '/usr/bin/php', that actually also shows up in the crontab -e file doesn't exist as an existing folder structure and/or file, at least on this standard ubuntu server installation, but was the original setting of this instance when we ported it from a friendica beta hosting service over here to a single IP VPS server with a single domain. And till now with that setting this instance ran quite well.\n\nWhere does /usr/bin/php actually point to, by whom is ist accessed (www-data?) and is there a way to change the reference it points to (if it is actually a reference inside friendica)?\n\nOn this server, in the case of the installed friendica versions 2024.xx we set this to:\n'php_path' =\u003e '/etc/php/8.1/fpm/' and for now the display in the admin panel looks quite right:\nPHP version 8.1.31 php.ini /**/8.1/fpm/php.ini\n\nreasons for this \"help to understand\" request\nThis server is being setup to host different sub/domains, including different and older friendica instances (3.4.3/2019.12/2021.01/2021.04). The idea is at least to be able eventually to evolve them step by step to the actual stable or old stable versions of friendica. To achieve that this tutorial was used to be able to manage different php versions on the same VPS. The references for the php versions were taken from this github page.\nThere for the way the php version used for the different friendica versions is crucial to make things work in the first place.",
"sig": "f003c75192240ab7bd7fa0bd056da2e11dfb7c3df88fb48d2b65385fe1b424af314e24d63b31c90adbe350a43e659c1dea9916620b2c973103c6d5110b8997c2"
}