how to run existing symfony 1.4.18 project in localhost
Posted
by
nickleefly
on Stack Overflow
See other posts from Stack Overflow
or by nickleefly
Published on 2012-07-03T03:11:19Z
Indexed on
2012/07/03
3:15 UTC
Read the original article
Hit count: 273
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 can i 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
© Stack Overflow or respective owner