RE: [PHP] PHP and PAM <CVS PAY ATTENTION>
| From: | Krznaric Michael | Date: | Fri, 23 Feb 2001 15:07:04 +0000 |
| Subject: | RE: [PHP] PHP and PAM <CVS PAY ATTENTION> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41318@lists.php.net to get a copy of this message | ||
Hi,
I had the same problem. It appears that the new version of PHP
4.0.4+ does not compile this module properly. However if you go down to PHP
4.0.3 or less everything works great. So something changed in the build
process and I have no idea what. Maybe if we're lucky we'll get someone
from the CVS reading this.
Does anyone know why this doesn't work? If anyone is interested I
have make output to show what goes wrong.
Mike
-----Original Message-----
From: Robert Marzon [mailto:zabytek@ahoj.pl]
Sent: Thursday, February 22, 2001 9:16 AM
To: php-general@lists.php.net
Subject: [PHP] PHP and PAM
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net