Revert "Critical: PHP build is broken with MariaDB 5.5.40 or newer - fixes #452 in head"

This reverts commit b062dbac1bc47684f79f664444650d0a420cf2f4.