How do I use symfony PHP web framework? Print

  • 0

Symfony is an open-source PHP web framework available from http://www.symfony-project.com

Here is a quick install guide. You need SSH (secure shell) access (which is most probably enabled for your account or can be enabled by support). To learn how to use SSH, please check the SSH section in the KB/FAQ: http://www.jaguarpc.com/support/kbase/8/


1. Login to your account via SSH

2. Download the sf_sandbox.tgz in your web folder e.g.

cd ~/public_html
wget http://www.symfony-project.com/get/sf_sandbox.tgz
tar zxf sf_sandbox.tgz
rm sf_sandbox.tgz

3. Go to this page to learn how to try your first project:

http://www.symfony-project.com/tutorial/my_first_project.html

IMPORTANT NOTES:

a) In the above tutorial on the symfony-project website, all shell command executions that say:

php symfony ..something.. e.g.

php symfony propel-build-model

Please replace php with php5, so it becomes

php5 symfony propel-build-model

b) Configure your account to use PHP 5 by default because symfony requires PHP 5. Here is a how-to on our shared/SDX/reseller servers: http://www.jaguarpc.com/support/kbase/710.html


c) You do not need to chmod 777 folders, so please ignore those steps in the tutorial.

Ha estat útil la resposta?

« Enrere