[symfony-users] Re: Installation on shared hosting
This article will help you: http://www.bernawebdesign.ch/byteblog/2009/07/10/symfony-project-on-bluehost-shared-hosting/comment-page-1/ On Jan 13, 11:30 am, Ali aalish...@gmail.com wrote: Hi , thanks alot for your help , this time i m not getting any 500 error but , it show me a blank screen :( On Jan 13, 12:29 am, Frank He hexuf...@gmail.com wrote: You can add multiple symfony projects in just one account, like what I did with hostmonster structure can be like this: public_html --web(all your web assets including index.php) --symfony-clb(all symfony files, apps, configue...) And then in your webroot, modify your controller like this: require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'symfony-clb'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'ProjectConfiguration.class.php'); for symfony-clb/config/projectconfiguration.class.php, update like this: require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'lib'. DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'symfony'. DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'autoload'. DIRECTORY_SEPARATOR.'sfCoreAutoload.class.php'; sfCoreAutoload::register(); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { // for compatibility / remove and enable only the plugins you want $this-enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin')); $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } public function configure() { $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } } This is what I did, hope it is helpful On Tue, Jan 12, 2010 at 2:16 PM, Darren884 darren...@gmail.com wrote: You should have at least one directory above the public_html. What you will have to do is install it there and then set the web directory to the public_html. You might come into some problems with opeb_base_dir. If that is the case you will need to modify your PHP security settings. On Jan 12, 10:59 am, Ali aalish...@gmail.com wrote: Hi Symfony users and Developers, i am new in php and symfony development so far symfony has done wel for me , but its really hard for me to get the thing done right on deployment side , its my 10th hour and i am unable to deploy the project on shared hosting. here are some of the facts about my problem 1 : i am using blue host shared hosting 2 : i want to deploy the project in sub directory the root is public_html , but i want my project to be deployed in public_html/ myproject 3 : i have done most of the development on my ubuntu machine and want this project to be deployed if any one can share how to get the things done Best Regards -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Installation on shared hosting
There is an easier way which works when you have ssh access. Remove public_html directory and create symbolic link to project/web ln -s where/your/project/is/web public_html This method allows to place files wherever you want. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Re: Installation on shared hosting
using frontend_dev.php to see the errors. At least, you have already installed your project to blue host On Wed, Jan 13, 2010 at 3:30 AM, Ali aalish...@gmail.com wrote: Hi , thanks alot for your help , this time i m not getting any 500 error but , it show me a blank screen :( On Jan 13, 12:29 am, Frank He hexuf...@gmail.com wrote: You can add multiple symfony projects in just one account, like what I did with hostmonster structure can be like this: public_html --web(all your web assets including index.php) --symfony-clb(all symfony files, apps, configue...) And then in your webroot, modify your controller like this: require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'symfony-clb'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'ProjectConfiguration.class.php'); for symfony-clb/config/projectconfiguration.class.php, update like this: require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'lib'. DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'symfony'. DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'autoload'. DIRECTORY_SEPARATOR.'sfCoreAutoload.class.php'; sfCoreAutoload::register(); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { // for compatibility / remove and enable only the plugins you want $this-enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin')); $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } public function configure() { $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } } This is what I did, hope it is helpful On Tue, Jan 12, 2010 at 2:16 PM, Darren884 darren...@gmail.com wrote: You should have at least one directory above the public_html. What you will have to do is install it there and then set the web directory to the public_html. You might come into some problems with opeb_base_dir. If that is the case you will need to modify your PHP security settings. On Jan 12, 10:59 am, Ali aalish...@gmail.com wrote: Hi Symfony users and Developers, i am new in php and symfony development so far symfony has done wel for me , but its really hard for me to get the thing done right on deployment side , its my 10th hour and i am unable to deploy the project on shared hosting. here are some of the facts about my problem 1 : i am using blue host shared hosting 2 : i want to deploy the project in sub directory the root is public_html , but i want my project to be deployed in public_html/ myproject 3 : i have done most of the development on my ubuntu machine and want this project to be deployed if any one can share how to get the things done Best Regards -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Installation on shared hosting
You should have at least one directory above the public_html. What you will have to do is install it there and then set the web directory to the public_html. You might come into some problems with opeb_base_dir. If that is the case you will need to modify your PHP security settings. On Jan 12, 10:59 am, Ali aalish...@gmail.com wrote: Hi Symfony users and Developers, i am new in php and symfony development so far symfony has done wel for me , but its really hard for me to get the thing done right on deployment side , its my 10th hour and i am unable to deploy the project on shared hosting. here are some of the facts about my problem 1 : i am using blue host shared hosting 2 : i want to deploy the project in sub directory the root is public_html , but i want my project to be deployed in public_html/ myproject 3 : i have done most of the development on my ubuntu machine and want this project to be deployed if any one can share how to get the things done Best Regards -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Re: Installation on shared hosting
You can add multiple symfony projects in just one account, like what I did with hostmonster structure can be like this: public_html --web(all your web assets including index.php) --symfony-clb(all symfony files, apps, configue...) And then in your webroot, modify your controller like this: require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'symfony-clb'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'ProjectConfiguration.class.php'); for symfony-clb/config/projectconfiguration.class.php, update like this: require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'lib'. DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'symfony'. DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'autoload'. DIRECTORY_SEPARATOR.'sfCoreAutoload.class.php'; sfCoreAutoload::register(); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { // for compatibility / remove and enable only the plugins you want $this-enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin')); $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } public function configure() { $this-setWebDir($this-getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); } } This is what I did, hope it is helpful On Tue, Jan 12, 2010 at 2:16 PM, Darren884 darren...@gmail.com wrote: You should have at least one directory above the public_html. What you will have to do is install it there and then set the web directory to the public_html. You might come into some problems with opeb_base_dir. If that is the case you will need to modify your PHP security settings. On Jan 12, 10:59 am, Ali aalish...@gmail.com wrote: Hi Symfony users and Developers, i am new in php and symfony development so far symfony has done wel for me , but its really hard for me to get the thing done right on deployment side , its my 10th hour and i am unable to deploy the project on shared hosting. here are some of the facts about my problem 1 : i am using blue host shared hosting 2 : i want to deploy the project in sub directory the root is public_html , but i want my project to be deployed in public_html/ myproject 3 : i have done most of the development on my ubuntu machine and want this project to be deployed if any one can share how to get the things done Best Regards -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.