Symfony 1.x PHP Framework Installation and Setup

1. Download Symfony framework from

2. Extract the tarball to /var/www/symfony

3. Point your browser to http://localhost/symfony/web/config.php

4. Fix the directory permission
$ cd /var/www/symfony
$ sudo chown -R www-data:www-data cache logs

5. Refresh step 3. Adjust the all the outstanding issues

6. Edit /etc/php5/apache2/php.ini and set these parameters
date.timezone = Asia/Kuala_Lumpur
short_open_tag = Off

7. Install the missing php's intl module
sudo apt-get install php5-intl

8. Restart the Apache2 webserver
sudo /etc/init.d/apache2 restart

9. Refresh step 3. No warning, click Configure your Symfony Application online

10. Setup database. Fill in all your database connection details.

11. Setup global secret key. Leave it as it.

12. Copy, paste, and save the configuration detail into /var/www/symfony/app/config/parameters.ini

13. Click Go to the Welcome Page >

14. Click RUN THE DEMO and select Hello World >

15. Browse. Click. Read. Browse. Click. Read. OMFG!

No comments:

Post a Comment