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.
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.