Package Details: php-pam 2.2-2

Git Clone URL: (read-only, click to copy)
Package Base: php-pam
Description: This extension provides PAM (Pluggable Authentication Modules) integration in PHP.
Upstream URL:
Licenses: PHP
Submitter: matteomattei
Maintainer: matteomattei (amish)
Last Packager: amish
Votes: 8
Popularity: 0.000000
First Submitted: 2007-10-12 13:36
Last Updated: 2021-03-20 04:20

Required by (0)

Sources (1)

Latest Comments

matteomattei commented on 2018-10-12 17:14

It seems ok to me

matteomattei commented on 2018-10-11 18:20

@amish no problem go ahead and update it ;-)

matteomattei commented on 2018-10-11 16:13

@amish I added you as maintainer

matteomattei commented on 2017-04-12 14:57

@amish ok updated, thanks! ;-)

mrechte commented on 2016-04-27 12:25


Code does not compile:

/home/mrechte/build/php-pam/src/pam-1.0.3/pam.c: Dans la fonction ‘zif_pam_auth’:
/home/mrechte/build/php-pam/src/pam-1.0.3/pam.c:251:36: erreur : la macro « ZVAL_STRING » a reçu 3 arguments, mais elle n’en prend que 2
ZVAL_STRING(status, error_msg, 0);
/home/mrechte/build/php-pam/src/pam-1.0.3/pam.c:251:4: erreur : ‘ZVAL_STRING’ undeclared (first use in this function)
ZVAL_STRING(status, error_msg, 0);

$ pacman -Q php
php 7.0.5-2


Costinio commented on 2013-11-03 01:13

"make INSTALL_ROOT=${startdir}/pkg install || return 1"
should be changed to
"make INSTALL_ROOT=${startdir}/pkg/$pkgname install || return 1"
or else the library (/usr/lib/php/modules/ does not install into the package.

matteomattei commented on 2011-08-29 15:50

Add revision 2, thanks evaryont.

nogweii commented on 2011-08-29 06:03

Please remove apache from the makedepends array. It compiles fine without apache installed.

Also, you could include /etc/php/conf.d/pam.ini:;

And include /etc/pam.d/php:

auth required
auth requisite
auth required nullok
auth required onerr=succeed file=/var/log/faillog
# use this to lockout accounts for 10 minutes after 3 failed attempts
#auth required deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
account required
account required
account required
session required
session required
session required
session required
session optional
session optional

Making it a little easier. I'm sure the PAM file can be reduced a lot.