Re: calling java within php setup?
| From: | Janet N | Date: | Tue, 15 Jan 2008 20:24:22 +0000 |
| Subject: | Re: calling java within php setup? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267333@lists.php.net to get a copy of this message | ||
Hi Richard,
They didn't installed PECL. Is there a way to installed just PECL and not
overwrite their php configuration?
I noticed when I went to the PECL link I didn't see a PECL package download,
but I had to search for packages I wanted to install, what am I looking for?
Thanks!
On Jan 15, 2008 11:36 AM, Richard Lynch <ceo@l-i-e.com> wrote:
> On Tue, January 15, 2008 12:39 pm, Janet N wrote:
> > I'm trying to call java within php. I have JAVA JRE 1.6 installed.
> > The php
> > I'm using is distributed by our partner so I couldn't configure it to
> > use
> > JAVA.
>
> Modifying php.ini doesn't get the Java extension installed.
>
> They have to PECL install Java extension for it to work.
>
> You'll know if they have done that by checking <?php phpinfo();?>
> output. It either mentions Java, and it's installed; or it doesn't,
> and it's not.
>
> > <?php
> > // get instance of Java class java.lang.System in PHP
> > $system = new Java('java.lang.System');
>
> You don't have that class to instantiate, because you don't have the
> extension installed.
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/from/lynch
> Yeah, I get a buck. So?
>
>