https://blog.frankleonhardt.com/2011/pam-authentication-in-php-on-freebsd/
PAM authentication in PHP on FreeBSD