Can we run ruby codes (Heatmap) in PHP/Apache running server

Hello ruby users,

I have a project in PHP/MySQL installed in *NIX server with Apache. Now
I have prepared the heat maps using Ruby on my local system. It is
working properly in my local system. Now i want to install this heat map
creating facility for my PHP project pages. Is it possible to install
ruby in my server so that i could upload the ruby files to create heat
map? If possible, please let me know what should i do for this.

Actually how can i manage that problem? Can i install ruby, ImageMagic
and others in my apache running server?

Please help me or suggest me how i can do this. If you are not getting
what i mean please ask me.

Thanx you all in advance.

With Regards
Raju Gautam

Raju Gautam wrote on 02.11.2006 06:43:

and others in my apache running server?
Can you execute programs on this server?
Can you run system command from php?
Can you run CGIs?
Is your webspace chrooted or jailed?

A first fast try would be to know which OS your server uses.
Then use for example an available LiveCD of the OS and compile Ruby for
it with paths set for webserver. Copy the Ruby runtime files to your
webspace.
A good choice would be to compile a static ruby runtime version, because
it is a bit tricky to setup the environment to use dynamic libraries in
your webspace.

But your webspace can also be restricted that it won’t be possible to
run any programs.

So it depends on provider.

Markus K. [email protected] wrote:

But your webspace can also be restricted that it won’t be possible to
run any programs.

Actually, it might jeopardize your account as well; installing binaries
might not be allowed. Check your TOS, not just if it’s technically
possible.

lg, Bernd

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs