As it states is best to use symbolic links to avoid any custom httpd config file configuration causing problems with Cpanel.
The Symfony 2 configuration is even simpler (I believe this is related to the configuration from Symfony v1 to v2) I did the following:
- Upload your symfony application.
- Extract it into a new folder -eg /home/user/symfony_site, on a standared cPanel site this will be the same level as the public_html folder.
- Remove or rename the public_html folder.
mv public_html public_html_original - Create a new symbolic link linking public_html to the symfony web folder:
ln -s symfony_site/web public_html - Check the folder permissions - apache will warn in the log file if there is group write permission:
chmod g-w symfony_site/web
chmod g-w public_html - Restart Apache (see reference at etwiki.cpanel.net):
/usr/local/cpanel/scripts/restartsrv httpd - check the permissions of app/cache and app/logs, clear the symfony cache.
find . -newer LAST_UPLOAD -type f -o -path ./app/cache -prune -type f
I am very thankful to the author to write this fruitful information.It is worth sharing for other users.Thanks once again for more knowledge- https://www.facebook.com/hiremagentodeveloper
ReplyDeleteI am very thankful to the author to write this fruitful information.It is worth sharing for other users.Thanks once again for more knowledge- web design orlando
ReplyDeleteI am very thankful to the author to write this fruitful information.It is worth sharing for other users.Thanks once again for more knowledge- website design dubai
ReplyDeleteI just like the post shared and it would be worth when we see people giving their valuable feedback which motivates the author.Thanks for sharing. for more knowledge- Jogging track
ReplyDeleteThe article is good to read and worth sharing for more knowledge- coaching classes in vadodara
ReplyDeleteI just like the post shared and it would be worth when we see people giving their valuable feedback which motivates the author.Thanks for sharing.for more knowledge
ReplyDeleteseo in philippines
I've read several just right stuff here. Definitely price bookmarking for revisiting. I wonder how much effort you put to create any such wonderful informative website.
ReplyDeletelink seo in New Zealand
My brother recommended I may like this website. He used to be entirely right. This submit truly made my day. You can not believe simply how so much time I had spent for this info! Thanks!
ReplyDeletelink seo services uk
You must look for a person that has a lot of experience in web designing. Try to make sure that they possessed the skills that you're looking for. There are many Magento Designers but there are only quite few that really has talents.
ReplyDeletelink seo in new zealand
thank you for very nice article
ReplyDeletelink seo in india
I just like the post shared and it would be worth when we see people giving their valuable feedback which motivates the author.Thanks for sharing.for more knowledge- link seo services in usa
ReplyDeleteSuch a prolong post require a good understanding and in depth study.for more knowledge- send sms from pc
ReplyDeleteThe article is well written from a qualified in the industry. It is very interesting for more knowledge- link seo services in south africa
ReplyDeleteGreat work thanks for sharing
ReplyDeleteSEO Company Bangalore
Best Affordable SEO Packages In bangalore
Online Marketing Services in bangalore