Effortlessly set up PHP on Linux with a simple curl command πŸš€.

Simply run the following command in your terminal to install the latest version of PHP and all its dependencies including composer.

curl -fsSL https://tryphp.dev/install.sh | bash

After running the command above, you should restart your terminal session.

What is TryPHP?

This tool simplifies the often time-consuming task of setting up a PHP environment on Linux. With just a single curl command, you can instantly install the latest PHP version, complete with all required dependencies and Composer. It's perfect for developers and system administrators seeking a fast, efficient setup.

Features

Custom PHP Versions

You can install custom PHP versions tailored to your needs. This allows flexibility for various projects and environments, ensuring you’re running the right version for your application.

curl -fsSL https://tryphp.dev/7.4/install.sh | bash

Tailored Presets

We also support tailored presets for popular frameworks and applications. For example, the Laravel preset installs PHP with all the necessary extensions to run a Laravel application smoothly.

curl -fsSL https://tryphp.dev/presets/laravel | bash

FAQ