Re: [PHP] PHP and Java (CVS version)

2001-02-14 Thread Alex Akilov
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

Re: [PHP] can i install apache php-module AND php-cgi on the same windows-apache?

2001-02-08 Thread Alex Akilov
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,

Re: [PHP] Java Servlet Support

2001-02-06 Thread Alex Akilov
"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

Re: [PHP] Is PHP integrated with LDAP?

2001-02-06 Thread Alex Akilov
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]

Re: [PHP] Java Servlet Support

2001-02-05 Thread Alex Akilov
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

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Alex Akilov
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

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Alex Akilov
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

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Alex Akilov
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

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-18 Thread Alex Akilov
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:

Re: [PHP] ext/java causes segfault in Apache

2001-01-18 Thread Alex Akilov
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

Re: [PHP] Problem with PHP using Java Classes

2001-01-18 Thread Alex Akilov
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

Re: [PHP] PHP ext/java and sapi/servlet reliability

2001-01-18 Thread Alex Akilov
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