note 62747 deleted from ref.java by sobak

From: Date: Sun, 04 Dec 2016 07:07:35 +0000
Subject: note 62747 deleted from ref.java by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207987@lists.php.net to get a copy of this message
Note Submitter: meaton53 at hotmail dot com ---- 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.

« previous php.notes (#207987) next »