Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745750 - PhpLDAPAdmin doesn't work after emerge.
Summary: PhpLDAPAdmin doesn't work after emerge.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-30 14:58 UTC by acidtonic
Modified: 2020-09-30 15:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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