utopiArte on Nostr: apparently changes in alternatives do not change the php version to php8.3 ls -l ...
apparently changes in alternatives do not change the php version to php8.3
ls -l /etc/apache2/sites/avilable displayes:
php7.2.conf
php7.2.load
php8.1.conf
php8.1.load
php8.3.conf
php8.3.loada2enmod to enable an Apache module a2dismod to disable a module.
root@VPShosting:~# a2enmod php7.2.conf php7.2.load php8.1.conf php8.1.load php8.3.conf php8.3.load
didn't work
print results
ERROR: Module php7.2.conf does not exist!
Considering dependency mpm_prefork for php7.2:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.2:
Enabling module php7.2.
ERROR: Module php8.1.conf does not exist!
Considering dependency mpm_prefork for php8.1:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.1:
Module php8.1 already enabled
ERROR: Module php8.3.conf does not exist!
Considering dependency mpm_prefork for php8.3:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.3:
Enabling module php8.3.
To activate the new configuration, you need to run:
systemctl restart apache2
root@VPShosting:/etc/apache2/mods-enabled# ls -l
php7.2.conf -> ../mods-available/php7.2.conf
php7.2.load -> ../mods-available/php7.2.load
php8.1.conf -> ../mods-available/php8.1.conf
php8.1.load -> ../mods-available/php8.1.load
php8.3.conf -> ../mods-available/php8.3.conf
php8.3.load -> ../mods-available/php8.3.load
root@VPShosting:~# systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
root@tupambae:/etc/apache2/mods-enabled# a2dismod php7.2.conf php7.2.load php8.3.conf php8.3.loadprintERROR: Module php7.2.conf does not exist!
Module php7.2 disabled.
ERROR: Module php8.3.conf does not exist!
Module php8.3 disabled.
To activate the new configuration, you need to run:
systemctl restart apache2
root@tupambae:/etc/apache2/mods-enabled# systemctl restart apache2
Published at
2025-03-11 15:14:06Event JSON
{
"id": "73b5b80e04ef8c672830fcff3e091e684d69a764831592a112500281380e179f",
"pubkey": "516b6be088d88c33a78d5d5bd991e734c5e747890013549e341e518705ae0776",
"created_at": 1741706046,
"kind": 1,
"tags": [
[
"e",
"84826f75e11a32c4844c26fdb26ff942fb3f3f719b18c9d7130e4f218ad7f2d6",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://tupambae.org/objects/0ac89072-1667-d053-3e4a-b2b439715177",
"activitypub"
]
],
"content": "apparently changes in alternatives do not change the php version to php8.3\nls -l /etc/apache2/sites/avilable displayes:\nphp7.2.conf\nphp7.2.load\nphp8.1.conf\nphp8.1.load\nphp8.3.conf\nphp8.3.loada2enmod to enable an Apache module a2dismod to disable a module.\n\nroot@VPShosting:~# a2enmod php7.2.conf php7.2.load php8.1.conf php8.1.load php8.3.conf php8.3.load\n\ndidn't work\n\nprint results\nERROR: Module php7.2.conf does not exist!\nConsidering dependency mpm_prefork for php7.2:\nConsidering conflict mpm_event for mpm_prefork:\nConsidering conflict mpm_worker for mpm_prefork:\nModule mpm_prefork already enabled\nConsidering conflict php5 for php7.2:\nEnabling module php7.2.\nERROR: Module php8.1.conf does not exist!\nConsidering dependency mpm_prefork for php8.1:\nConsidering conflict mpm_event for mpm_prefork:\nConsidering conflict mpm_worker for mpm_prefork:\nModule mpm_prefork already enabled\nConsidering conflict php5 for php8.1:\nModule php8.1 already enabled\nERROR: Module php8.3.conf does not exist!\nConsidering dependency mpm_prefork for php8.3:\nConsidering conflict mpm_event for mpm_prefork:\nConsidering conflict mpm_worker for mpm_prefork:\nModule mpm_prefork already enabled\nConsidering conflict php5 for php8.3:\nEnabling module php8.3.\nTo activate the new configuration, you need to run:\nsystemctl restart apache2\nroot@VPShosting:/etc/apache2/mods-enabled# ls -l\nphp7.2.conf -\u003e ../mods-available/php7.2.conf\nphp7.2.load -\u003e ../mods-available/php7.2.load\nphp8.1.conf -\u003e ../mods-available/php8.1.conf\nphp8.1.load -\u003e ../mods-available/php8.1.load\nphp8.3.conf -\u003e ../mods-available/php8.3.conf\nphp8.3.load -\u003e ../mods-available/php8.3.load\n\n\nroot@VPShosting:~# systemctl restart apache2\nJob for apache2.service failed because the control process exited with error code.\nSee \"systemctl status apache2.service\" and \"journalctl -xeu apache2.service\" for details.\n\n\n\n\nroot@tupambae:/etc/apache2/mods-enabled# a2dismod php7.2.conf php7.2.load php8.3.conf php8.3.loadprintERROR: Module php7.2.conf does not exist!\nModule php7.2 disabled.\nERROR: Module php8.3.conf does not exist!\nModule php8.3 disabled.\nTo activate the new configuration, you need to run:\n systemctl restart apache2\n\nroot@tupambae:/etc/apache2/mods-enabled# systemctl restart apache2",
"sig": "fe9654af02c6dff633a2cb4b98e2420d05b5f2e530cf5976a161f36cb13c902f6c2de202465d63c4b705a4528c099879378fad9e2f7dab556f377dbfd8107ff0"
}