After installing phpldapadmin I am not left with a valid or working php installation. Starting the apache2 server after configuring phpldapadmin's config.php just results in apache2 serving the php file plain text. I also toyed with adding -D PHP7 to apache modules and no luck. eselect php list apache2 (none found) which php /usr/bin/php php -v PHP 7.4.8 (cli) (built: Sep 30 2020 14:46:58) ( ZTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
(In reply to acidtonic from comment #0) > eselect php list apache2 > (none found) This shows your real issue is that PHP is not configured to work as an apache2 module. (And that you intend to use it as such and not fpm). Please reconfigure things following https://wiki.gentoo.org/wiki/PHP before trying again. If you need help doing so, the forums or IRC in #gentoo or #gentoo-php can assist. Thanks