Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77237 - [phpldapamdmin] wrong dependency php (Version 8.x - latest) - should be php74 or not given.
Attached to Project:
Community Packages
Opened by Klaus Tachtler (tachtler) - Monday, 23 January 2023, 06:24 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 06 February 2023, 18:26 GMT
Opened by Klaus Tachtler (tachtler) - Monday, 23 January 2023, 06:24 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 06 February 2023, 18:26 GMT
|
DetailsDescription:
When installing phpLDAPadmin, the current php version (latest => 8.x) is installed as a dependency. However, phpLDAPadmin only works with php version 7.2 and above and not with a version => 8.x. A possible solution would be to generally no longer have the dependency on php, or to use the latest php version 7.4, which however is currently only available as an AUR package = php74? Additional info: * package version(s) -> phpldapadmin 1.2.6.4-5 * config and/or log files etc. -/- * link to upstream bug report, if any -/- Steps to reproduce: 1. Install phpldapadmin 2. Configure a webserver with your needs 3. Open the phpLDAPadmin for example with a browser and an error occured |
This task depends upon
[1] https://archlinux.org/news/php-82-update-and-introduction-of-legacy-branch/
the package php (Version 8.x) is not really a problem, BUT it will be never used, because phpLDAPadmin will NOT run with it.
So you have to always install php74 packages from AUR repo. (php74, php74-cli, php74-gettext, php74-ldap, php74-xml and php74.fpm (optional) to get it to work).
And yes, your're right, PHP-7 is EOL, but not all project are migrated to PHP-8 - which is the problem here.
Thank you!
Klaus.
thank you for your answer. I will try that again and will report, if an error occurs.
Thank you!
Klaus.
When I try to use phpLDAPadmin with PHP 8.2.1 following error occurs on the website:
- Unbekannte Fehlernummer: 8192: Creation of dynamic property page::$index is deprecated
Part from the Web server log is:
Wed Jan 25 12:44:42.528311 2023] [proxy_fcgi:error] [pid 2453:tid 140552008787648] [client 192.168.0.50:58488] AH01071: Got error 'PHP message: PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/webapps/phpldapadmin/lib/xmlTemplates.php on line 82PHP message: PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/webapps/phpldapadmin/lib/xmlTemplates.php on line 125PHP message: PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/webapps/phpldapadmin/lib/ds_ldap.php on line 994PHP message: PHP Deprecated: Creation of dynamic property page::$index is deprecated in /usr/share/webapps/phpldapadmin/lib/page.php on line 38PHP message: PHP Deprecated: Creation of dynamic property page::$sysmsg is deprecated in /usr/share/webapps/phpldapadmin/lib/page.php on line 468PHP message: PHP Deprecated: Creation of dynamic property page::$_block is deprecated in /usr/share/webapps/phpldapadmin/lib/page.php on line 241'
Thank you in advance!
Klaus.
>>> PHP 8.1.14 <<<
When I try to use phpLDAPadmin with PHP PHP Version 8.1.14 following error occurs on the website:
- Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF_NEVER" in /usr/share/webapps/phpldapadmin/lib/config_default.php:387 Stack trace: #0 /usr/share/webapps/phpldapadmin/lib/functions.php(266): Config->__construct() #1 /usr/share/webapps/phpldapadmin/htdocs/index.php(116): check_config() #2 {main} thrown in /usr/share/webapps/phpldapadmin/lib/config_default.php on line 387
Part from the Web server log is:
[Wed Jan 25 17:09:50.618428 2023] [proxy_fcgi:error] [pid 1057:tid 140370197067456] [client 192.168.0.50:34624] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF_NEVER" in /usr/share/webapps/phpldapadmin/lib/config_default.php:387\nStack trace:\n#0 /usr/share/webapps/phpldapadmin/lib/functions.php(266): Config->__construct()\n#1 /usr/share/webapps/phpldapadmin/htdocs/index.php(116): check_config()\n#2 {main}\n thrown in /usr/share/webapps/phpldapadmin/lib/config_default.php on line 387'
Thank you in advance!
Klaus.
With PHP Version 8.1.14 from php-legacy package - it works!
Maybe, this could be the right dependency too?
Thank you!
Klaus.
please, have you seen my comments?
Thank you in advance.
Klaus.
thank you, please do not rush, but thank you in advance.
Klaus.
great work, thank you so much!
# pacman -Q php
php 8.2.2-1
# pacman -Q phpldapadmin
phpldapadmin 1.2.6.4-6
and it work WITHOUT any errors!
Thank you!
Klaus.