Reputation: 97
I have recently developed a project which is written using Symfony 1.4 which I installed through PEAR. In previous Symfony versions there used to be freeze and unfreeze functions to copy all the necessary files, but in this versions these functions are missing. So my question is - what is the fastest way to deploy my project on a shared hosting?
Upvotes: 0
Views: 1211
Reputation: 2548
@kuba, your statement in config/ProjectConfiguration.class.php has one 'lib' too many. It should be:
require_once dirname(__FILE__) . '/../lib/vendor/symfony/autoload/sfCoreAutoload.class.php';
Upvotes: 0
Reputation: 36191
In your config/ProjectConfiguration.class.php change the require_once statement for sfCoreAutoload class. Make it search for symfony in lib/vendor/symfony:
require_once dirname(__FILE__) . '/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
Now you can do two things:
Upvotes: 1
Reputation: 4931
Shared hosting is always a pain with Symfony. I haven't attempted it myself. But what you can do is just copy the lib folder from your symfony installation into your project lib folder and just point your projectConfiguration.php to where you put the symfony libs in your project.
This just does the same thing as the freeze but manually.
Upvotes: 1