I have all the symfony 1.4.18 source file in a folder called symfony. And I have the database.
under this symfony folder it has apps, cache, config, data, lib, log, plugins, test, web, .gitignore, symfony
what all i need to do to make it work in another shared host server?
how to change the config file to make it run in localhost?
the config file is the following
Under the config folder, vhost.conf file
DocumentRoot /var/www/vhosts/example.com/httpdocs/web
<Directory /var/www/vhosts/example.com/httpdocs/web>
Options +FollowSymlinks
php_admin_value open_basedir
"/var/www/vhosts/example.com/httpdocs:/tmp:/usr/local/php:/usr/share/pear"
</Directory>
properties.ini file
[prod]
host=youripaddress
port=22
user=yourusername
dir=/var/www/vhosts/example.com/httpdocs/
type=rsync
password=yourpassword
databases.yml
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=yourdbname'
username: yourdbusername
password: yourdbpassword
attributes:
default_table_type: InnoDB
default_table_collate: utf8_unicode_ci
default_table_charset: utf8
use_dql_callbacks: true