问题描述
我是cPanel的新手,我想在其上部署我的Symfony2应用。
我需要一些操作指导,
我使用Softaculous Apps Installer下载了Symfony2框架。
I'm new to cPanel and I want to deploy my Symfony2 app on it.I need some guidance on how to do it,I downloaded the Symfony2 framework with the Softaculous Apps Installer.
PS:我的应用程序也在BitBucket上。
PS : My app is also on BitBucket.
推荐答案
首先,CPanel只是围绕Linux操作系统的Web外壳,可轻松维护远程服务器通过Web界面。
First off all: CPanel is just a web-shell arround your linux os that makes it easy to maintain your server from distance through a web interface.
实际上,您不需要软启动,因为它只是安装了一个空的新symfony项目。
Actualy you do not need softaculous because it just installs an empty new symfony project.
在全球范围内有两种安装symfony项目的方法。
There are globally two ways to install your symfony project.
-
在服务器上安装git和Composer,使用git拉动
Install git and Composer on your server, use git to pull the project from bitbucket and install the the vendors with 'composer install' or 'composer update'.
将您的完整项目从本地计算机上载到具有FTP的服务器上,并使用'composer install'或'composer update'安装供应商。
Upload your complete project from your local computer to the server with FTP.
通过两种方式,您仍然必须安装数据库并设置配置。
In both ways you still have to install your database and set your configuration.
这篇关于在cPanel上部署Symfony2应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!