Evan,
It sounds like your PATH doesn't contain the JDK/bin directory. What happens if
you type "which jar" at a command shell?
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
Sebastian,
I see no reason why you couldn't. I believe at one time I had CGI, Apache and
Servlet all serving up PHP using different extensions in Apache on Win32.
However, it's been a while so don't hold me to it.
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
"Shawn J. Wallace" wrote:
That sounds excellent. So if I understand you correctly, I could run
Apache with JServ (or Tomcat) and build PHP into it to get a nice
solution. I could then write servlets that call PHP scripts/functions and
vice versa?
You betcha.
Alex
--
PHP General
Zhu George-CZZ010,
There is an LDAP extension in PHP. Check the manual.
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]
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
Fraser MacKenzie wrote:
Alex, Ok...so far, I have progress. I have PHP recognizing Java... or at
least, phpinfo() does.
Now, when I try to do a new Java("class");
I get the following error:
Fatal error: Unable to load Java Library
Fraser MacKenzie wrote:
Here is my configuration now:
[Java]
java.class.path=/home/local/src/php-4.0.4/ext/java/php_java.jar
java.home=/home/local/java/jdk1.2.2
Fraser MacKenzie wrote:
If I don't actually specify the entire path to libjava.so, I get the
following error:
Fatal error: Unable to load Java Library libjava.so,
error: libhpi.so: cannot open shared object file: No such file or
directory in
Eduard and Fraser,
I can try and help you if you list the java section of your php.ini
and indicate what platform you're trying to run on. Additional
information such as PATH, CLASSPATH and so on would also
help.
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Brice,
I just checked in some fixes to the ext/java/config.m4. Are your
changes similar or would you like to share if they're not?
As far as not being able to start JVMs, I suppose it could be
a memory management issue (each JVM is somewhat
resource intensive) so it's rather inefficient to do
Fraser,
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386
Change the above to only list the directory that contains the
libphp_java.so.
The jdk directories should go to java.library.path (or LD_LIBRARY_PATH
or ld.so.conf). Note that
Juan,
I'm currently looking at the Java/Servlet code and trying to get it to
be
a little more stable (Sam appointed me to this task a few months ago
and I've been slowly coming up to speed). I apologize on Sam's
behalf for not responding to you but he's moved on to other
responsibilities which
12 matches
Mail list logo