go to bug id or search bugs for
support for pam in php is autodetect,
but, in some cases, I want no support
for that, but don't have a "--disable-pam"
style option in configure script. The
solution for me was patch the configure
script for don't scan for the libpam.
Add a Patch
Add a Pull Request
Well, my sugest is implement a option
to disable support to pam in configure script.
(sorry for my bad english)
Won't happen. The libpam is needed by the c-client. (to disable it, just don't include --with-imap in your configure line)
but I'm compiling imap support like external module (shared),
the -lpam need to be linked only in the imap.so php module,
not in the php apache module or the php binary, right?
Thank you for not telling that in your bug report.
I'm fixing this now..
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.