forked from fabriceb/symfttpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
symfttpd.conf.php
125 lines (105 loc) · 3 KB
/
symfttpd.conf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
/**
* Default configuration options
*
* Do not edit this file!
* Use the user-level config $HOME/.symfttpd.conf.php
* and the project-level one at $PROJECT/config/symfttpd.conf.php
*
* @author Laurent Bachelier <[email protected]>
*/
// {{{ mksymlinks configuration
/**
* Path to symfttpd files
* Useful for creating the link to genconf.
* Do not change/copy it unless you know what you are doing.
* @var string symfttpd path
*/
$options['path'] = dirname(__FILE__);
/**
* Create the symlink to genconf
* @var string|boolean false or path relative to the project root
*/
$options['genconf'] = 'config/lighttpd.php';
/**
* Create the symlink to the symfony data directory
* (not recommended unless using symfony 1.0)
* @var string|boolean false or path relative to the project root
*/
$options['data_symlink'] = false;
/**
* Create the symlink to the symfony lib directory
* (lib/vendor/symfony is the recommended path for 1.1+)
* @var string|boolean false or path relative to the project root
*/
$options['lib_symlink'] = 'lib/vendor/symfony';
/**
* Create the symlink to the symfony directory
* (not recommended)
* @var string|boolean false or path relative to the project root
*/
$options['symfony_symlink'] = false;
/**
* Create the symlink for "/sf"
* (recommended)
* @var string|boolean false or "web/sf"
*/
$options['web_symlink'] = 'web/sf';
/**
* Try to run symfony:publish-assets
* @var boolean
*/
$options['do_plugins'] = true;
/**
* Create relative symlinks
* (recommended)
* @var boolean
*/
$options['relative'] = true;
/**
* Wanted symfony version
* You should override this in the project-level config
* @var string
*/
$options['want'] = '1.4';
/**
* symfony paths
* You should override this in the user-level config
* @var array version=>path
*/
$options['sf_path'] = array(
'1.0'=>getenv('HOME').'/Dev/symfony/1.0',
'1.1'=>getenv('HOME').'/Dev/symfony/1.1',
'1.2'=>getenv('HOME').'/Dev/symfony/1.2',
'1.3'=>getenv('HOME').'/Dev/symfony/1.3',
'1.4'=>getenv('HOME').'/Dev/symfony/1.4',
);
// }}}
// {{{ spawn configuration
/**
* symfttpd will try to find the executables by using the PATH environment
* variable, then by using this variable.
* @var array List of directories
*/
$options['custom_path'] = array('/usr/sbin');
/**
* Absolute path to the lighttpd server executable
* @var string|boolean false to autodetect (try to find "lighttpd" in the path)
*/
$options['lighttpd_cmd'] = false;
/**
* Absolute path to the CLI PHP executable
* @var string|boolean false to autodetect (try to find "php" in the path)
*/
$options['php_cmd'] = realpath(PHP_BINDIR.'/php');
/**
* Absolute path to the CGI PHP executable
* @var string|boolean false to autodetect (try to find "php-cgi" in the path)
*/
$options['php_cgi_cmd'] = realpath(PHP_BINDIR.'/php-cgi');
/**
* Default server template path
* @var string|null null to autodetect (try to find "php-cgi" in the path)
*/
$options['config_template'] = dirname(__FILE__).'/data/lighttpd.conf.php';
// }}}