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

    PHP Errors

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 791 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

      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 Reply Quote 0
      • G
        g.shaffer @g.shaffer
        last edited by

        @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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.