My script installation rquires the following setup:
sudo apt update,
sudo apt install php-curl,
sudo apt install php-mbstring,
sudo apt install php-xml,
sudo service apache2 restartAfter running the setup, the site is not working. Still as asking for setup. Please how can i fixed this.
1 Answer
Try instead:
sudo apt install php8.0-curl
sudo apt install php8.0-mbstring
sudo apt install php8.0-xmlphp-curl that you installed:
This package is a dependency package, which depends on Debian's default PHP version (currently 8.1).
So php-curl usually "links" to the latest php version installed, in my case 8.1. (Meaning it only installed php8.1-curl)
If this does not enable the above modules automatically, try:
sudo phpenmod -v 8.0 curlSyntax
phpenmod -v <PHP VERSION> <MODULE NAME>Alternatively, if this does not work, you could try to look at "/etc/php/8.0/apache2/conf.d" and symlink the modules ini files there to enable them.
1