Skip to content

Python, Ruby and Node + PHP

Published: at 10:11 PM

The world of web development offers a diverse landscape of back-end languages, each with its own strengths and quirks. This guide tackles the installation process for four popular choices: Python, Ruby, Node.js, and PHP, empowering you to set up your Windows development environment efficiently.

Conquering the Python Jungle:

  1. Download the Installer: Head over to https://www.python.org/downloads/windows/ and grab the latest installer.
  2. Installation Prowess: During installation, crucially select all options, including adding Python to your system path. This ensures you can access Python from anywhere on your command line.

Ruby: A Gem to Behold:

  1. Download the Installer: Visit https://rubyinstaller.org/downloads/ and download the latest Ruby installer for Windows (x64).
  2. Installation: Run the downloaded installer and follow the on-screen instructions.
  3. Taming the Environment: After installation, you’ll need to edit your environment variables. Search for “environment variables” in the Windows search bar and access “Edit the system environment variables.”
    • Add Ruby to PATH: Under “System variables,” click “New” and add the path to your Ruby binaries folder (e.g., C:\Ruby23-x64\bin).
    • Extend PATHEXT: Modify the existing “PathEXT” variable by appending ”;.RB;.RBW” to its value (separated by semicolons). This allows Windows to recognize Ruby scripts.

Node.js: Streamlining JavaScript:

  1. Download the Installer: Navigate to https://nodejs.org/en/download/ and download the current Long-Term Support (LTS) version installer for Windows.
  2. Installation Simplicity: Run the downloaded installer and accept the default settings. Node.js typically handles path configuration automatically.

PHP: The Portable Powerhouse:

While the previous options require installation, PHP offers a convenient alternative: portable servers.

  1. Embrace Portability: Visit http://www.sitepoint.com/how-to-install-php-on-windows/ and download a portable PHP server package (like XAMPP).
  2. Unzip and Run: Extract the downloaded package and simply run the executable file. This launches the portable server, providing a complete development environment with PHP, MySQL, and other tools.

Choosing Your Champion:

The language you choose depends on your project requirements and preferences. Here’s a quick breakdown:

Beyond Installation:

Remember, installation is just the first step. Explore each language’s documentation and tutorials to delve deeper and unleash their full potential. Now that you’ve tamed these back-end beasts, you’re well on your way to conquering the web development realm!


Previous Post
SQL Server Loop
Next Post
Web Deploy and ACL Permissions Fix