Backport of #1854

inverted commas, typo

add bcmath to the list, in some circumstances useful for LDAP