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

R

Raju Gautam

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
 
M

Markus Kolb

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?

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

Bernd Haug

Markus Kolb said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,192
Latest member
KalaReid2

Latest Threads

Top