Tip of the day: The blacklist { } block can be used to ban known troublemakers that are listed in blacklists like EfnetRBL and DroneBL. |
UnrealIRCd webpanel:PHP8 Installation instructions
The UnrealIRCd webpanel requires PHP 8. Installing PHP 8 may require special installation instructions:
Ubuntu[edit]
Ubuntu 22.04[edit]
Ubuntu 22.04 ships with PHP8, so simply run: apt-get install apache2 libapache2-mod-php
Sometimes it happens that multiple versions of PHP are installed. The webpanel will then give you an error page saying you are not using PHP8. This can happen that the CLI version of PHP may be on PHP8 but the Apache module uses PHP7.4. You can fix this by running a2dismod
to disable the old PHP version (eg: php7.4) and a2enmod
to enable the new PHP version. (eg: php8.2). Restart apache.
Ubuntu 20.04[edit]
Ubuntu 20.04 does not include PHP8 but you can use an external repository for installing PHP8, see: https://linuxhint.com/install-php-ubuntu/
Sometimes it happens that multiple versions of PHP are installed. The webpanel will then give you an error page saying you are not using PHP8. This can happen that the CLI version of PHP may be on PHP8 but the Apache module uses PHP7.4. You can fix this by running a2dismod
to disable the old PHP version (eg: php7.4) and a2enmod
to enable the new PHP version. (eg: php8.2). Restart apache.
Debian[edit]
Depending on your Debian version:
- Debian 12 ships with PHP8, run:
apt-get install apache2 libapache2-mod-php
- Debian 9/10/11 do not include PHP8 but you can use an external repository, follow the instructions at: https://www.vultr.com/docs/how-to-install-php-8-on-debian-11/
If you already had an older PHP on the machine, then after installing PHP8 you may now have multiple PHP versions on the machine.
You have to tell Apache to use PHP8:
- Run
a2dismod
to disable the old PHP version (eg: php7.4) - Then run
a2enmod
to enable the new PHP version. (eg: php8.2) - Restart apache.
CentOS[edit]
https://www.tecmint.com/install-php-8-on-centos/
Other[edit]
For installation methods for PHP 8 on other OS's or Linux distro's, make a websearch for how to install PHP 8 on your operating system.