Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

How to Install Symfony 3 on Cloud Server

January 26, 2016

4 Min Read
Reading Time: 4 minutes

Symfony is the leading, modern PHP framework that is used to create secure websites and web applications with the help of its different components. It’s a popular MVC framework which saves time with handling typical development tasks such as content rendering, directing traffic, creating persistent models, etc.

To install and run Symfony 3, your system needs to fulfill a list of following requirements:

  • PHP with a minimum version of 5.5.9
  • Composer
  • JSON enabled
  • ctype enabled
  • date.timezone should be set (default timezone will not work)

Note: If you want to use any optional component, see these Requirements for Running Symfony.

How to Install Symfony

If you are wondering how to install Symfony on Cloudways web hosting for PHP, you can simply follow this easy step-by-step guide. Ready? Lets begin!

Step 1: Prepare your server and application

Signup or Login to your Cloudways account and create a new server by selecting PHP Stack from the “Select your Application” drop-down. Also, Name your App, Server & Project accordingly.

Step 2: Select Cloud Provider

Now select your favorite Cloud provider.

Step 3: Server Size and Location

In “Server Size” field, scale up to 1GB.

Server Size

Keeping the latency difference in mind, now select your server location in “Location” field.

Server Location

To launch your server, click “Launch” button at the bottom right side of the page and wait for a while. A working example:

php server stack

Step 4: Server Timezone

Once launched, change your server timezone as it’s the requirement to install Symfony (default value for timezone is not supported by Symfony). Under “Server Management”, go to “Settings & Packages.

Server Management

In “Basic” tab you can see “PHP Timezone.” Change server timezone to your respective location.

Server Timezone

Step 5: SSH Terminal

After changing server timezone, in “Server Management” click on “Launch SSH Terminal” under “Master Credentials” where you can find your login credentials for SSH Terminal.

Master Credentials

Login to SSH with your Master Credentials.

Step 6: Emptying public_html directory

Now delete all files from your public_html directory. Navigate to your public_html folder and remove all files using rm -Rf * command.


Step 7: Symfony 3 Installation

Now in your “public_html” directory, run the following command to install Symfony 3 on your server:

composer create-project symfony/framework-standard-edition your_project_name "3.0.*"

for 3.1:

composer create-project symfony/framework-standard-edition your_project_name "3.1"

Related: How To Upgrade From Symfony 2.X To 3.X

Step 8: DB Information and Finishing Project Installation

Now Symfony will start downloading to your server. During downloading, it will ask for your database information.

You can find out your DB information under “Application Management” go to “Access detail” and see MySQL Access.

MySQL Access

After providing database information, in very few seconds you will see the following screen which means that Symfony has been installed successfully.

Step 9: Composer Repositories

Now we will check if there is any need to install or update composer dependencies required for the application by using composer install command. Navigate to your project directory and run the command.

Symfony 3 on Cloud

Step 10: Installation Completed

After a successful installation, in “Application Management” go to “Access detail” and copy your Application URL.

Application URL

Open your favorite web browser and access to Welcome page to Symfony by the following URL:

You might also like: How to Install Symfony 4 on Cloud

This is how the Symfony Welcome page should look like:

Symfony 3.0.1

There you have it! Your Symfony Project is ready for development. If you have any issues in installing Symfony 3, feel free to comment below. And if you are still not a part of the Cloudways family, then you can start your FREE TRIAL here and experience ease at its best.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Launch PHP websites without the worry of Server Management.

Pre-Installed Optimized Stack with Git, Composer & SSH

Fayyaz Khattak

Fayyaz, a passionate Motorbike tourist, works as a Team Lead — Magento Community at Cloudways - A Managed Magento Hosting Platform. His objective is to learn & share about PHP & Magento Development in Community. You can contact him at

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

BFCM 2019