Wrox Programmer Forums
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2004, 01:18 PM
Authorized User
 
Join Date: Sep 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP5 & Java

Has anyone successfully connected PHP5 and Java? We had it working with php 4.3; same setup in PHP5 gives an error at startup time saying there is a missing symbol in java.so file. I posted a question about this on the zend php5 forum, but haven't received any replies. Thanks in advance for any hints or help.
-don
 
Old February 15th, 2005, 07:52 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Galo Send a message via MSN to Galo
Default

This is beceause you dont have the proper extension file in your extension directory.

and do you have these lines in the php.ini ?

Java]
java.class.path = "/usr/local/lib/java/php_java.jar"
java.home = "/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home"
java.library.path = "/usr/local/lib/php/extensions/no-debug-non-zts-20020429"
extension=java.so

More information can be read from here : http://nl2.php.net/manual/nl/ref.java.php

cheers,
Galo







Similar Threads
Thread Thread Starter Forum Replies Last Post
Java & SMS harsh_hot Pro Java 0 January 4th, 2007 08:34 AM
Java & XPath safin XML 4 September 15th, 2005 06:04 AM
Java & XSLT safin XSLT 0 September 8th, 2005 01:11 PM
PHP4 & PHP5 sumu Beginning PHP 4 November 7th, 2004 07:30 AM
Java & Xml mehdi_979 J2EE 1 May 15th, 2004 06:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.