English Forums > Development and Code Review

PHP errors [solved]

(1/1)

cake:
Was getting PHP errors.
Solved it, It was two extensions of the same. openssl and lpad in /usr/local/etc/php/

Had the new separate extension files (ext-20-ldap.ini    & ext-20-openssl.ini) plus the same in the listed in the file extensions.ini

Solved it by removing ext-20-ldap.ini    & ext-20-openssl.ini
No more errors in /tmp/PHP_errors.log

ref. https://forums.freebsd.org/threads/54980/

If anyone else has the same

franco:
Hi Cake,

Something is off with your setup. extensions.ini was deprecated by FreeBSD almost 6 months ago and ext-20-ldap.ini et al are the correct files now.

If you are running an unmodified latest version of 16.7.x you need to remove extensions.ini and re-add the packages:

# pkg install -f php56-ldap php56-openssl


Cheers,
Franco

cake:
Franco Thanks

I was a version behind on everything. I feel like a dummy.
Updated-- all better!


Cheers!

Navigation

[0] Message Index

Go to full version