Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 745750

Summary: PhpLDAPAdmin doesn't work after emerge.
Product: Gentoo Linux Reporter: acidtonic
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description acidtonic 2020-09-30 14:58:57 UTC
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
Comment 1 Brian Evans (RETIRED) gentoo-dev 2020-09-30 15:26:12 UTC
(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