作者:从从幸福 | 来源:互联网 | 2023-08-01 14:20
棣栧厛澹版槑,鍐欐鏂囨椂,鎴戝杩欎釜涔熶笉鎳?鍙槸鑷繁浠巔hp.net涓婁笅浜嗕緥瀛?璇曠潃鍋氫簡涓€涓?鑰屼笖鏄湪win2000apachephp4p12閰嶇疆
棣栧厛澹版槑,鍐欐鏂囨椂,鎴戝杩欎釜涔熶笉鎳?鍙槸鑷繁浠巔hp.net涓婁笅浜嗕緥瀛?璇曠潃鍋氫簡涓€涓?鑰屼笖鏄湪 win2000 apache php4p12閰嶇疆涓? 鍏蜂綋姝ラ濡備笅锛 涓€銆佸畨瑁呭ソJVM(java virtual machine)(鎴戠敤鐨勬槸jdk122)
褰撶劧锛屾偍涓嶄竴瀹氳鐢╦dk122,鐢氳嚦涓嶇敤jdk,鐢ㄥ叾瀹冪殑,姣斿:
JVM=Kaffe 1.0.4 (as delivered with OS), OS=Redhat Linux 6.1
JVM=Kaffe 1.0.5 (built from source), OS=Redhat Linux 6.1
JVM=IBM 1.1.8, OS=Redhat Linux 6.1
JVM=Blackdown 1.2.2 RC4, OS=Redhat Linux 6.1
JVM=Sun JDK 1.1.8, OS=Windows NT 4/win2000
浣嗘槸,鍦ㄨ繖閲屾垜鍙鎴戠殑鍋氭硶,鍏跺畠鐨勬垜娌℃湁璇曡繃,涓嶈闂垜,杩欓噷瑕佺壒鍒敞鎰忕殑鏄? 鏍规嵁php瀹樻柟绔欑偣鐨勮鏄?绔熺劧涓嶆敮鎸乯dk122 linux
浜屻€佽缃幆澧冨彉閲
鍦╳in2000涓?鎴戠殑鐢佃剳->灞炴€?->楂樼骇->鐜鍙橀噺
璁剧疆JAVA_HOME
涓国jdk璺緞,姣斿鎴戠殑jdk122瑁呭湪e:jspjdk122涓?閭d箞灏辫缃负e:jspjdk122
涓夈€佷笅杞界浉鍏虫枃浠?濡傛灉鎮ㄦ病鏈夌殑璇?
涓嬭浇鍦板潃:http://www.php.net/downloads.php
鎴戜笅杞戒簡:php-4.0.1-Win32-java-jdk122.zip鏂囦欢,瑙e帇鍚庢湁鍑犱釜渚嬪瓙,骞朵笖鏈堹php_java.dll鍜宲hp_java.jar鏂囦欢.
鍥涖€侀厤缃畃hp.ini鏂囦欢
[java]
java.class.path=E:PHP4php_java.jar
java.home=E:jspjdk122in
extension=php_java.dll
java.library.path=E:PHP4ext
java.library=E:Program FilesJavaSoftJRE1.2inclassicjvm.dll
浠ヤ笂鏄垜鐨勯厤缃?璇存槑涓€涓?鎴戠殑php4鍦╡:php4鐩綍涓?鎴戠殑鎵€鏈夋墿鍏呯殑dll鏂囦欢 鏀惧湪e:php4ext鐩綍涓?褰撶劧php_java.dll涔熷氨搴旇copy鍒拌繖涓洰褰曚簡.鏈€鍚庣‘璁や綘鐨 win2000涓嬫湁jvm.dll鏂囦欢,濡傛灉娌℃湁,瀹夎涓€涓媣isual studio灏卞彲浠ヤ簡(鎴戠敤瑁呬簡涓猇C 6,鎵€浠ヤ笉鐢ㄨ€冭檻浜?
浜斻€佹祴璇
杩愯phpinfo()灏卞彲浠ョ湅鍒版湁java浜?濡傛灉娌℃湁锛岃鏄庝綘娌℃湁鎴愬姛.瀹冪殑鏄剧ず濡備笅:
java
Directive Local Value Master Value
java.class.path
E:PHP4php_java.jar E:PHP4php_java.jar
java.home
E:jspjdk122in E:jspjdk122in
java.library
E:Program FilesJavaSoftJRE1.2inclassicjvm.dll jvm.dll
java.library.path
E:PHP4ext no value
鍏€佹祴璇曚緥瀛
鎴戠敤鐨勬槸涓嬭浇鐨勬枃浠朵腑鍖呭惈鐨勪緥瀛忷jver.php,濡傛灉鎴愬姛,灏嗘湁濡備笅缁撴灉:
Java version=1.2.2
Java vendor=Sun Microsystems Inc.
OS=Windows NT 5.0 on x86
鏄熸湡涓? 涓冩湀 19, 2000 at 10:32:53 涓嬪崍 GMT 08:00