Re: calling java within php setup?
| From: | Janet N | Date: | Wed, 30 Jan 2008 05:28:47 +0000 |
| Subject: | Re: calling java within php setup? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268301@lists.php.net to get a copy of this message | ||
I have root; I was able to compile php with java and working now. Thanks
all!
On Jan 16, 2008 4:06 PM, Richard Lynch <ceo@l-i-e.com> wrote:
> On Tue, January 15, 2008 5:32 pm, Jochem Maas wrote:
> > Janet N schreef:
> > with a bit of luck you'll then have a .so file that is your new
> > extension,
> > now it a matter moving the .so to a suitable place (if you have root
> > access, you
> > can run 'make install') and of editing php.ini to load the extension.
>
> If you don't have root, you probably can't move it to the suitable place.
>
> Otherwise, any bozo could install and .so file into the PHP binary,
> which could do anything at all to the PHP process, including hack all
> kinds of nasty functions to, say, dump ALL incoming GET/POST data
> whose variable name looks like "*cc*" or "*credit*" or "*card*"
> out to
> some email address...
>
> That said, if your host is a bit lax in security, you might be able to
> use DL to LOAD your .so file into your script:
> http://php.net/dl
>
> Note that 'dl' is probably going away in PHP 6, last I heard.
>
> --
> 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?
>
>