• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

PHP Errors

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 1 Posters 780 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    g.shaffer
    last edited by Jun 18, 2021, 11:14 PM

    All of a sudden I started to get the following PHP Errors, any idea what would be causing it?

    Running 2.5.1-RELEASE.

    Crash report begins. Anonymous machine information:

    amd64
    12.2-STABLE
    FreeBSD 12.2-STABLE 1b709158e581(RELENG_2_5_0) pfSense

    Crash report details:

    PHP Errors:
    [18-Jun-2021 23:08:36 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0
    [18-Jun-2021 23:08:36 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0

    G 1 Reply Last reply Jun 19, 2021, 2:04 AM Reply Quote 0
    • G
      g.shaffer @g.shaffer
      last edited by Jun 19, 2021, 2:04 AM

      @g-shaffer

      Looking at /usr/local/lib/libldap* not sure how the symbolic links got changed.

      lrwxr-xr-x 1 root wheel 21 Apr 19 05:18 libldap-2.4.so.2 -> libldap-2.4.so.2.11.6
      -rwxr-xr-x 1 root wheel 306248 Feb 5 12:12 libldap-2.4.so.2.11.5
      -rw-r--r-- 1 root wheel 613160 Apr 19 05:18 libldap.a
      -rw-r--r-- 1 root wheel 816 Apr 19 05:18 libldap.la
      lrwxr-xr-x 1 root wheel 21 Apr 19 05:18 libldap.so -> libldap-2.4.so.2.11.6
      lrwxr-xr-x 1 root wheel 23 Apr 19 05:18 libldap_r-2.4.so.2 -> libldap_r-2.4.so.2.11.6
      -rwxr-xr-x 1 root wheel 332440 Feb 5 12:12 libldap_r-2.4.so.2.11.5
      -rw-r--r-- 1 root wheel 670626 Apr 19 05:18 libldap_r.a
      -rw-r--r-- 1 root wheel 830 Apr 19 05:18 libldap_r.la
      lrwxr-xr-x 1 root wheel 23 Apr 19 05:18 libldap_r.so -> libldap_r-2.4.so.2.11.6

      Basically deleted libldap and reinstalled the openldap-client-2.4.57 package.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received