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

···

--
Posted via http://www.ruby-forum.com/.

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.

···

Raju Gautam wrote on 02.11.2006 06:43:

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?

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

···

Markus Kolb <usenet-092006@tower-net.de> wrote:

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