Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

ldap_connect(): Could not create session handle fail in PHP 7.2 #533

@maxpower9000

Description

@maxpower9000
  • Adldap2 Version: 8.1.3
  • LDAP Type: Active Directory
  • PHP Version: 7.2 (WAMP)

Description:

From PHP 7.2.0 throught 7.2.4 I get this PHP warning:

ldap_connect(): Could not create session handle

No issues with PHP 7.1.15 or before.

php.net lists the following changes in their ChangeLog

LDAP:

  • Implemented FR #69445 (Support for LDAP EXOP operations)
  • Fixed support for LDAP_OPT_SERVER_CONTROLS and LDAP_OPT_CLIENT_CONTROLS in ldap_get_option
  • Fixed passing an empty array to ldap_set_option for client or server controls.

Session:

  • Fixed bug #73461 (Prohibit session save handler recursion).
  • PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name.
  • Improved bug #73100 fix. 'user' save handler can only be set by session_set_save_handler()
  • Fixed bug #74514 (5 session functions incorrectly warn when calling in read-only/getter mode).
  • Fixed bug #74936 (session_cache_expire/cache_limiter/save_path() trigger a warning in read mode).
  • Fixed bug #74941 (session fails to start after having headers sent).

Steps To Reproduce:

Use PHP 7.2.0 throught 7.2.4

Full setup

Win 7 Pro WAMP Server 3.1.3 32bit
Apache 2.4.33 PHP 7.2.0
nette Framework App

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions