Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

View Poll Results: How to Integrate php 4.4 with j2sdk1.3.1
1 0 0%
2 0 0%
Multiple Choice Poll. Voters: 0. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th May 2008, 02:20 PM
ppankaj2000 Offline
Registered User
 
Join Date: May 2008
Location: Hyderabad
Age: 41
Posts: 3
PHP 4.4 with Java 1.3.1 Integration

I want to integrate php4.4 with apache2.0, mysql 5.0, and java 1.3.1.

i compiled php4.4 with the following options,

./configure --prefix=/var/local/php4.4 --with-apxs2=/var/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-java=/var/local/j2sdk1.3.1 --enable-ftp --with-mysql-sock=/tmp/mysql.sock --enable-gd --enable-mbstring

its compiled without any errors.

after this i did all modifications in php.ini which is needed for this ie. setting java path


[Java]
java.class.path = /usr/lib/php4/php_java.jar
java.home = /var/local/j2sdk1.3.1
java.library.path = /var/local/j2sdk1.3.1/jre/lib/i386
java.library = /var/local/j2sdk1.3.1/jre/lib/i386/libjava.so
extensions_dir = /var/local/j2sdk1.3.1/jre/lib/i386
extension = libphp_java.so

but when i run the testjava.php in browser,

it is showing the following error message

"Fatal error: Cannot instantiate non-existent class: java in /var/local/apache2/htdocs/testjava.php on line 5"


can anybody please help me in this issue.

thanks in advance.

Kumar. P
Reply With Quote
  #2  
Old 28th May 2008, 02:22 PM
Wayne
Guest
 
Posts: n/a
This is not a 'Guide & How-To Article' moved to 'General support'

I also do not understand why you added a poll to this question. I've closed the poll as it's meaningless.

Wayne

Last edited by Wayne; 28th May 2008 at 02:25 PM.
Reply With Quote
Reply

Tags
integration, java, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN-Bugzilla Integration mla. Using Fedora 1 23rd September 2008 10:51 PM
Integration of KDE and GNOME matthias_k Using Fedora 2 7th July 2005 05:13 AM
Xen integration in FC4 Poophead Fedora Core 4 Test 3 3rd May 2005 01:02 PM
php/MySQL integration LBreda Using Fedora 3 1st April 2005 05:44 AM


Current GMT-time: 04:56 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Godda Travel Photos on Instagram - Scarborough Photos - Teutonia Photos