note 62747 added to ref.java

From: Date: Wed, 08 Mar 2006 19:46:51 +0000
Subject: note 62747 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-105062@lists.php.net to get a copy of this message
I just wanted to post this for people that were having the same troubles that I was having. I am running OES SuSe Linux 9-1. I started this adventure because I needed to connect to a progress database via PHP. And I couldn't use ODBC drivers because the progress ODBC drivers were simply to old for unixODBC and iODBC (progress 9.1c). So I had to use JDBC with this wonderful PHP extension along with the PHP-Java Bridge found at: http://sourceforge.net/projects/php-java-bridge So Just for some notes, in the PHP.INI file I had to have: extension=java.so [java] java.java_home=/usr/local/java java.classpath=.:/usr/progress/dlc91c/java/progress.jar :/usr/progress/dlc91c/java/jdbc.jar java.libpath=.:/usr/progress/dlc91c/lib :/usr/local/lib/php/extensions And be careful because lots of sites tell you that the two varibles above are java.class.path, and java.library.path. And also to be able to connect to a progress database from java in Linux you have to set your LD_ASSUME_KERNEL varible to 2.4.0 to do this simply add to you profile.local file: export LD_ASSUME_KERNEL=2.4.0. If you want to know why please email me and I will tell you. ---- Server IP: 216.194.113.175 Probable Submitter: 12.44.211.139 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit -- http://master.php.net/note/edit/62747 Del: integrated -- http://master.php.net/note/delete/62747/integrated Del: useless -- http://master.php.net/note/delete/62747/useless Del: bad code -- http://master.php.net/note/delete/62747/bad+code Del: spam -- http://master.php.net/note/delete/62747/spam Del: non-english -- http://master.php.net/note/delete/62747/non-english Del: in docs -- http://master.php.net/note/delete/62747/in+docs Del: other reasons-- http://master.php.net/note/delete/62747 Reject -- http://master.php.net/note/reject/62747 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105062) next »