(Embedded?) Ruby/Python, existing XAMPP stack

为君一笑 提交于 2020-01-06 08:49:35

问题


I've been plugging away for about a year and a bit now with PHP on my local XAMPP install. I've learned very much, but am now needing to expand my knowledge base with concern to other languages.

So, I figured I'd try tackling Ruby/Python.

Now, since I'm sticking to web application development, I would assume embedded Ruby/Python would be the way to go, transitionally, moving from PHP.

I have an existing XAMPP install on my Windows 7 x64 machine, which I'd like to pile Ruby and Python on top of. However, I'm a bit confused with how to do this (read, if I can do this)

I want to move to the newer XAMPP release (to 1.7.4 from... whatever I'm running) anyways, and I've downloaded the RubyInstaller 1.9.2, but I figured I'd ask for some insight before I go and break something.

So, how do I go about configuring a XAMPP install to support embedded Ruby/Python?


回答1:


Couldn't you just install ruby and python, and then use mod_rails and mod_wsgi? I do the same thing on my local machine (MacOS, though) and it works great - never tried it through XAMPP though. Some people have had luck with MAMP but it's a pain due to how they distribute it - you may have better luck with XAMPP. In this particular case, though, I wouldn't be too worried about breaking anything - at most, you'll compile a bad mod_wsgi module and throw it away.



来源:https://stackoverflow.com/questions/5278619/embedded-ruby-python-existing-xampp-stack

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!