[PHP-users 14935]Javaとの連携について

tomohiro.suzuki @ kowa-re.co.jp tomohiro.suzuki @ kowa-re.co.jp
2003年 4月 25日 (金) 17:47:18 JST


TS1974$B$H?=$7$^$9!#(B

$B<gBj$N7o$G$9$,!"<B8=$G$-$:G:$s$G$*$j$^$9!#(B
$B$*CN7C$rGR<Z$/$@$5$$!#(B

$B!&4D6-(B

RedHatLinux7.3.1
PHP4.3.0
Apache1.3.27
J2SDK1.4.1_02
PostgreSQL7.2.3
FreeTDS0.60

$B!&9T$C$?:n6H(B

$B-!(BJ2SDK1.4.1_02$B$N%$%s%9%H!<%k(B

$B!!(B/usr/local/J2SDK1.4.1_02$B$K%$%s%9%H!<%k(B

$B-"(B.bash_profile$B$K2<5-$rDI2C(B

$B!!(Bexport PATH=/usr/local/j2sdk1.4.1_02/bin:$PATH

$B!!"($3$3$^$G:n6H$r9T$$!"!I(BJava -version$B!I$G(BJava$B$, @ 5>o$K%$%s%9%H!<%k$5$l$F$$$k;v$r(B
$B!!!!3NG'!#(B

$B-#(BPHP$B$N%$%s%9%H!<%k(B

$B!!(B./configure --with-apxs=/usr/local/apache/bin/apxs
                 --with-mssql=/usr/local/freetds
                 --with-pgsql=/usr/local/pgsql
                 --enable-mbstring
                 --enable-mbregex
                 --without-mysql
                 --with-java=/usr/local/J2SDK1.4.1_02$B!!(B

$B-$(BPHP.ini$B$N(B[Java]$B%;%/%7%g%s$K0J2<$r5-=R(B

$B!!(Bjava.class.path = /usr/local/lib/php/php_java.jar
$B!!(Bjava.home = /usr/local/j2sdk1.4.1_02/jre
$B!!(Bjava.library = java.so
$B!!(Bjava.library.path = /usr/local/lib/php/extensions/no-debug-non-zts-20020429

$B>e5-!":n6H$r9T$C$?$N$G$9$,!"(Bphpinfo$B$r8+$F$_$k$H!"(BConfiguration$B$N9`$K(BJava$B$,$"$j$^$;$s!#(B
$B$3$N;~E@$G$D$^$:$$$F$$$k$h$&$J5$$,$7$^$9!#B~!"(B./configure$B;~!"%(%i!<$OH/@8$7$^$;$s$G$7$?!#(B

$B2?$+LdBjE@$O$"$k$G$7$g$&$+!#%"%I%P%$%9$r$*4j$$CW$7$^$9!#(B
$B>pJsITB-$NE@$,$4$6$$$^$7$?$i!"$4;XE&$/$@$5$$!#(B

$B0J>e(B


PHP-users メーリングリストの案内