Introduction
PHP is a popular server-side scripting language that makes it easy to create dynamic web pages. This guide will help you deploy a simple PHP application.Prerequisites
- a UNIX-like system (see WSL if you are using Windows), in order to use the Valyent CLI
- a Valyent account, with a registered payment method (you can sign up here)
- PHP installed on your machine
Installing the CLI
Authenticating
Initializing the project
First, let’s create a new directory and add our PHP file:index.php
file, add this simple code:
valyent.toml
configuration file: