Quick Start
This guide will walk you through the steps to get started with RoadRunner. You'll learn how to install RoadRunner and configure it for your project.
Step 1: Download RR for your platform
To begin, you need to download RR for your platform. Visit the RR installation guide and download the appropriate version for your operating system.
Step 2: Install PHP
RR requires PHP to run. If you don't have PHP installed, you can download it from the official PHP website and follow the installation instructions for your operating system.
Step 3: Create a simple configuration
Next, you need to create a simple configuration file for RR. Open a text editor and create a new file called .rr.yaml
. Add the following content to the file:
RoadRunner is not only HTTP plugin. There are a lot of other plugins. You can find more information about plugins in the Plugins section.
Step 4: Create a simple worker
Now you need to create a simple worker. Create a new file called psr-worker.php
and add the following content to the file:
Step 5: Start the server
Now you can start the server. You should have the following files in the current folder:
.rr.yaml
psr-worker.php
rr
binary
Then, open a terminal window in the current folder and run the following command:
Since you have the logs in the development mode, you should see the following output:
Last updated