How to remove php 8.1.23

SYSTEM INFORMATION
OS type and version AlmaLinux 8.8
Webmin version 2.101
Virtualmin version 7.8.2
Related packages SUGGESTED

previously i have php 8.1.23, after the minor update last 2 week. it have a new php version 8.1.24 propose by the package update. by right it will replace 8.1.23 with 8.1.24. but it appear to have 2 php version at the server status.

once i stop one the php service it will stop on another php version.

Weird, do you see 2 on the servers Bootup and Shutdown services section?
Did php8.1 come with the OS? I does with Rocky 9.
You could try Virtualmins recheck configuration.

Whats do you see under software versions?

Hi,

the software version don have 8.1.23

PHP versions 5.6.40, 7.4.33, 8.1.24

the version 8.1 not come with OS.

after recheck the configuration issue still there.

I don’t think you have 8.1.23installed, maybe a cache issue, in theme config try clearing it.

whats version came with it, 8.0?
Ignore, 7.2

Hi,

it come with 7.2.24 originally. then i install additionally 5.6.40 and 8.1.23 from repository. only last 2 week the webmin update ask to update to 8.1.24 . by right it will just replace 8.1.23 instead of create another version. the weird thing is when i stop php either 8.1.23 and 8.1.24 the other version will just stop too. example. i stop 8.1.23, 8.1.24 will show stop. and i stop 8.1.24 , 8.1.23 will show stop. it look like they linked.

i try to refresh the module also cannot solve. how did i clear the cache? i have clear the cache of the browser still no luck

here, not sure it will do anything, but worth a try

If that fails you could just remove php8.1 and see if that removes both then install again, remove with

dnf remove php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

then install
dnf install php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

Hi,

i have follow the step. it have been remove. and when i display php- v.

but it still there.

Hi,

i think the problem accidently solve. don no what happen and what command i put

dnf module remove php:remi-8.1

try many command from google.
dnf remove php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

then install
dnf install php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

Many thank for your script.

Excellent, the command is just from Virtualmins Docs, I wouldn’t use anything from google before checking docs as virtualmin can do things different.
https://www.virtualmin.com/documentation/web/multiplephp/

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.