Does anyone know if PHP is interated with LDAP, or how can I integrate PHP with LDAP?
Thanks and Regards,
George
-----Original Message-----
From: Alex Akilov [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 11:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Java Servlet Support
Shawn,
The PHP distribution contains various SAPIs (server API's). Examples
are CGI, Apache, ISAPI, NSAPI and Servlet. Each of these SAPIs is
optimized to host the PHP interpreter in the respective environment.
Thus, if you want to run PHP in Apache, you can use the Apache SAPI
(also known as mod_php) instead of CGI which will give you much better
performance as well as being able to take advantage of the capabilities
of that API.
The sapi/servlet option is essentially a Java servlet that you add to
your Java webserver just like you would any other servlet and it invokes
the PHP engine through JNI and reflection (so you could reference Java
objects from within your PHP script). This option is much more
efficient then just running the ext/java extension (which allows you to
access Java objects from PHP by starting up a JVM per session) since the
JVM used is already running in the Java webserver and can be managed
much better by the latter than anything ext/java can attempt to do.
Note that using this SAPI implies that PHP will be running in your Java
Webserver instead of on your HTTP webserver (e.g. Apache) which could
have implications (hopefully for the better) unless they're both running
on the same physical machine.
Let me know if you have other questions.
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]