Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
PHP errors [solved]
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP errors [solved] (Read 4132 times)
cake
Jr. Member
Posts: 64
Karma: 13
PHP errors [solved]
«
on:
January 02, 2017, 03:48:57 am »
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
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: PHP errors [solved]
«
Reply #1 on:
January 02, 2017, 06:31:44 am »
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
Logged
cake
Jr. Member
Posts: 64
Karma: 13
Re: PHP errors [solved]
«
Reply #2 on:
January 02, 2017, 11:00:39 am »
Franco Thanks
I was a version behind on everything. I feel like a dummy.
Updated-- all better!
Cheers!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
PHP errors [solved]