Drupal website specialists.

Symfony platform specific config.php (windows and linux)

Posted 19/July/2008 by neubreed

Unix:

<?php
 
// symfony directories
$sf_symfony_lib_dir  = '/usr/share/pear/symfony';
$sf_symfony_data_dir = '/usr/share/pear/data/symfony';

Windows:

<?php
 
// symfony directories
$sf_symfony_lib_dir  = 'C:\\\\wamp\\\\php\\\\pear\\\\symfony';
$sf_symfony_data_dir = 'C:\\\\wamp\\\\php\\\\pear\\\\data\\\\symfony';
 
// WAMP 2+
// symfony directories
$sf_symfony_lib_dir  = 'C:\\\\wamp\\\\bin\\\\php\\\\php5.2.5\\\\PEAR\\\\symfony';
$sf_symfony_data_dir = 'C:\\\\wamp\\\\bin\\\\php\\\\php5.2.5\\\\PEAR\\\\data\\\\symfony';

Don't forget to:

symfony cc