Package Details: php-pam 2.2.5-3

Git Clone URL: https://aur.archlinux.org/php-pam.git (read-only, click to copy)
Package Base: php-pam
Description: This extension provides PAM (Pluggable Authentication Modules) integration in PHP.
Upstream URL: https://github.com/amishmm/php-pam
Licenses: PHP
Submitter: matteomattei
Maintainer: matteomattei (amish)
Last Packager: amish
Votes: 9
Popularity: 0.016056
First Submitted: 2007-10-12 13:36 (UTC)
Last Updated: 2024-02-04 06:06 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

mrechte commented on 2016-04-27 12:25 (UTC)

Hello. 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 Thanks

Costinio commented on 2013-11-03 01:13 (UTC)

"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/pam.so) does not install into the package.

matteomattei commented on 2011-08-29 15:50 (UTC)

Add revision 2, thanks evaryont.

nogweii commented on 2011-08-29 06:03 (UTC)

Please remove apache from the makedepends array. It compiles fine without apache installed. Also, you could include /etc/php/conf.d/pam.ini: extension=pam.so; pam.servicename="php"; And include /etc/pam.d/php: #%PAM-1.0 auth required pam_securetty.so auth requisite pam_nologin.so auth required pam_unix.so nullok auth required pam_tally.so onerr=succeed file=/var/log/faillog # use this to lockout accounts for 10 minutes after 3 failed attempts #auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog account required pam_access.so account required pam_time.so account required pam_unix.so session required pam_unix.so session required pam_env.so session required pam_motd.so session required pam_limits.so session optional pam_lastlog.so session optional pam_loginuid.so Making it a little easier. I'm sure the PAM file can be reduced a lot.