I have recently installed wordpress on my host server. But apart from that I also want to learn and practice php/ruby on the same server. So is it possible that I ca have both for the same domain. I mean if i go to www.mywebsite.com/blog then thats a wordpress and if i go to www.mywebsite.com/tryruby then thats the page created out of ruby. if it is possible, then how ??
It certainly is possible, yes. While WordPress runs via PHP, you are free to build your own PHP scripts – or even a full section of your site – using your own PHP code as well.
Ruby may require a little more work, due to the requirements it has for the site document root, but it should work fine. I would recommend using a subdomain for any Ruby work you’re testing, however, just to be safe.
Checking, it looks like we don’t have any tutorial for this, no – I am making a note of this, though, to see what we can do. In the meantime, a quick Google search for “ruby pages with wordpress” brings up a few tutorials.
I can’t really recommend one over any other, though, so I would recommend reading everything thoroughly.
Answer #1
It certainly is possible, yes. While WordPress runs via PHP, you are free to build your own PHP scripts – or even a full section of your site – using your own PHP code as well.
Ruby may require a little more work, due to the requirements it has for the site document root, but it should work fine. I would recommend using a subdomain for any Ruby work you’re testing, however, just to be safe.