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 li

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, e-mail:

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-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 Mai

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 m

Re: [PHP] zend ide & debugger

2001-01-23 Thread Alex Akilov
Alex, I saw a demo of it about 3 months ago while they were working on it and it looked pretty impressive and contained all the necessary debug features I asked about. As far as sending info to the browser, you might be surprised as I think it might do some of that but I don't recall exactly wha

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

2001-01-19 Thread Alex Akilov
Fraser, Yes, you must set your LD_LIBRARY_PATH prior to running ldd. In a terminal, export LD_LIBRARY_PATH=/home/local/java/jdk1.2.2/jre/lib/i386:/home/local/java/jdk1.2.2/jre/lib/i386/classic:/home/local/java/jdk1.2.2/jre/lib/i386/native_threads and rerun ldd libjava.so. If everything works,

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 /home/rondaks_portal/httpd/docs/k2test/inde

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 > >java.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386:/home/loc

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 > >/home/local/java/jdk1.2.2/jre/lib/i386/classi

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 i

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 ja

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 J

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:

[PHP-CVS] cvs: php4 /ext/java config.m4

2001-01-18 Thread Alex Akilov
akilov Thu Jan 18 10:36:23 2001 EDT Modified files: /php4/ext/java config.m4 Log: Support AIX/HP shared lib extensions and j2sdk1.3.0 (hotspot) Index: php4/ext/java/config.m4 diff -u php4/ext/java/config.m4:1.21 php4/ext/java/config.m4:1.22 --- php4/ex