PHP and PAM
| From: | Robert Marzon | Date: | Thu, 22 Feb 2001 14:15:34 +0000 |
| Subject: | PHP and PAM | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41147@lists.php.net to get a copy of this message | ||
Hello
I tried to used PHP with autentification....
I wrote script, but I had got error :
Fatal error: Call to undefined function: pam_auth() in
/usr/home/httpd/html/farm/dev/test/user.php on line 2
I read some FAQ and I found the answer:
....
For some reason, newer version of php4 do not always seem to properly update
the autoconf stuff when your run the buildconf script. If you get this
error, configure php again and then look through the autoconf output and
look for a line that says "Checking for Pam Auth support: yes". If you don't
see it, it isn't getting built in. To fix this, run the command 'autoconf'
in the top level php source directory, this should update the configure
script to recognize the pam auth stuff.
....
I was trying to configure PHP with "Pam Auth support", but I can't find this
opitions.
I looked all option from ./configure and there is nothing...
Server use FreeBSD 4.1.1
--
R.