├── conf_files
├── httpd-extra-config.conf
├── httpd-vhosts.conf
├── my.cnf
├── httpd.conf
└── php.ini
├── README.md
└── mac
/conf_files/httpd-extra-config.conf:
--------------------------------------------------------------------------------
1 | # Server-pool management (MPM prefork specific)
2 | StartServers 6
3 | MinSpareServers 6
4 | MaxSpareServers 6
5 | ServerLimit 100
6 | MaxClients 100
7 |
8 | # ServerLimit and MaxClients support n% syntax which sets them to a
9 | # fraction of the current RLIMIT_NPROC limit.
10 | #ServerLimit 50%
11 | #MaxClients 50%
12 | ListenBackLog 512
13 | MaxRequestsPerChild 1000
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Laptop
2 | ======
3 |
4 | Laptop is a set of scripts to get your laptop set up as a development machine.
5 |
6 | Mac OS X
7 | --------
8 |
9 | First, enable FileVault in the Security preference pane.
10 | Keep the key someplace safe.
11 | Reboot.
12 |
13 | Grab XCode from the App Store and install it.
14 |
15 | Then, open Terminal and run this one-liner:
16 |
17 | bash < <(curl -s https://raw.github.com/phase2/laptop/master/mac)
18 |
19 | What it sets up
20 | ---------------
21 |
22 | * Homebrew
23 | * git, gist and hub for working with Git/GitHub
24 | * MySQL 5.5.20 (with some good performance configuration for a dev machine)
25 | * coreutils and findutils with the 'g' prefix (so we don't miss out on Linux goodness)
26 | * PHP 5.3.10 with MySQL support
27 | * APC
28 | * Redis
29 | * XHProf
30 | * XDebug
31 | * memcached
32 | * Process Control
33 | * ImageMagick
34 | * VirtualBox 4.1.12
35 | * drush
36 | * feather
37 | * drush-vagrant
38 | * grn
39 | * phpsh (for Drush)
40 | * phpsh
41 | * Vagrant (for managing VirtualBox virtual machines)
42 |
43 | It should take about 40 minutes for everything to install, depending on your machine.
44 |
--------------------------------------------------------------------------------
/conf_files/httpd-vhosts.conf:
--------------------------------------------------------------------------------
1 | #
2 | # Virtual Hosts
3 | #
4 | # If you want to maintain multiple domains/hostnames on your
5 | # machine you can setup VirtualHost containers for them. Most configurations
6 | # use only name-based virtual hosts so the server doesn't need to worry about
7 | # IP addresses. This is indicated by the asterisks in the directives below.
8 | #
9 | # Please see the documentation at
10 | #
11 | # for further details before you try to setup virtual hosts.
12 | #
13 | # You may use the command line option '-S' to verify your virtual host
14 | # configuration.
15 |
16 | #
17 | # Use name-based virtual hosting.
18 | #
19 | NameVirtualHost *:80
20 |
21 | #
22 | # VirtualHost example:
23 | # Almost any Apache directive may go into a VirtualHost container.
24 | # The first VirtualHost section is used for all requests that do not
25 | # match a ServerName or ServerAlias in any block.
26 | #
27 |
28 | ServerAdmin webmaster@example.com
29 | DocumentRoot "/Users/@@USER@@/htdocs"
30 | ServerName localhost
31 | ErrorLog "/private/var/log/apache2/localhost-error_log"
32 | CustomLog "/private/var/log/apache2/localhost-access_log" common
33 |
34 |
35 | #
36 | # ServerAdmin webmaster@example.com
37 | # DocumentRoot "/Users/@@USER@@/htdocs/treehouseagency"
38 | # ServerName treehouseagency.local
39 | # ErrorLog "/private/var/log/apache2/treehouseagency.local-error_log"
40 | # CustomLog "/private/var/log/apache2/treehouseagency.local-access_log" common
41 | #
42 |
--------------------------------------------------------------------------------
/conf_files/my.cnf:
--------------------------------------------------------------------------------
1 | [mysql]
2 | # Packets.
3 | max_allowed_packet=16m
4 |
5 | [mysqld]
6 | # Packets.
7 | max_allowed_packet=16m
8 |
9 | # Wait timeouts.
10 | innodb_lock_wait_timeout=600
11 | wait_timeout=600
12 | connect_timeout=10
13 |
14 | # Set this as high as possible. On a dedicated server, 60% - 80% of machine RAM.
15 | innodb_buffer_pool_size=512m
16 |
17 | # Set this to the number of logical cores you have on the database server.
18 | innodb_thread_concurrency=4
19 |
20 | # Turn this on dynamically with a Jenkins job.
21 | slow_query_log=OFF
22 |
23 | # Max number of connections allowed.
24 | max_connections=400
25 |
26 | # Don't run out of file descriptors!
27 | open_files_limit=32768
28 |
29 | # If you set the query cache too high, your server risks severly slowing down and taking tens of seconds after an INSERT due to query cache mutex contention.
30 | query_cache_limit=1M
31 | query_cache_size=32M
32 |
33 | # This allows a long-running query to not hit the network for a while and yet not be killed by MySQL.
34 | net_read_timeout=3600
35 | net_write_timeout=3600
36 |
37 | # This only works with Percona but allows you to pare down which slow queries go to the log.
38 | #log_slow_filter=tmp_table_on_disk,filesort_on_disk
39 |
40 | # Use InnoDB as the default engine.
41 | # default_storage_engine = InnoDB
42 | # default_character_set = utf8
43 | # collation_server = utf8_general_ci
44 | # character_set_server = utf8
45 |
46 | # Smaller InnoDB files mean less disk I/O when a new one is created.
47 | innodb_log_file_size=512m
48 | innodb_log_buffer_size=64m
49 | innodb_file_per_table
50 |
51 | # Speed up write performance significantly. You risk losing at most 1 or 2 seconds of data in event of a power loss or other catastrophic failure.
52 | innodb_flush_log_at_trx_commit=0
53 |
54 | # Max temp table size in RAM - larger can be set in application with a per-session SET.
55 | max_heap_table_size=64m
56 | tmp_table_size=64m
57 |
58 | # Per-session mem settings for sorts, joins, order by etc
59 | join_buffer_size=2m
60 | sort_buffer_size=2m
61 | read_rnd_buffer_size=2m
62 | read_buffer_size=2m
63 |
64 | # Block size inside query cache - reduce pruning
65 | query_cache_min_res_unit=1024
--------------------------------------------------------------------------------
/mac:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | function need_sudo {
4 | osascript -e 'tell app "System Events" to activate'
5 | osascript -e 'tell app "System Events" to display dialog "Your sudo password is (likely) needed in the Terminal or will be very shortly." buttons {"OK"}'
6 | osascript -e 'tell app "Terminal" to activate'
7 | }
8 |
9 | [[ `diskutil coreStorage list` == 'No CoreStorage logical volume groups found' ]] && {
10 | osascript -e 'tell app "System Events" to activate'
11 | osascript -e 'tell app "System Events" to display dialog "Please enable FileVault and restart, then start this process again." buttons {"OK"} default button 1'
12 | open /System/Library/PreferencePanes/Security.prefPane
13 | exit 1
14 | }
15 |
16 | type -p gcc > /dev/null || {
17 | osascript -e 'tell app "System Events" to activate'
18 | osascript -e 'tell app "System Events" to display dialog "Please install XCode now.\n\n(The App Store has been opened for you.)\n\nIf you have installed XCode and still get this dialog, you will need to install the command-line tools by going to Preferences > Downloads in the XCode application." buttons {"Cancel", "OK"} default button 2'
19 | open /Applications/App\ Store.app
20 | echo "ERROR: Cannot find gcc. Try starting this process again."
21 | exit 1
22 | }
23 |
24 | echo "Installing Homebrew, a good OS X package manager."
25 | need_sudo
26 | /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
27 | brew update
28 |
29 | echo "Installing GNU userland tools."
30 | brew install coreutils gnu-sed findutils
31 |
32 | echo "Install GitHub-related tools."
33 | brew install git gist hub
34 |
35 | echo "Installing a recent version of curl and wget for HTTP requests."
36 | brew install curl wget
37 |
38 | echo "Installing MySQL, our standard database server."
39 | curl -fsSL https://raw.github.com/phase2/laptop/master/conf_files/my.cnf > /tmp/my.cnf
40 | need_sudo
41 | sudo mv /tmp/my.cnf /etc/my.cnf
42 | brew install mysql
43 | unset TMPDIR
44 | mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
45 | mysql.server start
46 |
47 | echo "Installing a test phpinfo.php in the new DocumentRoot."
48 | [[ -d $HOME/htdocs ]] || {
49 | mkdir $HOME/htdocs
50 | echo ' $HOME/htdocs/phpinfo.php
51 | }
52 |
53 | echo "Installing Homebrew's PHP, MSSQL, MySQL and internationalization support."
54 | brew install https://raw.github.com/josegonzalez/homebrew-php/f09dc1288d839c8d7118a431360d80cd7e9419d2/Formula/php.rb --with-mysql --with-intl
55 | curl -fsSL https://raw.github.com/phase2/laptop/master/conf_files/httpd.conf | sed -e "s/@@USER@@/$USER/" > /tmp/httpd.conf
56 | curl -fsSL https://raw.github.com/phase2/laptop/master/conf_files/httpd-extra-config.conf > /tmp/httpd-extra-config.conf
57 | curl -fsSL https://raw.github.com/phase2/laptop/master/conf_files/httpd-vhosts.conf | sed -e "s/@@USER@@/$USER/" > /tmp/httpd-vhosts.conf
58 | need_sudo
59 | sudo mv /tmp/httpd.conf /etc/apache2/httpd.conf
60 | sudo mv /tmp/httpd-extra-config.conf /etc/apache2/extra/httpd-extra-config.conf
61 | sudo mv /tmp/httpd-vhosts.conf /etc/apache2/extra/httpd-vhosts.conf
62 | chmod -R ug+w /usr/local/Cellar/php/5.3.10/lib/php
63 | pear config-set php_ini /usr/local/etc/php.ini
64 |
65 | echo "Installing PHP extensions and a default configuration."
66 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/apc-php.rb
67 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/memcached-php.rb
68 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/imagick-php.rb
69 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/pcntl-php.rb
70 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/xdebug-php.rb
71 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/xhprof-php.rb
72 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/redis-php.rb
73 | brew install https://raw.github.com/josegonzalez/homebrew-php/master/Formula/phpsh.rb
74 | curl -fsSL https://raw.github.com/phase2/laptop/master/conf_files/php.ini > /tmp/php.ini
75 | mv /tmp/php.ini /usr/local/etc/php.ini
76 |
77 | open /System/Library/PreferencePanes/SharingPref.prefPane
78 | osascript -e 'tell app "System Events" to activate'
79 | osascript -e 'tell app "System Events" to display dialog "To prevent issues with Apache, please turn on Web Sharing now.\n\nClick \"OK\" once it has started to view the phpinfo() page." buttons {"Cancel", "OK"} default button 2'
80 | open http://localhost/phpinfo.php
81 |
82 | echo "Installing bash-completion and putting it into .bash_profile."
83 | brew install bash-completion
84 |
85 | echo '
86 | # Find homebrew prefix if it is available.
87 | brew_prefix=$(brew --prefix)
88 |
89 | # Enable bash_completion from brew.
90 | if [ -f $brew_prefix/etc/bash_completion ]; then
91 | . $brew_prefix/etc/bash_completion
92 | fi
93 |
94 | # Put homebrew PHP ahead in $PATH a la http://justinhileman.info/article/reinstalling-php-53-on-mac-os-x/
95 | export PATH=$brew_prefix/sbin:$brew_prefix/bin:$PATH' > $HOME/.bashrc
96 |
97 | echo '
98 | if [ -f ~/.bashrc ]; then
99 | source ~/.bashrc
100 | fi' > $HOME/.bash_profile
101 |
102 | echo "Installing Drush, because we <3 Drupal and the shell."
103 | pear channel-discover pear.drush.org
104 | pear install drush/drush
105 |
106 | echo "Upping max open files limit."
107 | [[ -f /etc/launchd.conf ]] || {
108 | need_sudo
109 | sudo sh -c 'echo "limit maxfiles 16384" > /etc/launchd.conf'
110 | }
111 |
112 | echo "Installing lots of Drush coolness."
113 | [[ -d $HOME/.drush ]] || mkdir $HOME/.drush
114 | cd $HOME/.drush
115 | drush dl grn
116 | drush dl phpsh
117 | drush dl feather
118 | drush dl drush-vagrant
119 |
120 | echo "Downloading VirtualBox for virtualization."
121 | curl -fsSL http://download.virtualbox.org/virtualbox/4.1.12/VirtualBox-4.1.12-77245-OSX.dmg > $HOME/Downloads/VirtualBox-4.1.12-77245-OSX.dmg
122 | open $HOME/Downloads/VirtualBox-4.1.12-77245-OSX.dmg
123 |
124 | echo "Downloading Vagrant for virtualized dev environments."
125 | curl -fsSL http://files.vagrantup.com/packages/41445466ee4d376601fd8d0c6a5e3af61d32f131/Vagrant-1.0.2.dmg > $HOME/Downloads/Vagrant-1.0.2.dmg
126 | open $HOME/Downloads/Vagrant-1.0.2.dmg
127 |
128 | osascript -e 'tell app "System Events" to activate'
129 | osascript -e 'tell app "System Events" to display dialog "Please install Vagrant, install VirtualBox and then restart.\n\nWelcome to Phase2!" buttons {"OK"}'
130 |
--------------------------------------------------------------------------------
/conf_files/httpd.conf:
--------------------------------------------------------------------------------
1 | #
2 | # Mac OS X / Mac OS X Server
3 | # The blocks segregate server-specific directives
4 | # and also directives that only apply when Web Sharing or
5 | # server Web Service (as opposed to other services that need Apache) is on.
6 | # The launchd plist sets appropriate Define parameters.
7 | # Generally, desktop has no vhosts and server does; server has added modules,
8 | # custom virtual hosts are only activated when Web Service is on, and
9 | # default document root and personal web sites at ~username are only
10 | # activated when Web Sharing is on.
11 | #
12 | #
13 | # This is the main Apache HTTP server configuration file. It contains the
14 | # configuration directives that give the server its instructions.
15 | # See for detailed information.
16 | # In particular, see
17 | #
18 | # for a discussion of each configuration directive.
19 | #
20 | # Do NOT simply read the instructions in here without understanding
21 | # what they do. They're here only as hints or reminders. If you are unsure
22 | # consult the online docs. You have been warned.
23 | #
24 | # Configuration and logfile names: If the filenames you specify for many
25 | # of the server's control files begin with "/" (or "drive:/" for Win32), the
26 | # server will use that explicit path. If the filenames do *not* begin
27 | # with "/", the value of ServerRoot is prepended -- so "log/foo_log"
28 | # with ServerRoot set to "/usr" will be interpreted by the
29 | # server as "/usr/log/foo_log".
30 |
31 | #
32 | # ServerRoot: The top of the directory tree under which the server's
33 | # configuration, error, and log files are kept.
34 | #
35 | # Do not add a slash at the end of the directory path. If you point
36 | # ServerRoot at a non-local disk, be sure to point the LockFile directive
37 | # at a local disk. If you wish to share the same ServerRoot for multiple
38 | # httpd daemons, you will need to change at least LockFile and PidFile.
39 | #
40 | ServerRoot "/usr"
41 |
42 | #
43 | # Listen: Allows you to bind Apache to specific IP addresses and/or
44 | # ports, instead of the default. See also the
45 | # directive.
46 | #
47 | # Change this to Listen on specific IP addresses as shown below to
48 | # prevent Apache from glomming onto all bound IP addresses.
49 | #
50 | #Listen 12.34.56.78:80
51 |
52 | Listen 80
53 |
54 |
55 | #
56 | # Dynamic Shared Object (DSO) Support
57 | #
58 | # To be able to use the functionality of a module which was built as a DSO you
59 | # have to place corresponding `LoadModule' lines at this location so the
60 | # directives contained in it are actually available _before_ they are used.
61 | # Statically compiled modules (those listed by `httpd -l') do not need
62 | # to be loaded here.
63 | #
64 | # Example:
65 | # LoadModule foo_module modules/mod_foo.so
66 | #
67 | LoadModule authn_file_module libexec/apache2/mod_authn_file.so
68 | LoadModule authz_host_module libexec/apache2/mod_authz_host.so
69 | LoadModule cache_module libexec/apache2/mod_cache.so
70 | LoadModule disk_cache_module libexec/apache2/mod_disk_cache.so
71 | LoadModule dumpio_module libexec/apache2/mod_dumpio.so
72 | LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so
73 | LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so
74 | LoadModule include_module libexec/apache2/mod_include.so
75 | LoadModule filter_module libexec/apache2/mod_filter.so
76 | LoadModule substitute_module libexec/apache2/mod_substitute.so
77 | LoadModule deflate_module libexec/apache2/mod_deflate.so
78 | LoadModule log_config_module libexec/apache2/mod_log_config.so
79 | LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so
80 | LoadModule logio_module libexec/apache2/mod_logio.so
81 | LoadModule env_module libexec/apache2/mod_env.so
82 | LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so
83 | LoadModule cern_meta_module libexec/apache2/mod_cern_meta.so
84 | LoadModule expires_module libexec/apache2/mod_expires.so
85 | LoadModule headers_module libexec/apache2/mod_headers.so
86 | LoadModule ident_module libexec/apache2/mod_ident.so
87 | LoadModule usertrack_module libexec/apache2/mod_usertrack.so
88 | #LoadModule unique_id_module libexec/apache2/mod_unique_id.so
89 | LoadModule setenvif_module libexec/apache2/mod_setenvif.so
90 | LoadModule version_module libexec/apache2/mod_version.so
91 | LoadModule proxy_module libexec/apache2/mod_proxy.so
92 | LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
93 | LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so
94 | LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so
95 | #LoadModule ssl_module libexec/apache2/mod_ssl.so
96 | LoadModule mime_module libexec/apache2/mod_mime.so
97 | LoadModule dav_module libexec/apache2/mod_dav.so
98 | LoadModule autoindex_module libexec/apache2/mod_autoindex.so
99 | LoadModule asis_module libexec/apache2/mod_asis.so
100 | LoadModule info_module libexec/apache2/mod_info.so
101 | LoadModule cgi_module libexec/apache2/mod_cgi.so
102 | LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so
103 | LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
104 | LoadModule negotiation_module libexec/apache2/mod_negotiation.so
105 | LoadModule dir_module libexec/apache2/mod_dir.so
106 | LoadModule imagemap_module libexec/apache2/mod_imagemap.so
107 | LoadModule actions_module libexec/apache2/mod_actions.so
108 | LoadModule speling_module libexec/apache2/mod_speling.so
109 | LoadModule alias_module libexec/apache2/mod_alias.so
110 | LoadModule rewrite_module libexec/apache2/mod_rewrite.so
111 | #LoadModule php5_module libexec/apache2/libphp5.so
112 | LoadModule php5_module /usr/local/Cellar/php/5.3.10/libexec/apache2/libphp5.so
113 | #Apple specific modules
114 | LoadModule apple_userdir_module libexec/apache2/mod_userdir_apple.so
115 | LoadModule bonjour_module libexec/apache2/mod_bonjour.so
116 |
117 |
118 | LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so
119 | LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so
120 | LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so
121 | LoadModule authn_default_module libexec/apache2/mod_authn_default.so
122 | LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so
123 | LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so
124 | LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so
125 | LoadModule authz_user_module libexec/apache2/mod_authz_user.so
126 | LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so
127 | LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so
128 | LoadModule authz_default_module libexec/apache2/mod_authz_default.so
129 | LoadModule mem_cache_module libexec/apache2/mod_mem_cache.so
130 | LoadModule dbd_module libexec/apache2/mod_dbd.so
131 | LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
132 | LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so
133 | LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so
134 | LoadModule status_module libexec/apache2/mod_status.so
135 |
136 |
137 |
138 | LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
139 | #LoadModule auth_digest_apple_module libexec/apache2/mod_auth_digest_apple.so
140 | #LoadModule encoding_module libexec/apache2/mod_encoding.so
141 | #LoadModule jk_module libexec/apache2/mod_jk.so
142 | LoadModule apple_auth_module libexec/apache2/mod_auth_apple.so
143 | LoadModule spnego_auth_module libexec/apache2/mod_spnego_apple.so
144 | LoadModule apple_digest_module libexec/apache2/mod_digest_apple.so
145 | #LoadModule python_module libexec/apache2/mod_python.so
146 | #LoadModule xsendfile_module libexec/apache2/mod_xsendfile.so
147 | LoadModule apple_status_module libexec/apache2/mod_status_apple.so
148 |
149 |
150 | # If you wish httpd to run as a different user or group, you must run
151 | # httpd as root initially and it will switch.
152 | #
153 | # User/Group: The name (or #number) of the user/group to run httpd as.
154 | # It is usually good practice to create a dedicated user and group for
155 | # running httpd, as with most system services.
156 | #
157 | User @@USER@@
158 | Group _www
159 | #User _www
160 | #Group _www
161 |
162 | # 'Main' server configuration
163 | #
164 | # The directives in this section set up the values used by the 'main'
165 | # server, which responds to any requests that aren't handled by a
166 | # definition. These values also provide defaults for
167 | # any containers you may define later in the file.
168 | #
169 | # All of these directives may appear inside containers,
170 | # in which case these default settings will be overridden for the
171 | # virtual host being defined.
172 | #
173 |
174 | #
175 | # ServerAdmin: Your address, where problems with the server should be
176 | # e-mailed. This address appears on some server-generated pages, such
177 | # as error documents. e.g. admin@your-domain.com
178 | #
179 | ServerAdmin you@example.com
180 |
181 | #
182 | # ServerName gives the name and port that the server uses to identify itself.
183 | # This can often be determined automatically, but we recommend you specify
184 | # it explicitly to prevent problems during startup.
185 | #
186 | # If your host doesn't have a registered DNS name, enter its IP address here.
187 | #
188 | #ServerName www.example.com:80
189 |
190 |
191 | DocumentRoot /var/empty
192 |
193 |
194 | BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
195 |
196 |
197 | Header add MS-Author-Via "DAV"
198 | RequestHeader set X_FORWARDED_PROTO 'https' env=https
199 | RequestHeader set X_FORWARDED_PROTO 'http' env=!https
200 |
201 |
202 | EncodingEngine on
203 | NormalizeUsername on
204 | DefaultClientEncoding UTF-8
205 | # Windows XP?
206 | AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
207 | # Windows 2K SP2 with .NET
208 | AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
209 | # Windows 2K SP2/Windows XP
210 | AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
211 | # Windows XP?
212 | AddClientEncoding "Microsoft-WebDAV*" CP932
213 | # RealPlayer
214 | AddClientEncoding "RMA/*" CP932
215 | # MacOS X webdavfs
216 | AddClientEncoding "WebDAVFS" UTF-8
217 | # cadaver
218 | AddClientEncoding "cadaver/" EUC-JP
219 |
220 |
221 | AllowOverride None
222 | Options MultiViews FollowSymlinks
223 | Order allow,deny
224 | Allow from all
225 | Header Set Cache-Control no-cache
226 |
227 | Alias /webmail /usr/share/web/webmail.html
228 | Alias /changepassword /usr/share/web/changepassword.html
229 | Alias /profilemanager /usr/share/web/profilemanager.html
230 | Alias /webcal /usr/share/web/webcal.html
231 |
232 |
233 |
234 |
235 | #
236 | # DocumentRoot: The directory out of which you will serve your
237 | # documents. By default, all requests are taken from this directory, but
238 | # symbolic links and aliases may be used to point to other locations.
239 | #
240 | DocumentRoot "/Users/@@USER@@/htdocs"
241 | #DocumentRoot "/Library/WebServer/Documents"
242 |
243 | #
244 | # Each directory to which Apache has access can be configured with respect
245 | # to which services and features are allowed and/or disabled in that
246 | # directory (and its subdirectories).
247 | #
248 | # First, we configure the "default" to be a very restrictive set of
249 | # features.
250 | #
251 |
252 | Options FollowSymLinks
253 | AllowOverride None
254 | Order deny,allow
255 | Deny from all
256 |
257 |
258 | #
259 | # Note that from this point forward you must specifically allow
260 | # particular features to be enabled - so if something's not working as
261 | # you might expect, make sure that you have specifically enabled it
262 | # below.
263 | #
264 |
265 | #
266 | # This should be changed to whatever you set DocumentRoot to.
267 | #
268 |
269 | #
270 | # Possible values for the Options directive are "None", "All",
271 | # or any combination of:
272 | # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
273 | #
274 | # Note that "MultiViews" must be named *explicitly* --- "Options All"
275 | # doesn't give it to you.
276 | #
277 | # The Options directive is both complicated and important. Please see
278 | # http://httpd.apache.org/docs/2.2/mod/core.html#options
279 | # for more information.
280 | #
281 | Options Indexes FollowSymLinks MultiViews
282 |
283 | #
284 | # AllowOverride controls what directives may be placed in .htaccess files.
285 | # It can be "All", "None", or any combination of the keywords:
286 | # Options FileInfo AuthConfig Limit
287 | #
288 | # AllowOverride None
289 | AllowOverride All
290 |
291 | #
292 | # Controls who can get stuff from this server.
293 | #
294 | Order allow,deny
295 | Allow from all
296 |
297 |
298 |
299 | #
300 | # DirectoryIndex: sets the file that Apache will serve if a directory
301 | # is requested.
302 | #
303 |
304 | DirectoryIndex index.html
305 |
306 |
307 |
308 | #
309 | # The following lines prevent .htaccess and .htpasswd files from being
310 | # viewed by Web clients.
311 | #
312 |
313 | Order allow,deny
314 | Deny from all
315 | Satisfy All
316 |
317 |
318 | #
319 | # Apple specific filesystem protection.
320 | #
321 |
322 | Order allow,deny
323 | Deny from all
324 | Satisfy All
325 |
326 |
327 | Order allow,deny
328 | Deny from all
329 | Satisfy All
330 |
331 |
332 | #
333 | # ErrorLog: The location of the error log file.
334 | # If you do not specify an ErrorLog directive within a
335 | # container, error messages relating to that virtual host will be
336 | # logged here. If you *do* define an error logfile for a
337 | # container, that host's errors will be logged there and not here.
338 | #
339 | ErrorLog "/private/var/log/apache2/error_log"
340 |
341 | #
342 | # LogLevel: Control the number of messages logged to the error_log.
343 | # Possible values include: debug, info, notice, warn, error, crit,
344 | # alert, emerg.
345 | #
346 | LogLevel warn
347 |
348 |
349 | #
350 | # The following directives define some format nicknames for use with
351 | # a CustomLog directive (see below).
352 | #
353 | LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
354 | LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedvhost
355 | LogFormat "%h %l %u %t \"%r\" %>s %b" common
356 | LogFormat "%v %h %l %u %t \"%r\" %>s %b" commonvhost
357 |
358 |
359 | # You need to enable mod_logio.c to use %I and %O
360 | LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
361 | LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinediovhost
362 |
363 |
364 | #
365 | # The location and format of the access logfile (Common Logfile Format).
366 | # If you do not define any access logfiles within a
367 | # container, they will be logged here. Contrariwise, if you *do*
368 | # define per- access logfiles, transactions will be
369 | # logged therein and *not* in this file.
370 | #
371 | CustomLog "/private/var/log/apache2/access_log" common
372 |
373 | #
374 | # If you prefer a logfile with access, agent, and referer information
375 | # (Combined Logfile Format) you can use the following directive.
376 | #
377 | #CustomLog "/private/var/log/apache2/access_log" combined
378 |
379 |
380 |
381 | #
382 | # Redirect: Allows you to tell clients about documents that used to
383 | # exist in your server's namespace, but do not anymore. The client
384 | # will make a new request for the document at its new location.
385 | # Example:
386 | # Redirect permanent /foo http://www.example.com/bar
387 |
388 | #
389 | # Alias: Maps web paths into filesystem paths and is used to
390 | # access content that does not live under the DocumentRoot.
391 | # Example:
392 | # Alias /webpath /full/filesystem/path
393 | #
394 | # If you include a trailing / on /webpath then the server will
395 | # require it to be present in the URL. You will also likely
396 | # need to provide a section to allow access to
397 | # the filesystem path.
398 |
399 | #
400 | # ScriptAlias: This controls which directories contain server scripts.
401 | # ScriptAliases are essentially the same as Aliases, except that
402 | # documents in the target directory are treated as applications and
403 | # run by the server when requested rather than as documents sent to the
404 | # client. The same rules about trailing "/" apply to ScriptAlias
405 | # directives as to Alias.
406 | #
407 | ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
408 |
409 |
410 |
411 | #
412 | # ScriptSock: On threaded servers, designate the path to the UNIX
413 | # socket used to communicate with the CGI daemon of mod_cgid.
414 | #
415 | #Scriptsock /private/var/run/cgisock
416 |
417 |
418 | #
419 | # "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
420 | # CGI directory exists, if you have that configured.
421 | #
422 |
423 | AllowOverride None
424 | Options None
425 | Order allow,deny
426 | Allow from all
427 |
428 |
429 | #
430 | # DefaultType: the default MIME type the server will use for a document
431 | # if it cannot otherwise determine one, such as from filename extensions.
432 | # If your server contains mostly text or HTML documents, "text/plain" is
433 | # a good value. If most of your content is binary, such as applications
434 | # or images, you may want to use "application/octet-stream" instead to
435 | # keep browsers from trying to display binary files as though they are
436 | # text.
437 | #
438 | DefaultType text/plain
439 |
440 |
441 | #
442 | # TypesConfig points to the file containing the list of mappings from
443 | # filename extension to MIME-type.
444 | #
445 | TypesConfig /private/etc/apache2/mime.types
446 |
447 | #
448 | # AddType allows you to add to or override the MIME configuration
449 | # file specified in TypesConfig for specific file types.
450 | #
451 | #AddType application/x-gzip .tgz
452 | #
453 | # AddEncoding allows you to have certain browsers uncompress
454 | # information on the fly. Note: Not all browsers support this.
455 | #
456 | #AddEncoding x-compress .Z
457 | #AddEncoding x-gzip .gz .tgz
458 | #
459 | # If the AddEncoding directives above are commented-out, then you
460 | # probably should define those extensions to indicate media types:
461 | #
462 | AddType application/x-compress .Z
463 | AddType application/x-gzip .gz .tgz
464 |
465 | #
466 | # AddHandler allows you to map certain file extensions to "handlers":
467 | # actions unrelated to filetype. These can be either built into the server
468 | # or added with the Action directive (see below)
469 | #
470 | # To use CGI scripts outside of ScriptAliased directories:
471 | # (You will also need to add "ExecCGI" to the "Options" directive.)
472 | #
473 | #AddHandler cgi-script .cgi
474 |
475 | # For type maps (negotiated resources):
476 | #AddHandler type-map var
477 |
478 | #
479 | # Filters allow you to process content before it is sent to the client.
480 | #
481 | # To parse .shtml files for server-side includes (SSI):
482 | # (You will also need to add "Includes" to the "Options" directive.)
483 | #
484 | #AddType text/html .shtml
485 | #AddOutputFilter INCLUDES .shtml
486 |
487 |
488 | #
489 | # The mod_mime_magic module allows the server to use various hints from the
490 | # contents of the file itself to determine its type. The MIMEMagicFile
491 | # directive tells the module where the hint definitions are located.
492 | #
493 | #MIMEMagicFile /private/etc/apache2/magic
494 |
495 | #
496 | # Customizable error responses come in three flavors:
497 | # 1) plain text 2) local redirects 3) external redirects
498 | #
499 | # Some examples:
500 | #ErrorDocument 500 "The server made a boo boo."
501 | #ErrorDocument 404 /missing.html
502 | #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
503 | #ErrorDocument 402 http://www.example.com/subscription_info.html
504 | #
505 |
506 | #
507 | # EnableMMAP and EnableSendfile: On systems that support it,
508 | # memory-mapping or the sendfile syscall is used to deliver
509 | # files. This usually improves server performance, but must
510 | # be turned off when serving from networked-mounted
511 | # filesystems or if support for these functions is otherwise
512 | # broken on your system.
513 | #
514 | #EnableMMAP off
515 | #EnableSendfile off
516 |
517 | TraceEnable off
518 |
519 | # Supplemental configuration
520 | #
521 | # The configuration files in the /private/etc/apache2/extra/ directory can be
522 | # included to add extra features or to modify the default configuration of
523 | # the server, or you may simply copy their contents here and change as
524 | # necessary.
525 |
526 | # Server-pool management (MPM prefork specific)
527 | StartServers 1
528 | MinSpareServers 1
529 | MaxSpareServers 1
530 | # ServerLimit and MaxClients support n% syntax which sets them to a
531 | # fraction of the current RLIMIT_NPROC limit.
532 | ServerLimit 50%
533 | MaxClients 50%
534 | ListenBackLog 512
535 | MaxRequestsPerChild 100000
536 |
537 | # Timeout: The number of seconds before receives and sends time out.
538 | #
539 | Timeout 300
540 |
541 | # KeepAlive: Whether or not to allow persistent connections (more than
542 | # one request per connection). Set to "Off" to deactivate.
543 | #
544 | KeepAlive On
545 |
546 | # KeepAliveTimeout: Number of seconds to wait for the next request from the
547 | # same client on the same connection.
548 | #
549 | KeepAliveTimeout 15
550 |
551 | # MaxKeepAliveRequests: The maximum number of requests to allow
552 | # during a persistent connection. Set to 0 to allow an unlimited amount.
553 | # We recommend you leave this number high, for maximum performance.
554 | #
555 | MaxKeepAliveRequests 100
556 |
557 | # UseCanonicalName: Determines how Apache constructs self-referencing
558 | # URLs and the SERVER_NAME and SERVER_PORT variables.
559 | # When set "Off", Apache will use the Hostname and Port supplied
560 | # by the client. When set "On", Apache will use the value of the
561 | # ServerName directive.
562 | #
563 | UseCanonicalName Off
564 |
565 | #
566 | # AccessFileName: The name of the file to look for in each directory
567 | # for additional configuration directives. See also the AllowOverride
568 | # directive.
569 | #
570 | AccessFileName .htaccess
571 |
572 | # ServerTokens
573 | # This directive configures what you return as the Server HTTP response
574 | # Header. The default is 'Full' which sends information about the OS-Type
575 | # and compiled in modules.
576 | # Set to one of: Full | OS | Minor | Minimal | Major | Prod
577 | # where Full conveys the most information, and Prod the least.
578 | #
579 | ServerTokens Full
580 |
581 | # Optionally add a line containing the server version and virtual host
582 | # name to server-generated pages (internal error documents, FTP directory
583 | # listings, mod_status and mod_info output etc., but not CGI generated
584 | # documents or custom error documents).
585 | # Set to "EMail" to also include a mailto: link to the ServerAdmin.
586 | # Set to one of: On | Off | EMail
587 | #
588 | ServerSignature On
589 |
590 | # HostnameLookups: Log the names of clients or just their IP addresses
591 | # e.g., www.apache.org (on) or 204.62.129.132 (off).
592 | # The default is off because it'd be overall better for the net if people
593 | # had to knowingly turn this feature on, since enabling it means that
594 | # each client request will result in AT LEAST one lookup request to the
595 | # nameserver.
596 | #
597 | HostnameLookups Off
598 |
599 | # PidFile: The file in which the server should record its process
600 | # identification number when it starts.
601 | PidFile /var/run/httpd.pid
602 |
603 | # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
604 | LockFile "/private/var/log/apache2/accept.lock"
605 |
606 |
607 | RewriteLock /var/log/apache2/rewrite.lock
608 |
609 |
610 | # Language settings
611 | Include /private/etc/apache2/extra/httpd-languages.conf
612 |
613 |
614 | # Multi -language error messages
615 | #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
616 |
617 | # Fancy directory listings
618 | Include /private/etc/apache2/extra/httpd-autoindex.conf
619 |
620 | # User home directories
621 | Include /private/etc/apache2/extra/httpd-userdir.conf
622 |
623 | # Real-time info on requests and configuration
624 | #Include /private/etc/apache2/extra/httpd-info.conf
625 |
626 | # Virtual hosts
627 | Include /private/etc/apache2/extra/httpd-vhosts.conf
628 |
629 | # Local access to the Apache HTTP Server Manual
630 | Include /private/etc/apache2/extra/httpd-manual.conf
631 |
632 | # Distributed authoring and versioning (WebDAV)
633 | #Include /private/etc/apache2/extra/httpd-dav.conf
634 |
635 | # Custom config.
636 | Include /private/etc/apache2/extra/httpd-extra-config.conf
637 |
638 |
639 |
640 | # Secure (SSL/TLS) connections
641 |
642 | #Include /private/etc/apache2/extra/httpd-ssl.conf
643 |
644 |
645 |
646 | SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
647 | SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
648 | SSLSessionCache shmcb:/var/run/ssl_scache(512000)
649 | SSLSessionCacheTimeout 300
650 | SSLMutex file:/var/run/ssl_mutex
651 | SSLRandomSeed startup builtin
652 | SSLRandomSeed connect builtin
653 | AddType application/x-x509-ca-cert crt
654 | AddType application/x-pkcs7-crl crl
655 |
656 |
657 |
658 |
659 | JKWorkersFile /etc/apache2/workers.properties
660 | JKLogFile /var/log/apache2/mod_jk.log
661 | JkShmFile /var/log/apache2/jk-runtime-status
662 |
663 |
664 |
665 | AddType application/x-httpd-php .php
666 | AddType application/x-httpd-php-source .phps
667 |
668 | DirectoryIndex index.html index.php
669 |
670 |
671 |
672 | Include /etc/apache2/other/*.conf
673 |
674 |
675 |
676 | Include /etc/apache2/sites/*.conf
677 |
678 |
679 | Include /etc/apache2/sites/virtual_host_global.conf
680 | Include /etc/apache2/sites/*_.conf
681 | Include /etc/apache2/sites/*__shadow.conf
682 |
683 |
684 |
685 |
--------------------------------------------------------------------------------
/conf_files/php.ini:
--------------------------------------------------------------------------------
1 | [PHP]
2 |
3 | ;;;;;;;;;;;;;;;;;;;
4 | ; About php.ini ;
5 | ;;;;;;;;;;;;;;;;;;;
6 | ; PHP's initialization file, generally called php.ini, is responsible for
7 | ; configuring many of the aspects of PHP's behavior.
8 |
9 | ; PHP attempts to find and load this configuration from a number of locations.
10 | ; The following is a summary of its search order:
11 | ; 1. SAPI module specific location.
12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
14 | ; 4. Current working directory (except CLI)
15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP
16 | ; (otherwise in Windows)
17 | ; 6. The directory from the --with-config-file-path compile time option, or the
18 | ; Windows directory (C:\windows or C:\winnt)
19 | ; See the PHP docs for more specific information.
20 | ; http://php.net/configuration.file
21 |
22 | ; The syntax of the file is extremely simple. Whitespace and Lines
23 | ; beginning with a semicolon are silently ignored (as you probably guessed).
24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though
25 | ; they might mean something in the future.
26 |
27 | ; Directives following the section heading [PATH=/www/mysite] only
28 | ; apply to PHP files in the /www/mysite directory. Directives
29 | ; following the section heading [HOST=www.example.com] only apply to
30 | ; PHP files served from www.example.com. Directives set in these
31 | ; special sections cannot be overridden by user-defined INI files or
32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
33 | ; CGI/FastCGI.
34 | ; http://php.net/ini.sections
35 |
36 | ; Directives are specified using the following syntax:
37 | ; directive = value
38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
39 | ; Directives are variables used to configure PHP or PHP extensions.
40 | ; There is no name validation. If PHP can't find an expected
41 | ; directive because it is not set or is mistyped, a default value will be used.
42 |
43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
46 | ; previously set variable or directive (e.g. ${foo})
47 |
48 | ; Expressions in the INI file are limited to bitwise operators and parentheses:
49 | ; | bitwise OR
50 | ; ^ bitwise XOR
51 | ; & bitwise AND
52 | ; ~ bitwise NOT
53 | ; ! boolean NOT
54 |
55 | ; Boolean flags can be turned on using the values 1, On, True or Yes.
56 | ; They can be turned off using the values 0, Off, False or No.
57 |
58 | ; An empty string can be denoted by simply not writing anything after the equal
59 | ; sign, or by using the None keyword:
60 |
61 | ; foo = ; sets foo to an empty string
62 | ; foo = None ; sets foo to an empty string
63 | ; foo = "None" ; sets foo to the string 'None'
64 |
65 | ; If you use constants in your value, and these constants belong to a
66 | ; dynamically loaded extension (either a PHP extension or a Zend extension),
67 | ; you may only use these constants *after* the line that loads the extension.
68 |
69 | ;;;;;;;;;;;;;;;;;;;
70 | ; About this file ;
71 | ;;;;;;;;;;;;;;;;;;;
72 | ; PHP comes packaged with two INI files. One that is recommended to be used
73 | ; in production environments and one that is recommended to be used in
74 | ; development environments.
75 |
76 | ; php.ini-production contains settings which hold security, performance and
77 | ; best practices at its core. But please be aware, these settings may break
78 | ; compatibility with older or less security conscience applications. We
79 | ; recommending using the production ini in production and testing environments.
80 |
81 | ; php.ini-development is very similar to its production variant, except it's
82 | ; much more verbose when it comes to errors. We recommending using the
83 | ; development version only in development environments as errors shown to
84 | ; application users can inadvertently leak otherwise secure information.
85 |
86 | ;;;;;;;;;;;;;;;;;;;
87 | ; Quick Reference ;
88 | ;;;;;;;;;;;;;;;;;;;
89 | ; The following are all the settings which are different in either the production
90 | ; or development versions of the INIs with respect to PHP's default behavior.
91 | ; Please see the actual settings later in the document for more details as to why
92 | ; we recommend these changes in PHP's behavior.
93 |
94 | ; allow_call_time_pass_reference
95 | ; Default Value: On
96 | ; Development Value: Off
97 | ; Production Value: Off
98 |
99 | ; display_errors
100 | ; Default Value: On
101 | ; Development Value: On
102 | ; Production Value: Off
103 |
104 | ; display_startup_errors
105 | ; Default Value: Off
106 | ; Development Value: On
107 | ; Production Value: Off
108 |
109 | ; error_reporting
110 | ; Default Value: E_ALL & ~E_NOTICE
111 | ; Development Value: E_ALL | E_STRICT
112 | ; Production Value: E_ALL & ~E_DEPRECATED
113 |
114 | ; html_errors
115 | ; Default Value: On
116 | ; Development Value: On
117 | ; Production value: Off
118 |
119 | ; log_errors
120 | ; Default Value: Off
121 | ; Development Value: On
122 | ; Production Value: On
123 |
124 | ; magic_quotes_gpc
125 | ; Default Value: On
126 | ; Development Value: Off
127 | ; Production Value: Off
128 |
129 | ; max_input_time
130 | ; Default Value: -1 (Unlimited)
131 | ; Development Value: 60 (60 seconds)
132 | ; Production Value: 60 (60 seconds)
133 |
134 | ; output_buffering
135 | ; Default Value: Off
136 | ; Development Value: 4096
137 | ; Production Value: 4096
138 |
139 | ; register_argc_argv
140 | ; Default Value: On
141 | ; Development Value: Off
142 | ; Production Value: Off
143 |
144 | ; register_long_arrays
145 | ; Default Value: On
146 | ; Development Value: Off
147 | ; Production Value: Off
148 |
149 | ; request_order
150 | ; Default Value: None
151 | ; Development Value: "GP"
152 | ; Production Value: "GP"
153 |
154 | ; session.bug_compat_42
155 | ; Default Value: On
156 | ; Development Value: On
157 | ; Production Value: Off
158 |
159 | ; session.bug_compat_warn
160 | ; Default Value: On
161 | ; Development Value: On
162 | ; Production Value: Off
163 |
164 | ; session.gc_divisor
165 | ; Default Value: 100
166 | ; Development Value: 1000
167 | ; Production Value: 1000
168 |
169 | ; session.hash_bits_per_character
170 | ; Default Value: 4
171 | ; Development Value: 5
172 | ; Production Value: 5
173 |
174 | ; short_open_tag
175 | ; Default Value: On
176 | ; Development Value: Off
177 | ; Production Value: Off
178 |
179 | ; track_errors
180 | ; Default Value: Off
181 | ; Development Value: On
182 | ; Production Value: Off
183 |
184 | ; url_rewriter.tags
185 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
186 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
187 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
188 |
189 | ; variables_order
190 | ; Default Value: "EGPCS"
191 | ; Development Value: "GPCS"
192 | ; Production Value: "GPCS"
193 |
194 | ;;;;;;;;;;;;;;;;;;;;
195 | ; php.ini Options ;
196 | ;;;;;;;;;;;;;;;;;;;;
197 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
198 | ;user_ini.filename = ".user.ini"
199 |
200 | ; To disable this feature set this option to empty value
201 | ;user_ini.filename =
202 |
203 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
204 | ;user_ini.cache_ttl = 300
205 |
206 | ;;;;;;;;;;;;;;;;;;;;
207 | ; Language Options ;
208 | ;;;;;;;;;;;;;;;;;;;;
209 |
210 | ; Enable the PHP scripting language engine under Apache.
211 | ; http://php.net/engine
212 | engine = On
213 |
214 | ; This directive determines whether or not PHP will recognize code between
215 | ; and ?> tags as PHP source which should be processed as such. It's been
216 | ; recommended for several years that you not use the short tag "short cut" and
217 | ; instead to use the full tag combination. With the wide spread use
218 | ; of XML and use of these tags by other languages, the server can become easily
219 | ; confused and end up parsing the wrong code in the wrong context. But because
220 | ; this short cut has been a feature for such a long time, it's currently still
221 | ; supported for backwards compatibility, but we recommend you don't use them.
222 | ; Default Value: On
223 | ; Development Value: Off
224 | ; Production Value: Off
225 | ; http://php.net/short-open-tag
226 | short_open_tag = Off
227 |
228 | ; Allow ASP-style <% %> tags.
229 | ; http://php.net/asp-tags
230 | asp_tags = Off
231 |
232 | ; The number of significant digits displayed in floating point numbers.
233 | ; http://php.net/precision
234 | precision = 14
235 |
236 | ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
237 | ; http://php.net/y2k-compliance
238 | y2k_compliance = On
239 |
240 | ; Output buffering is a mechanism for controlling how much output data
241 | ; (excluding headers and cookies) PHP should keep internally before pushing that
242 | ; data to the client. If your application's output exceeds this setting, PHP
243 | ; will send that data in chunks of roughly the size you specify.
244 | ; Turning on this setting and managing its maximum buffer size can yield some
245 | ; interesting side-effects depending on your application and web server.
246 | ; You may be able to send headers and cookies after you've already sent output
247 | ; through print or echo. You also may see performance benefits if your server is
248 | ; emitting less packets due to buffered output versus PHP streaming the output
249 | ; as it gets it. On production servers, 4096 bytes is a good setting for performance
250 | ; reasons.
251 | ; Note: Output buffering can also be controlled via Output Buffering Control
252 | ; functions.
253 | ; Possible Values:
254 | ; On = Enabled and buffer is unlimited. (Use with caution)
255 | ; Off = Disabled
256 | ; Integer = Enables the buffer and sets its maximum size in bytes.
257 | ; Note: This directive is hardcoded to Off for the CLI SAPI
258 | ; Default Value: Off
259 | ; Development Value: 4096
260 | ; Production Value: 4096
261 | ; http://php.net/output-buffering
262 | output_buffering = 4096
263 |
264 | ; You can redirect all of the output of your scripts to a function. For
265 | ; example, if you set output_handler to "mb_output_handler", character
266 | ; encoding will be transparently converted to the specified encoding.
267 | ; Setting any output handler automatically turns on output buffering.
268 | ; Note: People who wrote portable scripts should not depend on this ini
269 | ; directive. Instead, explicitly set the output handler using ob_start().
270 | ; Using this ini directive may cause problems unless you know what script
271 | ; is doing.
272 | ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
273 | ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
274 | ; Note: output_handler must be empty if this is set 'On' !!!!
275 | ; Instead you must use zlib.output_handler.
276 | ; http://php.net/output-handler
277 | ;output_handler =
278 |
279 | ; Transparent output compression using the zlib library
280 | ; Valid values for this option are 'off', 'on', or a specific buffer size
281 | ; to be used for compression (default is 4KB)
282 | ; Note: Resulting chunk size may vary due to nature of compression. PHP
283 | ; outputs chunks that are few hundreds bytes each as a result of
284 | ; compression. If you prefer a larger chunk size for better
285 | ; performance, enable output_buffering in addition.
286 | ; Note: You need to use zlib.output_handler instead of the standard
287 | ; output_handler, or otherwise the output will be corrupted.
288 | ; http://php.net/zlib.output-compression
289 | zlib.output_compression = Off
290 |
291 | ; http://php.net/zlib.output-compression-level
292 | ;zlib.output_compression_level = -1
293 |
294 | ; You cannot specify additional output handlers if zlib.output_compression
295 | ; is activated here. This setting does the same as output_handler but in
296 | ; a different order.
297 | ; http://php.net/zlib.output-handler
298 | ;zlib.output_handler =
299 |
300 | ; Implicit flush tells PHP to tell the output layer to flush itself
301 | ; automatically after every output block. This is equivalent to calling the
302 | ; PHP function flush() after each and every call to print() or echo() and each
303 | ; and every HTML block. Turning this option on has serious performance
304 | ; implications and is generally recommended for debugging purposes only.
305 | ; http://php.net/implicit-flush
306 | ; Note: This directive is hardcoded to On for the CLI SAPI
307 | implicit_flush = Off
308 |
309 | ; The unserialize callback function will be called (with the undefined class'
310 | ; name as parameter), if the unserializer finds an undefined class
311 | ; which should be instantiated. A warning appears if the specified function is
312 | ; not defined, or if the function doesn't include/implement the missing class.
313 | ; So only set this entry, if you really want to implement such a
314 | ; callback-function.
315 | unserialize_callback_func =
316 |
317 | ; When floats & doubles are serialized store serialize_precision significant
318 | ; digits after the floating point. The default value ensures that when floats
319 | ; are decoded with unserialize, the data will remain the same.
320 | serialize_precision = 17
321 |
322 | ; This directive allows you to enable and disable warnings which PHP will issue
323 | ; if you pass a value by reference at function call time. Passing values by
324 | ; reference at function call time is a deprecated feature which will be removed
325 | ; from PHP at some point in the near future. The acceptable method for passing a
326 | ; value by reference to a function is by declaring the reference in the functions
327 | ; definition, not at call time. This directive does not disable this feature, it
328 | ; only determines whether PHP will warn you about it or not. These warnings
329 | ; should enabled in development environments only.
330 | ; Default Value: On (Suppress warnings)
331 | ; Development Value: Off (Issue warnings)
332 | ; Production Value: Off (Issue warnings)
333 | ; http://php.net/allow-call-time-pass-reference
334 | allow_call_time_pass_reference = Off
335 |
336 | ; Safe Mode
337 | ; http://php.net/safe-mode
338 | safe_mode = Off
339 |
340 | ; By default, Safe Mode does a UID compare check when
341 | ; opening files. If you want to relax this to a GID compare,
342 | ; then turn on safe_mode_gid.
343 | ; http://php.net/safe-mode-gid
344 | safe_mode_gid = Off
345 |
346 | ; When safe_mode is on, UID/GID checks are bypassed when
347 | ; including files from this directory and its subdirectories.
348 | ; (directory must also be in include_path or full path must
349 | ; be used when including)
350 | ; http://php.net/safe-mode-include-dir
351 | safe_mode_include_dir =
352 |
353 | ; When safe_mode is on, only executables located in the safe_mode_exec_dir
354 | ; will be allowed to be executed via the exec family of functions.
355 | ; http://php.net/safe-mode-exec-dir
356 | safe_mode_exec_dir =
357 |
358 | ; Setting certain environment variables may be a potential security breach.
359 | ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
360 | ; the user may only alter environment variables whose names begin with the
361 | ; prefixes supplied here. By default, users will only be able to set
362 | ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
363 | ; Note: If this directive is empty, PHP will let the user modify ANY
364 | ; environment variable!
365 | ; http://php.net/safe-mode-allowed-env-vars
366 | safe_mode_allowed_env_vars = PHP_
367 |
368 | ; This directive contains a comma-delimited list of environment variables that
369 | ; the end user won't be able to change using putenv(). These variables will be
370 | ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
371 | ; http://php.net/safe-mode-protected-env-vars
372 | safe_mode_protected_env_vars = LD_LIBRARY_PATH
373 |
374 | ; open_basedir, if set, limits all file operations to the defined directory
375 | ; and below. This directive makes most sense if used in a per-directory
376 | ; or per-virtualhost web server configuration file. This directive is
377 | ; *NOT* affected by whether Safe Mode is turned On or Off.
378 | ; http://php.net/open-basedir
379 | ;open_basedir =
380 |
381 | ; This directive allows you to disable certain functions for security reasons.
382 | ; It receives a comma-delimited list of function names. This directive is
383 | ; *NOT* affected by whether Safe Mode is turned On or Off.
384 | ; http://php.net/disable-functions
385 | disable_functions =
386 |
387 | ; This directive allows you to disable certain classes for security reasons.
388 | ; It receives a comma-delimited list of class names. This directive is
389 | ; *NOT* affected by whether Safe Mode is turned On or Off.
390 | ; http://php.net/disable-classes
391 | disable_classes =
392 |
393 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in
394 | ; would work.
395 | ; http://php.net/syntax-highlighting
396 | ;highlight.string = #DD0000
397 | ;highlight.comment = #FF9900
398 | ;highlight.keyword = #007700
399 | ;highlight.bg = #FFFFFF
400 | ;highlight.default = #0000BB
401 | ;highlight.html = #000000
402 |
403 | ; If enabled, the request will be allowed to complete even if the user aborts
404 | ; the request. Consider enabling it if executing long requests, which may end up
405 | ; being interrupted by the user or a browser timing out. PHP's default behavior
406 | ; is to disable this feature.
407 | ; http://php.net/ignore-user-abort
408 | ;ignore_user_abort = On
409 |
410 | ; Determines the size of the realpath cache to be used by PHP. This value should
411 | ; be increased on systems where PHP opens many files to reflect the quantity of
412 | ; the file operations performed.
413 | ; http://php.net/realpath-cache-size
414 | ;realpath_cache_size = 16k
415 |
416 | ; Duration of time, in seconds for which to cache realpath information for a given
417 | ; file or directory. For systems with rarely changing files, consider increasing this
418 | ; value.
419 | ; http://php.net/realpath-cache-ttl
420 | ;realpath_cache_ttl = 120
421 |
422 | ;;;;;;;;;;;;;;;;;
423 | ; Miscellaneous ;
424 | ;;;;;;;;;;;;;;;;;
425 |
426 | ; Decides whether PHP may expose the fact that it is installed on the server
427 | ; (e.g. by adding its signature to the Web server header). It is no security
428 | ; threat in any way, but it makes it possible to determine whether you use PHP
429 | ; on your server or not.
430 | ; http://php.net/expose-php
431 | expose_php = On
432 |
433 | ;;;;;;;;;;;;;;;;;;;
434 | ; Resource Limits ;
435 | ;;;;;;;;;;;;;;;;;;;
436 |
437 | ; Maximum execution time of each script, in seconds
438 | ; http://php.net/max-execution-time
439 | ; Note: This directive is hardcoded to 0 for the CLI SAPI
440 | max_execution_time = 30
441 |
442 | ; Maximum amount of time each script may spend parsing request data. It's a good
443 | ; idea to limit this time on productions servers in order to eliminate unexpectedly
444 | ; long running scripts.
445 | ; Note: This directive is hardcoded to -1 for the CLI SAPI
446 | ; Default Value: -1 (Unlimited)
447 | ; Development Value: 60 (60 seconds)
448 | ; Production Value: 60 (60 seconds)
449 | ; http://php.net/max-input-time
450 | max_input_time = 60
451 |
452 | ; Maximum input variable nesting level
453 | ; http://php.net/max-input-nesting-level
454 | ;max_input_nesting_level = 64
455 |
456 | ; Maximum amount of memory a script may consume (128MB)
457 | ; http://php.net/memory-limit
458 | memory_limit = 128M
459 |
460 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
461 | ; Error handling and logging ;
462 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
463 |
464 | ; This directive informs PHP of which errors, warnings and notices you would like
465 | ; it to take action for. The recommended way of setting values for this
466 | ; directive is through the use of the error level constants and bitwise
467 | ; operators. The error level constants are below here for convenience as well as
468 | ; some common settings and their meanings.
469 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
470 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and
471 | ; recommended coding standards in PHP. For performance reasons, this is the
472 | ; recommend error reporting setting. Your production server shouldn't be wasting
473 | ; resources complaining about best practices and coding standards. That's what
474 | ; development servers and development settings are for.
475 | ; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
476 | ; means it pretty much reports everything which is exactly what you want during
477 | ; development and early testing.
478 | ;
479 | ; Error Level Constants:
480 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
481 | ; E_ERROR - fatal run-time errors
482 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors
483 | ; E_WARNING - run-time warnings (non-fatal errors)
484 | ; E_PARSE - compile-time parse errors
485 | ; E_NOTICE - run-time notices (these are warnings which often result
486 | ; from a bug in your code, but it's possible that it was
487 | ; intentional (e.g., using an uninitialized variable and
488 | ; relying on the fact it's automatically initialized to an
489 | ; empty string)
490 | ; E_STRICT - run-time notices, enable to have PHP suggest changes
491 | ; to your code which will ensure the best interoperability
492 | ; and forward compatibility of your code
493 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
494 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
495 | ; initial startup
496 | ; E_COMPILE_ERROR - fatal compile-time errors
497 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
498 | ; E_USER_ERROR - user-generated error message
499 | ; E_USER_WARNING - user-generated warning message
500 | ; E_USER_NOTICE - user-generated notice message
501 | ; E_DEPRECATED - warn about code that will not work in future versions
502 | ; of PHP
503 | ; E_USER_DEPRECATED - user-generated deprecation warnings
504 | ;
505 | ; Common Values:
506 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
507 | ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
508 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
509 | ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
510 | ; Default Value: E_ALL & ~E_NOTICE
511 | ; Development Value: E_ALL | E_STRICT
512 | ; Production Value: E_ALL & ~E_DEPRECATED
513 | ; http://php.net/error-reporting
514 | ;error_reporting = E_ALL & ~E_DEPRECATED
515 | error_reporting = E_ALL | E_STRICT
516 |
517 | ; This directive controls whether or not and where PHP will output errors,
518 | ; notices and warnings too. Error output is very useful during development, but
519 | ; it could be very dangerous in production environments. Depending on the code
520 | ; which is triggering the error, sensitive information could potentially leak
521 | ; out of your application such as database usernames and passwords or worse.
522 | ; It's recommended that errors be logged on production servers rather than
523 | ; having the errors sent to STDOUT.
524 | ; Possible Values:
525 | ; Off = Do not display any errors
526 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
527 | ; On or stdout = Display errors to STDOUT
528 | ; Default Value: On
529 | ; Development Value: On
530 | ; Production Value: Off
531 | ; http://php.net/display-errors
532 | display_errors = Off
533 |
534 | ; The display of errors which occur during PHP's startup sequence are handled
535 | ; separately from display_errors. PHP's default behavior is to suppress those
536 | ; errors from clients. Turning the display of startup errors on can be useful in
537 | ; debugging configuration problems. But, it's strongly recommended that you
538 | ; leave this setting off on production servers.
539 | ; Default Value: Off
540 | ; Development Value: On
541 | ; Production Value: Off
542 | ; http://php.net/display-startup-errors
543 | display_startup_errors = Off
544 |
545 | ; Besides displaying errors, PHP can also log errors to locations such as a
546 | ; server-specific log, STDERR, or a location specified by the error_log
547 | ; directive found below. While errors should not be displayed on productions
548 | ; servers they should still be monitored and logging is a great way to do that.
549 | ; Default Value: Off
550 | ; Development Value: On
551 | ; Production Value: On
552 | ; http://php.net/log-errors
553 | log_errors = On
554 |
555 | ; Set maximum length of log_errors. In error_log information about the source is
556 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
557 | ; http://php.net/log-errors-max-len
558 | log_errors_max_len = 1024
559 |
560 | ; Do not log repeated messages. Repeated errors must occur in same file on same
561 | ; line unless ignore_repeated_source is set true.
562 | ; http://php.net/ignore-repeated-errors
563 | ignore_repeated_errors = Off
564 |
565 | ; Ignore source of message when ignoring repeated messages. When this setting
566 | ; is On you will not log errors with repeated messages from different files or
567 | ; source lines.
568 | ; http://php.net/ignore-repeated-source
569 | ignore_repeated_source = Off
570 |
571 | ; If this parameter is set to Off, then memory leaks will not be shown (on
572 | ; stdout or in the log). This has only effect in a debug compile, and if
573 | ; error reporting includes E_WARNING in the allowed list
574 | ; http://php.net/report-memleaks
575 | report_memleaks = On
576 |
577 | ; This setting is on by default.
578 | ;report_zend_debug = 0
579 |
580 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
581 | ; to On can assist in debugging and is appropriate for development servers. It should
582 | ; however be disabled on production servers.
583 | ; Default Value: Off
584 | ; Development Value: On
585 | ; Production Value: Off
586 | ; http://php.net/track-errors
587 | track_errors = Off
588 |
589 | ; Turn off normal error reporting and emit XML-RPC error XML
590 | ; http://php.net/xmlrpc-errors
591 | ;xmlrpc_errors = 0
592 |
593 | ; An XML-RPC faultCode
594 | ;xmlrpc_error_number = 0
595 |
596 | ; When PHP displays or logs an error, it has the capability of inserting html
597 | ; links to documentation related to that error. This directive controls whether
598 | ; those HTML links appear in error messages or not. For performance and security
599 | ; reasons, it's recommended you disable this on production servers.
600 | ; Note: This directive is hardcoded to Off for the CLI SAPI
601 | ; Default Value: On
602 | ; Development Value: On
603 | ; Production value: Off
604 | ; http://php.net/html-errors
605 | html_errors = Off
606 |
607 | ; If html_errors is set On PHP produces clickable error messages that direct
608 | ; to a page describing the error or function causing the error in detail.
609 | ; You can download a copy of the PHP manual from http://php.net/docs
610 | ; and change docref_root to the base URL of your local copy including the
611 | ; leading '/'. You must also specify the file extension being used including
612 | ; the dot. PHP's default behavior is to leave these settings empty.
613 | ; Note: Never use this feature for production boxes.
614 | ; http://php.net/docref-root
615 | ; Examples
616 | ;docref_root = "/phpmanual/"
617 |
618 | ; http://php.net/docref-ext
619 | ;docref_ext = .html
620 |
621 | ; String to output before an error message. PHP's default behavior is to leave
622 | ; this setting blank.
623 | ; http://php.net/error-prepend-string
624 | ; Example:
625 | ;error_prepend_string = ""
626 |
627 | ; String to output after an error message. PHP's default behavior is to leave
628 | ; this setting blank.
629 | ; http://php.net/error-append-string
630 | ; Example:
631 | ;error_append_string = ""
632 |
633 | ; Log errors to specified file. PHP's default behavior is to leave this value
634 | ; empty.
635 | ; http://php.net/error-log
636 | ; Example:
637 | ;error_log = php_errors.log
638 | ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
639 | ;error_log = syslog
640 |
641 | ;;;;;;;;;;;;;;;;;
642 | ; Data Handling ;
643 | ;;;;;;;;;;;;;;;;;
644 |
645 | ; The separator used in PHP generated URLs to separate arguments.
646 | ; PHP's default setting is "&".
647 | ; http://php.net/arg-separator.output
648 | ; Example:
649 | ;arg_separator.output = "&"
650 |
651 | ; List of separator(s) used by PHP to parse input URLs into variables.
652 | ; PHP's default setting is "&".
653 | ; NOTE: Every character in this directive is considered as separator!
654 | ; http://php.net/arg-separator.input
655 | ; Example:
656 | ;arg_separator.input = ";&"
657 |
658 | ; This directive determines which super global arrays are registered when PHP
659 | ; starts up. If the register_globals directive is enabled, it also determines
660 | ; what order variables are populated into the global space. G,P,C,E & S are
661 | ; abbreviations for the following respective super globals: GET, POST, COOKIE,
662 | ; ENV and SERVER. There is a performance penalty paid for the registration of
663 | ; these arrays and because ENV is not as commonly used as the others, ENV is
664 | ; is not recommended on productions servers. You can still get access to
665 | ; the environment variables through getenv() should you need to.
666 | ; Default Value: "EGPCS"
667 | ; Development Value: "GPCS"
668 | ; Production Value: "GPCS";
669 | ; http://php.net/variables-order
670 | variables_order = "GPCS"
671 |
672 | ; This directive determines which super global data (G,P,C,E & S) should
673 | ; be registered into the super global array REQUEST. If so, it also determines
674 | ; the order in which that data is registered. The values for this directive are
675 | ; specified in the same manner as the variables_order directive, EXCEPT one.
676 | ; Leaving this value empty will cause PHP to use the value set in the
677 | ; variables_order directive. It does not mean it will leave the super globals
678 | ; array REQUEST empty.
679 | ; Default Value: None
680 | ; Development Value: "GP"
681 | ; Production Value: "GP"
682 | ; http://php.net/request-order
683 | request_order = "GP"
684 |
685 | ; Whether or not to register the EGPCS variables as global variables. You may
686 | ; want to turn this off if you don't want to clutter your scripts' global scope
687 | ; with user data.
688 | ; You should do your best to write your scripts so that they do not require
689 | ; register_globals to be on; Using form variables as globals can easily lead
690 | ; to possible security problems, if the code is not very well thought of.
691 | ; http://php.net/register-globals
692 | register_globals = Off
693 |
694 | ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
695 | ; are registered by PHP or not. As they are deprecated, we obviously don't
696 | ; recommend you use them. They are on by default for compatibility reasons but
697 | ; they are not recommended on production servers.
698 | ; Default Value: On
699 | ; Development Value: Off
700 | ; Production Value: Off
701 | ; http://php.net/register-long-arrays
702 | register_long_arrays = Off
703 |
704 | ; This directive determines whether PHP registers $argv & $argc each time it
705 | ; runs. $argv contains an array of all the arguments passed to PHP when a script
706 | ; is invoked. $argc contains an integer representing the number of arguments
707 | ; that were passed when the script was invoked. These arrays are extremely
708 | ; useful when running scripts from the command line. When this directive is
709 | ; enabled, registering these variables consumes CPU cycles and memory each time
710 | ; a script is executed. For performance reasons, this feature should be disabled
711 | ; on production servers.
712 | ; Note: This directive is hardcoded to On for the CLI SAPI
713 | ; Default Value: On
714 | ; Development Value: Off
715 | ; Production Value: Off
716 | ; http://php.net/register-argc-argv
717 | register_argc_argv = Off
718 |
719 | ; When enabled, the SERVER and ENV variables are created when they're first
720 | ; used (Just In Time) instead of when the script starts. If these variables
721 | ; are not used within a script, having this directive on will result in a
722 | ; performance gain. The PHP directives register_globals, register_long_arrays,
723 | ; and register_argc_argv must be disabled for this directive to have any affect.
724 | ; http://php.net/auto-globals-jit
725 | auto_globals_jit = On
726 |
727 | ; Maximum size of POST data that PHP will accept.
728 | ; http://php.net/post-max-size
729 | post_max_size = 8M
730 |
731 | ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
732 | ; escape any character sequences in GET, POST, COOKIE and ENV data which might
733 | ; otherwise corrupt data being placed in resources such as databases before
734 | ; making that data available to you. Because of character encoding issues and
735 | ; non-standard SQL implementations across many databases, it's not currently
736 | ; possible for this feature to be 100% accurate. PHP's default behavior is to
737 | ; enable the feature. We strongly recommend you use the escaping mechanisms
738 | ; designed specifically for the database your using instead of relying on this
739 | ; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
740 | ; scheduled for removal in PHP 6.
741 | ; Default Value: On
742 | ; Development Value: Off
743 | ; Production Value: Off
744 | ; http://php.net/magic-quotes-gpc
745 | magic_quotes_gpc = Off
746 |
747 | ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
748 | ; http://php.net/magic-quotes-runtime
749 | magic_quotes_runtime = Off
750 |
751 | ; Use Sybase-style magic quotes (escape ' with '' instead of \').
752 | ; http://php.net/magic-quotes-sybase
753 | magic_quotes_sybase = Off
754 |
755 | ; Automatically add files before PHP document.
756 | ; http://php.net/auto-prepend-file
757 | auto_prepend_file =
758 |
759 | ; Automatically add files after PHP document.
760 | ; http://php.net/auto-append-file
761 | auto_append_file =
762 |
763 | ; By default, PHP will output a character encoding using
764 | ; the Content-type: header. To disable sending of the charset, simply
765 | ; set it to be empty.
766 | ;
767 | ; PHP's built-in default is text/html
768 | ; http://php.net/default-mimetype
769 | default_mimetype = "text/html"
770 |
771 | ; PHP's default character set is set to empty.
772 | ; http://php.net/default-charset
773 | ;default_charset = "iso-8859-1"
774 |
775 | ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
776 | ; to disable this feature.
777 | ; http://php.net/always-populate-raw-post-data
778 | ;always_populate_raw_post_data = On
779 |
780 | ;;;;;;;;;;;;;;;;;;;;;;;;;
781 | ; Paths and Directories ;
782 | ;;;;;;;;;;;;;;;;;;;;;;;;;
783 |
784 | ; UNIX: "/path1:/path2"
785 | ;include_path = ".:/php/includes"
786 | ;
787 | ; Windows: "\path1;\path2"
788 | ;include_path = ".;c:\php\includes"
789 | ;
790 | ; PHP's default setting for include_path is ".;/path/to/php/pear"
791 | ; http://php.net/include-path
792 |
793 | ; The root of the PHP pages, used only if nonempty.
794 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
795 | ; if you are running php as a CGI under any web server (other than IIS)
796 | ; see documentation for security issues. The alternate is to use the
797 | ; cgi.force_redirect configuration below
798 | ; http://php.net/doc-root
799 | doc_root =
800 |
801 | ; The directory under which PHP opens the script using /~username used only
802 | ; if nonempty.
803 | ; http://php.net/user-dir
804 | user_dir =
805 |
806 | ; Directory in which the loadable extensions (modules) reside.
807 | ; http://php.net/extension-dir
808 | ; extension_dir = "./"
809 | ; On windows:
810 | ; extension_dir = "ext"
811 |
812 | ; Whether or not to enable the dl() function. The dl() function does NOT work
813 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
814 | ; disabled on them.
815 | ; http://php.net/enable-dl
816 | enable_dl = Off
817 |
818 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
819 | ; most web servers. Left undefined, PHP turns this on by default. You can
820 | ; turn it off here AT YOUR OWN RISK
821 | ; **You CAN safely turn this off for IIS, in fact, you MUST.**
822 | ; http://php.net/cgi.force-redirect
823 | ;cgi.force_redirect = 1
824 |
825 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
826 | ; every request. PHP's default behavior is to disable this feature.
827 | ;cgi.nph = 1
828 |
829 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
830 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
831 | ; will look for to know it is OK to continue execution. Setting this variable MAY
832 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
833 | ; http://php.net/cgi.redirect-status-env
834 | ;cgi.redirect_status_env = ;
835 |
836 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
837 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
838 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
839 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
840 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
841 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
842 | ; http://php.net/cgi.fix-pathinfo
843 | ;cgi.fix_pathinfo=1
844 |
845 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
846 | ; security tokens of the calling client. This allows IIS to define the
847 | ; security context that the request runs under. mod_fastcgi under Apache
848 | ; does not currently support this feature (03/17/2002)
849 | ; Set to 1 if running under IIS. Default is zero.
850 | ; http://php.net/fastcgi.impersonate
851 | ;fastcgi.impersonate = 1;
852 |
853 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable
854 | ; this feature.
855 | ;fastcgi.logging = 0
856 |
857 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
858 | ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
859 | ; is supported by Apache. When this option is set to 1 PHP will send
860 | ; RFC2616 compliant header.
861 | ; Default is zero.
862 | ; http://php.net/cgi.rfc2616-headers
863 | ;cgi.rfc2616_headers = 0
864 |
865 | ;;;;;;;;;;;;;;;;
866 | ; File Uploads ;
867 | ;;;;;;;;;;;;;;;;
868 |
869 | ; Whether to allow HTTP file uploads.
870 | ; http://php.net/file-uploads
871 | file_uploads = On
872 |
873 | ; Temporary directory for HTTP uploaded files (will use system default if not
874 | ; specified).
875 | ; http://php.net/upload-tmp-dir
876 | ;upload_tmp_dir =
877 |
878 | ; Maximum allowed size for uploaded files.
879 | ; http://php.net/upload-max-filesize
880 | upload_max_filesize = 2M
881 |
882 | ; Maximum number of files that can be uploaded via a single request
883 | max_file_uploads = 20
884 |
885 | ;;;;;;;;;;;;;;;;;;
886 | ; Fopen wrappers ;
887 | ;;;;;;;;;;;;;;;;;;
888 |
889 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
890 | ; http://php.net/allow-url-fopen
891 | allow_url_fopen = On
892 |
893 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
894 | ; http://php.net/allow-url-include
895 | allow_url_include = Off
896 |
897 | ; Define the anonymous ftp password (your email address). PHP's default setting
898 | ; for this is empty.
899 | ; http://php.net/from
900 | ;from="john@doe.com"
901 |
902 | ; Define the User-Agent string. PHP's default setting for this is empty.
903 | ; http://php.net/user-agent
904 | ;user_agent="PHP"
905 |
906 | ; Default timeout for socket based streams (seconds)
907 | ; http://php.net/default-socket-timeout
908 | default_socket_timeout = 60
909 |
910 | ; If your scripts have to deal with files from Macintosh systems,
911 | ; or you are running on a Mac and need to deal with files from
912 | ; unix or win32 systems, setting this flag will cause PHP to
913 | ; automatically detect the EOL character in those files so that
914 | ; fgets() and file() will work regardless of the source of the file.
915 | ; http://php.net/auto-detect-line-endings
916 | ;auto_detect_line_endings = Off
917 |
918 | ;;;;;;;;;;;;;;;;;;;;;;
919 | ; Dynamic Extensions ;
920 | ;;;;;;;;;;;;;;;;;;;;;;
921 |
922 | ; If you wish to have an extension loaded automatically, use the following
923 | ; syntax:
924 | ;
925 | ; extension=modulename.extension
926 | ;
927 | ; For example, on Windows:
928 | ;
929 | ; extension=msql.dll
930 | ;
931 | ; ... or under UNIX:
932 | ;
933 | ; extension=msql.so
934 | ;
935 | ; ... or with a path:
936 | ;
937 | ; extension=/path/to/extension/msql.so
938 | ;
939 | ; If you only provide the name of the extension, PHP will look for it in its
940 | ; default extension directory.
941 | ;
942 | ; Windows Extensions
943 | ; Note that ODBC support is built in, so no dll is needed for it.
944 | ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
945 | ; extension folders as well as the separate PECL DLL download (PHP 5).
946 | ; Be sure to appropriately set the extension_dir directive.
947 | ;
948 | ;extension=php_bz2.dll
949 | ;extension=php_curl.dll
950 | ;extension=php_fileinfo.dll
951 | ;extension=php_gd2.dll
952 | ;extension=php_gettext.dll
953 | ;extension=php_gmp.dll
954 | ;extension=php_intl.dll
955 | ;extension=php_imap.dll
956 | ;extension=php_interbase.dll
957 | ;extension=php_ldap.dll
958 | ;extension=php_mbstring.dll
959 | ;extension=php_exif.dll ; Must be after mbstring as it depends on it
960 | ;extension=php_mysql.dll
961 | ;extension=php_mysqli.dll
962 | ;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
963 | ;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
964 | ;extension=php_openssl.dll
965 | ;extension=php_pdo_firebird.dll
966 | ;extension=php_pdo_mssql.dll
967 | ;extension=php_pdo_mysql.dll
968 | ;extension=php_pdo_oci.dll
969 | ;extension=php_pdo_odbc.dll
970 | ;extension=php_pdo_pgsql.dll
971 | ;extension=php_pdo_sqlite.dll
972 | ;extension=php_pgsql.dll
973 | ;extension=php_pspell.dll
974 | ;extension=php_shmop.dll
975 |
976 | ; The MIBS data available in the PHP distribution must be installed.
977 | ; See http://www.php.net/manual/en/snmp.installation.php
978 | ;extension=php_snmp.dll
979 |
980 | ;extension=php_soap.dll
981 | ;extension=php_sockets.dll
982 | ;extension=php_sqlite.dll
983 | ;extension=php_sqlite3.dll
984 | ;extension=php_sybase_ct.dll
985 | ;extension=php_tidy.dll
986 | ;extension=php_xmlrpc.dll
987 | ;extension=php_xsl.dll
988 | ;extension=php_zip.dll
989 |
990 | ;;;;;;;;;;;;;;;;;;;
991 | ; Module Settings ;
992 | ;;;;;;;;;;;;;;;;;;;
993 |
994 | [Date]
995 | ; Defines the default timezone used by the date functions
996 | ; http://php.net/date.timezone
997 | ;date.timezone =
998 |
999 | ; http://php.net/date.default-latitude
1000 | ;date.default_latitude = 31.7667
1001 |
1002 | ; http://php.net/date.default-longitude
1003 | ;date.default_longitude = 35.2333
1004 |
1005 | ; http://php.net/date.sunrise-zenith
1006 | ;date.sunrise_zenith = 90.583333
1007 |
1008 | ; http://php.net/date.sunset-zenith
1009 | ;date.sunset_zenith = 90.583333
1010 |
1011 | [filter]
1012 | ; http://php.net/filter.default
1013 | ;filter.default = unsafe_raw
1014 |
1015 | ; http://php.net/filter.default-flags
1016 | ;filter.default_flags =
1017 |
1018 | [iconv]
1019 | ;iconv.input_encoding = ISO-8859-1
1020 | ;iconv.internal_encoding = ISO-8859-1
1021 | ;iconv.output_encoding = ISO-8859-1
1022 |
1023 | [intl]
1024 | ;intl.default_locale =
1025 | ; This directive allows you to produce PHP errors when some error
1026 | ; happens within intl functions. The value is the level of the error produced.
1027 | ; Default is 0, which does not produce any errors.
1028 | ;intl.error_level = E_WARNING
1029 |
1030 | [sqlite]
1031 | ; http://php.net/sqlite.assoc-case
1032 | ;sqlite.assoc_case = 0
1033 |
1034 | [sqlite3]
1035 | ;sqlite3.extension_dir =
1036 |
1037 | [Pcre]
1038 | ;PCRE library backtracking limit.
1039 | ; http://php.net/pcre.backtrack-limit
1040 | ;pcre.backtrack_limit=100000
1041 |
1042 | ;PCRE library recursion limit.
1043 | ;Please note that if you set this value to a high number you may consume all
1044 | ;the available process stack and eventually crash PHP (due to reaching the
1045 | ;stack size limit imposed by the Operating System).
1046 | ; http://php.net/pcre.recursion-limit
1047 | ;pcre.recursion_limit=100000
1048 |
1049 | [Pdo]
1050 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1051 | ; http://php.net/pdo-odbc.connection-pooling
1052 | ;pdo_odbc.connection_pooling=strict
1053 |
1054 | ;pdo_odbc.db2_instance_name
1055 |
1056 | [Pdo_mysql]
1057 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
1058 | ; http://php.net/pdo_mysql.cache_size
1059 | pdo_mysql.cache_size = 2000
1060 |
1061 | ; Default socket name for local MySQL connects. If empty, uses the built-in
1062 | ; MySQL defaults.
1063 | ; http://php.net/pdo_mysql.default-socket
1064 | pdo_mysql.default_socket=
1065 |
1066 | [Phar]
1067 | ; http://php.net/phar.readonly
1068 | ;phar.readonly = On
1069 |
1070 | ; http://php.net/phar.require-hash
1071 | ;phar.require_hash = On
1072 |
1073 | ;phar.cache_list =
1074 |
1075 | [Syslog]
1076 | ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
1077 | ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
1078 | ; runtime, you can define these variables by calling define_syslog_variables().
1079 | ; http://php.net/define-syslog-variables
1080 | define_syslog_variables = Off
1081 |
1082 | [mail function]
1083 | ; For Win32 only.
1084 | ; http://php.net/smtp
1085 | SMTP = localhost
1086 | ; http://php.net/smtp-port
1087 | smtp_port = 25
1088 |
1089 | ; For Win32 only.
1090 | ; http://php.net/sendmail-from
1091 | ;sendmail_from = me@example.com
1092 |
1093 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
1094 | ; http://php.net/sendmail-path
1095 | ;sendmail_path =
1096 |
1097 | ; Force the addition of the specified parameters to be passed as extra parameters
1098 | ; to the sendmail binary. These parameters will always replace the value of
1099 | ; the 5th parameter to mail(), even in safe mode.
1100 | ;mail.force_extra_parameters =
1101 |
1102 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1103 | mail.add_x_header = On
1104 |
1105 | ; The path to a log file that will log all mail() calls. Log entries include
1106 | ; the full path of the script, line number, To address and headers.
1107 | ;mail.log =
1108 |
1109 | [SQL]
1110 | ; http://php.net/sql.safe-mode
1111 | sql.safe_mode = Off
1112 |
1113 | [ODBC]
1114 | ; http://php.net/odbc.default-db
1115 | ;odbc.default_db = Not yet implemented
1116 |
1117 | ; http://php.net/odbc.default-user
1118 | ;odbc.default_user = Not yet implemented
1119 |
1120 | ; http://php.net/odbc.default-pw
1121 | ;odbc.default_pw = Not yet implemented
1122 |
1123 | ; Controls the ODBC cursor model.
1124 | ; Default: SQL_CURSOR_STATIC (default).
1125 | ;odbc.default_cursortype
1126 |
1127 | ; Allow or prevent persistent links.
1128 | ; http://php.net/odbc.allow-persistent
1129 | odbc.allow_persistent = On
1130 |
1131 | ; Check that a connection is still valid before reuse.
1132 | ; http://php.net/odbc.check-persistent
1133 | odbc.check_persistent = On
1134 |
1135 | ; Maximum number of persistent links. -1 means no limit.
1136 | ; http://php.net/odbc.max-persistent
1137 | odbc.max_persistent = -1
1138 |
1139 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1140 | ; http://php.net/odbc.max-links
1141 | odbc.max_links = -1
1142 |
1143 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means
1144 | ; passthru.
1145 | ; http://php.net/odbc.defaultlrl
1146 | odbc.defaultlrl = 4096
1147 |
1148 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1149 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1150 | ; of odbc.defaultlrl and odbc.defaultbinmode
1151 | ; http://php.net/odbc.defaultbinmode
1152 | odbc.defaultbinmode = 1
1153 |
1154 | ;birdstep.max_links = -1
1155 |
1156 | [Interbase]
1157 | ; Allow or prevent persistent links.
1158 | ibase.allow_persistent = 1
1159 |
1160 | ; Maximum number of persistent links. -1 means no limit.
1161 | ibase.max_persistent = -1
1162 |
1163 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1164 | ibase.max_links = -1
1165 |
1166 | ; Default database name for ibase_connect().
1167 | ;ibase.default_db =
1168 |
1169 | ; Default username for ibase_connect().
1170 | ;ibase.default_user =
1171 |
1172 | ; Default password for ibase_connect().
1173 | ;ibase.default_password =
1174 |
1175 | ; Default charset for ibase_connect().
1176 | ;ibase.default_charset =
1177 |
1178 | ; Default timestamp format.
1179 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1180 |
1181 | ; Default date format.
1182 | ibase.dateformat = "%Y-%m-%d"
1183 |
1184 | ; Default time format.
1185 | ibase.timeformat = "%H:%M:%S"
1186 |
1187 | [MySQL]
1188 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1189 | ; http://php.net/mysql.allow_local_infile
1190 | mysql.allow_local_infile = On
1191 |
1192 | ; Allow or prevent persistent links.
1193 | ; http://php.net/mysql.allow-persistent
1194 | mysql.allow_persistent = On
1195 |
1196 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
1197 | ; http://php.net/mysql.cache_size
1198 | mysql.cache_size = 2000
1199 |
1200 | ; Maximum number of persistent links. -1 means no limit.
1201 | ; http://php.net/mysql.max-persistent
1202 | mysql.max_persistent = -1
1203 |
1204 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1205 | ; http://php.net/mysql.max-links
1206 | mysql.max_links = -1
1207 |
1208 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use
1209 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1210 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1211 | ; at MYSQL_PORT.
1212 | ; http://php.net/mysql.default-port
1213 | mysql.default_port =
1214 |
1215 | ; Default socket name for local MySQL connects. If empty, uses the built-in
1216 | ; MySQL defaults.
1217 | ; http://php.net/mysql.default-socket
1218 | mysql.default_socket =
1219 |
1220 | ; Default host for mysql_connect() (doesn't apply in safe mode).
1221 | ; http://php.net/mysql.default-host
1222 | mysql.default_host =
1223 |
1224 | ; Default user for mysql_connect() (doesn't apply in safe mode).
1225 | ; http://php.net/mysql.default-user
1226 | mysql.default_user =
1227 |
1228 | ; Default password for mysql_connect() (doesn't apply in safe mode).
1229 | ; Note that this is generally a *bad* idea to store passwords in this file.
1230 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1231 | ; and reveal this password! And of course, any users with read access to this
1232 | ; file will be able to reveal the password as well.
1233 | ; http://php.net/mysql.default-password
1234 | mysql.default_password =
1235 |
1236 | ; Maximum time (in seconds) for connect timeout. -1 means no limit
1237 | ; http://php.net/mysql.connect-timeout
1238 | mysql.connect_timeout = 60
1239 |
1240 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1241 | ; SQL-Errors will be displayed.
1242 | ; http://php.net/mysql.trace-mode
1243 | mysql.trace_mode = Off
1244 |
1245 | [MySQLi]
1246 |
1247 | ; Maximum number of persistent links. -1 means no limit.
1248 | ; http://php.net/mysqli.max-persistent
1249 | mysqli.max_persistent = -1
1250 |
1251 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1252 | ; http://php.net/mysqli.allow_local_infile
1253 | ;mysqli.allow_local_infile = On
1254 |
1255 | ; Allow or prevent persistent links.
1256 | ; http://php.net/mysqli.allow-persistent
1257 | mysqli.allow_persistent = On
1258 |
1259 | ; Maximum number of links. -1 means no limit.
1260 | ; http://php.net/mysqli.max-links
1261 | mysqli.max_links = -1
1262 |
1263 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
1264 | ; http://php.net/mysqli.cache_size
1265 | mysqli.cache_size = 2000
1266 |
1267 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1268 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1269 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1270 | ; at MYSQL_PORT.
1271 | ; http://php.net/mysqli.default-port
1272 | mysqli.default_port = 3306
1273 |
1274 | ; Default socket name for local MySQL connects. If empty, uses the built-in
1275 | ; MySQL defaults.
1276 | ; http://php.net/mysqli.default-socket
1277 | mysqli.default_socket =
1278 |
1279 | ; Default host for mysql_connect() (doesn't apply in safe mode).
1280 | ; http://php.net/mysqli.default-host
1281 | mysqli.default_host =
1282 |
1283 | ; Default user for mysql_connect() (doesn't apply in safe mode).
1284 | ; http://php.net/mysqli.default-user
1285 | mysqli.default_user =
1286 |
1287 | ; Default password for mysqli_connect() (doesn't apply in safe mode).
1288 | ; Note that this is generally a *bad* idea to store passwords in this file.
1289 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1290 | ; and reveal this password! And of course, any users with read access to this
1291 | ; file will be able to reveal the password as well.
1292 | ; http://php.net/mysqli.default-pw
1293 | mysqli.default_pw =
1294 |
1295 | ; Allow or prevent reconnect
1296 | mysqli.reconnect = Off
1297 |
1298 | [mysqlnd]
1299 | ; Enable / Disable collection of general statstics by mysqlnd which can be
1300 | ; used to tune and monitor MySQL operations.
1301 | ; http://php.net/mysqlnd.collect_statistics
1302 | mysqlnd.collect_statistics = On
1303 |
1304 | ; Enable / Disable collection of memory usage statstics by mysqlnd which can be
1305 | ; used to tune and monitor MySQL operations.
1306 | ; http://php.net/mysqlnd.collect_memory_statistics
1307 | mysqlnd.collect_memory_statistics = Off
1308 |
1309 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1310 | ; http://php.net/mysqlnd.net_cmd_buffer_size
1311 | ;mysqlnd.net_cmd_buffer_size = 2048
1312 |
1313 | ; Size of a pre-allocated buffer used for reading data sent by the server in
1314 | ; bytes.
1315 | ; http://php.net/mysqlnd.net_read_buffer_size
1316 | ;mysqlnd.net_read_buffer_size = 32768
1317 |
1318 | [OCI8]
1319 |
1320 | ; Connection: Enables privileged connections using external
1321 | ; credentials (OCI_SYSOPER, OCI_SYSDBA)
1322 | ; http://php.net/oci8.privileged-connect
1323 | ;oci8.privileged_connect = Off
1324 |
1325 | ; Connection: The maximum number of persistent OCI8 connections per
1326 | ; process. Using -1 means no limit.
1327 | ; http://php.net/oci8.max-persistent
1328 | ;oci8.max_persistent = -1
1329 |
1330 | ; Connection: The maximum number of seconds a process is allowed to
1331 | ; maintain an idle persistent connection. Using -1 means idle
1332 | ; persistent connections will be maintained forever.
1333 | ; http://php.net/oci8.persistent-timeout
1334 | ;oci8.persistent_timeout = -1
1335 |
1336 | ; Connection: The number of seconds that must pass before issuing a
1337 | ; ping during oci_pconnect() to check the connection validity. When
1338 | ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1339 | ; pings completely.
1340 | ; http://php.net/oci8.ping-interval
1341 | ;oci8.ping_interval = 60
1342 |
1343 | ; Connection: Set this to a user chosen connection class to be used
1344 | ; for all pooled server requests with Oracle 11g Database Resident
1345 | ; Connection Pooling (DRCP). To use DRCP, this value should be set to
1346 | ; the same string for all web servers running the same application,
1347 | ; the database pool must be configured, and the connection string must
1348 | ; specify to use a pooled server.
1349 | ;oci8.connection_class =
1350 |
1351 | ; High Availability: Using On lets PHP receive Fast Application
1352 | ; Notification (FAN) events generated when a database node fails. The
1353 | ; database must also be configured to post FAN events.
1354 | ;oci8.events = Off
1355 |
1356 | ; Tuning: This option enables statement caching, and specifies how
1357 | ; many statements to cache. Using 0 disables statement caching.
1358 | ; http://php.net/oci8.statement-cache-size
1359 | ;oci8.statement_cache_size = 20
1360 |
1361 | ; Tuning: Enables statement prefetching and sets the default number of
1362 | ; rows that will be fetched automatically after statement execution.
1363 | ; http://php.net/oci8.default-prefetch
1364 | ;oci8.default_prefetch = 100
1365 |
1366 | ; Compatibility. Using On means oci_close() will not close
1367 | ; oci_connect() and oci_new_connect() connections.
1368 | ; http://php.net/oci8.old-oci-close-semantics
1369 | ;oci8.old_oci_close_semantics = Off
1370 |
1371 | [PostgresSQL]
1372 | ; Allow or prevent persistent links.
1373 | ; http://php.net/pgsql.allow-persistent
1374 | pgsql.allow_persistent = On
1375 |
1376 | ; Detect broken persistent links always with pg_pconnect().
1377 | ; Auto reset feature requires a little overheads.
1378 | ; http://php.net/pgsql.auto-reset-persistent
1379 | pgsql.auto_reset_persistent = Off
1380 |
1381 | ; Maximum number of persistent links. -1 means no limit.
1382 | ; http://php.net/pgsql.max-persistent
1383 | pgsql.max_persistent = -1
1384 |
1385 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
1386 | ; http://php.net/pgsql.max-links
1387 | pgsql.max_links = -1
1388 |
1389 | ; Ignore PostgreSQL backends Notice message or not.
1390 | ; Notice message logging require a little overheads.
1391 | ; http://php.net/pgsql.ignore-notice
1392 | pgsql.ignore_notice = 0
1393 |
1394 | ; Log PostgreSQL backends Notice message or not.
1395 | ; Unless pgsql.ignore_notice=0, module cannot log notice message.
1396 | ; http://php.net/pgsql.log-notice
1397 | pgsql.log_notice = 0
1398 |
1399 | [Sybase-CT]
1400 | ; Allow or prevent persistent links.
1401 | ; http://php.net/sybct.allow-persistent
1402 | sybct.allow_persistent = On
1403 |
1404 | ; Maximum number of persistent links. -1 means no limit.
1405 | ; http://php.net/sybct.max-persistent
1406 | sybct.max_persistent = -1
1407 |
1408 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1409 | ; http://php.net/sybct.max-links
1410 | sybct.max_links = -1
1411 |
1412 | ; Minimum server message severity to display.
1413 | ; http://php.net/sybct.min-server-severity
1414 | sybct.min_server_severity = 10
1415 |
1416 | ; Minimum client message severity to display.
1417 | ; http://php.net/sybct.min-client-severity
1418 | sybct.min_client_severity = 10
1419 |
1420 | ; Set per-context timeout
1421 | ; http://php.net/sybct.timeout
1422 | ;sybct.timeout=
1423 |
1424 | ;sybct.packet_size
1425 |
1426 | ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1427 | ; Default: one minute
1428 | ;sybct.login_timeout=
1429 |
1430 | ; The name of the host you claim to be connecting from, for display by sp_who.
1431 | ; Default: none
1432 | ;sybct.hostname=
1433 |
1434 | ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1435 | ; Default: 0
1436 | ;sybct.deadlock_retry_count=
1437 |
1438 | [bcmath]
1439 | ; Number of decimal digits for all bcmath functions.
1440 | ; http://php.net/bcmath.scale
1441 | bcmath.scale = 0
1442 |
1443 | [browscap]
1444 | ; http://php.net/browscap
1445 | ;browscap = extra/browscap.ini
1446 |
1447 | [Session]
1448 | ; Handler used to store/retrieve data.
1449 | ; http://php.net/session.save-handler
1450 | session.save_handler = files
1451 |
1452 | ; Argument passed to save_handler. In the case of files, this is the path
1453 | ; where data files are stored. Note: Windows users have to change this
1454 | ; variable in order to use PHP's session functions.
1455 | ;
1456 | ; The path can be defined as:
1457 | ;
1458 | ; session.save_path = "N;/path"
1459 | ;
1460 | ; where N is an integer. Instead of storing all the session files in
1461 | ; /path, what this will do is use subdirectories N-levels deep, and
1462 | ; store the session data in those directories. This is useful if you
1463 | ; or your OS have problems with lots of files in one directory, and is
1464 | ; a more efficient layout for servers that handle lots of sessions.
1465 | ;
1466 | ; NOTE 1: PHP will not create this directory structure automatically.
1467 | ; You can use the script in the ext/session dir for that purpose.
1468 | ; NOTE 2: See the section on garbage collection below if you choose to
1469 | ; use subdirectories for session storage
1470 | ;
1471 | ; The file storage module creates files using mode 600 by default.
1472 | ; You can change that by using
1473 | ;
1474 | ; session.save_path = "N;MODE;/path"
1475 | ;
1476 | ; where MODE is the octal representation of the mode. Note that this
1477 | ; does not overwrite the process's umask.
1478 | ; http://php.net/session.save-path
1479 | ;session.save_path = "/tmp"
1480 |
1481 | ; Whether to use cookies.
1482 | ; http://php.net/session.use-cookies
1483 | session.use_cookies = 1
1484 |
1485 | ; http://php.net/session.cookie-secure
1486 | ;session.cookie_secure =
1487 |
1488 | ; This option forces PHP to fetch and use a cookie for storing and maintaining
1489 | ; the session id. We encourage this operation as it's very helpful in combatting
1490 | ; session hijacking when not specifying and managing your own session id. It is
1491 | ; not the end all be all of session hijacking defense, but it's a good start.
1492 | ; http://php.net/session.use-only-cookies
1493 | session.use_only_cookies = 1
1494 |
1495 | ; Name of the session (used as cookie name).
1496 | ; http://php.net/session.name
1497 | session.name = PHPSESSID
1498 |
1499 | ; Initialize session on request startup.
1500 | ; http://php.net/session.auto-start
1501 | session.auto_start = 0
1502 |
1503 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1504 | ; http://php.net/session.cookie-lifetime
1505 | session.cookie_lifetime = 0
1506 |
1507 | ; The path for which the cookie is valid.
1508 | ; http://php.net/session.cookie-path
1509 | session.cookie_path = /
1510 |
1511 | ; The domain for which the cookie is valid.
1512 | ; http://php.net/session.cookie-domain
1513 | session.cookie_domain =
1514 |
1515 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1516 | ; http://php.net/session.cookie-httponly
1517 | session.cookie_httponly =
1518 |
1519 | ; Handler used to serialize data. php is the standard serializer of PHP.
1520 | ; http://php.net/session.serialize-handler
1521 | session.serialize_handler = php
1522 |
1523 | ; Defines the probability that the 'garbage collection' process is started
1524 | ; on every session initialization. The probability is calculated by using
1525 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1526 | ; and gc_divisor is the denominator in the equation. Setting this value to 1
1527 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1528 | ; the gc will run on any give request.
1529 | ; Default Value: 1
1530 | ; Development Value: 1
1531 | ; Production Value: 1
1532 | ; http://php.net/session.gc-probability
1533 | session.gc_probability = 1
1534 |
1535 | ; Defines the probability that the 'garbage collection' process is started on every
1536 | ; session initialization. The probability is calculated by using the following equation:
1537 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1538 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1539 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1540 | ; the gc will run on any give request. Increasing this value to 1000 will give you
1541 | ; a 0.1% chance the gc will run on any give request. For high volume production servers,
1542 | ; this is a more efficient approach.
1543 | ; Default Value: 100
1544 | ; Development Value: 1000
1545 | ; Production Value: 1000
1546 | ; http://php.net/session.gc-divisor
1547 | session.gc_divisor = 1000
1548 |
1549 | ; After this number of seconds, stored data will be seen as 'garbage' and
1550 | ; cleaned up by the garbage collection process.
1551 | ; http://php.net/session.gc-maxlifetime
1552 | session.gc_maxlifetime = 1440
1553 |
1554 | ; NOTE: If you are using the subdirectory option for storing session files
1555 | ; (see session.save_path above), then garbage collection does *not*
1556 | ; happen automatically. You will need to do your own garbage
1557 | ; collection through a shell script, cron entry, or some other method.
1558 | ; For example, the following script would is the equivalent of
1559 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1560 | ; find /path/to/sessions -cmin +24 | xargs rm
1561 |
1562 | ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1563 | ; to initialize a session variable in the global scope, even when register_globals
1564 | ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
1565 | ; You can disable the feature and the warning separately. At this time,
1566 | ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1567 | ; introduces some serious security problems if not handled correctly. It's
1568 | ; recommended that you do not use this feature on production servers. But you
1569 | ; should enable this on development servers and enable the warning as well. If you
1570 | ; do not enable the feature on development servers, you won't be warned when it's
1571 | ; used and debugging errors caused by this can be difficult to track down.
1572 | ; Default Value: On
1573 | ; Development Value: On
1574 | ; Production Value: Off
1575 | ; http://php.net/session.bug-compat-42
1576 | session.bug_compat_42 = Off
1577 |
1578 | ; This setting controls whether or not you are warned by PHP when initializing a
1579 | ; session value into the global space. session.bug_compat_42 must be enabled before
1580 | ; these warnings can be issued by PHP. See the directive above for more information.
1581 | ; Default Value: On
1582 | ; Development Value: On
1583 | ; Production Value: Off
1584 | ; http://php.net/session.bug-compat-warn
1585 | session.bug_compat_warn = Off
1586 |
1587 | ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1588 | ; HTTP_REFERER has to contain this substring for the session to be
1589 | ; considered as valid.
1590 | ; http://php.net/session.referer-check
1591 | session.referer_check =
1592 |
1593 | ; How many bytes to read from the file.
1594 | ; http://php.net/session.entropy-length
1595 | session.entropy_length = 0
1596 |
1597 | ; Specified here to create the session id.
1598 | ; http://php.net/session.entropy-file
1599 | ; On systems that don't have /dev/urandom /dev/arandom can be used
1600 | ; On windows, setting the entropy_length setting will activate the
1601 | ; Windows random source (using the CryptoAPI)
1602 | ;session.entropy_file = /dev/urandom
1603 |
1604 | ; Set to {nocache,private,public,} to determine HTTP caching aspects
1605 | ; or leave this empty to avoid sending anti-caching headers.
1606 | ; http://php.net/session.cache-limiter
1607 | session.cache_limiter = nocache
1608 |
1609 | ; Document expires after n minutes.
1610 | ; http://php.net/session.cache-expire
1611 | session.cache_expire = 180
1612 |
1613 | ; trans sid support is disabled by default.
1614 | ; Use of trans sid may risk your users security.
1615 | ; Use this option with caution.
1616 | ; - User may send URL contains active session ID
1617 | ; to other person via. email/irc/etc.
1618 | ; - URL that contains active session ID may be stored
1619 | ; in publically accessible computer.
1620 | ; - User may access your site with the same session ID
1621 | ; always using URL stored in browser's history or bookmarks.
1622 | ; http://php.net/session.use-trans-sid
1623 | session.use_trans_sid = 0
1624 |
1625 | ; Select a hash function for use in generating session ids.
1626 | ; Possible Values
1627 | ; 0 (MD5 128 bits)
1628 | ; 1 (SHA-1 160 bits)
1629 | ; This option may also be set to the name of any hash function supported by
1630 | ; the hash extension. A list of available hashes is returned by the hash_algos()
1631 | ; function.
1632 | ; http://php.net/session.hash-function
1633 | session.hash_function = 0
1634 |
1635 | ; Define how many bits are stored in each character when converting
1636 | ; the binary hash data to something readable.
1637 | ; Possible values:
1638 | ; 4 (4 bits: 0-9, a-f)
1639 | ; 5 (5 bits: 0-9, a-v)
1640 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1641 | ; Default Value: 4
1642 | ; Development Value: 5
1643 | ; Production Value: 5
1644 | ; http://php.net/session.hash-bits-per-character
1645 | session.hash_bits_per_character = 5
1646 |
1647 | ; The URL rewriter will look for URLs in a defined set of HTML tags.
1648 | ; form/fieldset are special; if you include them here, the rewriter will
1649 | ; add a hidden field with the info which is otherwise appended
1650 | ; to URLs. If you want XHTML conformity, remove the form entry.
1651 | ; Note that all valid entries require a "=", even if no value follows.
1652 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1653 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1654 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1655 | ; http://php.net/url-rewriter.tags
1656 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1657 |
1658 | [MSSQL]
1659 | ; Allow or prevent persistent links.
1660 | mssql.allow_persistent = On
1661 |
1662 | ; Maximum number of persistent links. -1 means no limit.
1663 | mssql.max_persistent = -1
1664 |
1665 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
1666 | mssql.max_links = -1
1667 |
1668 | ; Minimum error severity to display.
1669 | mssql.min_error_severity = 10
1670 |
1671 | ; Minimum message severity to display.
1672 | mssql.min_message_severity = 10
1673 |
1674 | ; Compatibility mode with old versions of PHP 3.0.
1675 | mssql.compatability_mode = Off
1676 |
1677 | ; Connect timeout
1678 | ;mssql.connect_timeout = 5
1679 |
1680 | ; Query timeout
1681 | ;mssql.timeout = 60
1682 |
1683 | ; Valid range 0 - 2147483647. Default = 4096.
1684 | ;mssql.textlimit = 4096
1685 |
1686 | ; Valid range 0 - 2147483647. Default = 4096.
1687 | ;mssql.textsize = 4096
1688 |
1689 | ; Limits the number of records in each batch. 0 = all records in one batch.
1690 | ;mssql.batchsize = 0
1691 |
1692 | ; Specify how datetime and datetim4 columns are returned
1693 | ; On => Returns data converted to SQL server settings
1694 | ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1695 | ;mssql.datetimeconvert = On
1696 |
1697 | ; Use NT authentication when connecting to the server
1698 | mssql.secure_connection = Off
1699 |
1700 | ; Specify max number of processes. -1 = library default
1701 | ; msdlib defaults to 25
1702 | ; FreeTDS defaults to 4096
1703 | ;mssql.max_procs = -1
1704 |
1705 | ; Specify client character set.
1706 | ; If empty or not set the client charset from freetds.comf is used
1707 | ; This is only used when compiled with FreeTDS
1708 | ;mssql.charset = "ISO-8859-1"
1709 |
1710 | [Assertion]
1711 | ; Assert(expr); active by default.
1712 | ; http://php.net/assert.active
1713 | ;assert.active = On
1714 |
1715 | ; Issue a PHP warning for each failed assertion.
1716 | ; http://php.net/assert.warning
1717 | ;assert.warning = On
1718 |
1719 | ; Don't bail out by default.
1720 | ; http://php.net/assert.bail
1721 | ;assert.bail = Off
1722 |
1723 | ; User-function to be called if an assertion fails.
1724 | ; http://php.net/assert.callback
1725 | ;assert.callback = 0
1726 |
1727 | ; Eval the expression with current error_reporting(). Set to true if you want
1728 | ; error_reporting(0) around the eval().
1729 | ; http://php.net/assert.quiet-eval
1730 | ;assert.quiet_eval = 0
1731 |
1732 | [COM]
1733 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1734 | ; http://php.net/com.typelib-file
1735 | ;com.typelib_file =
1736 |
1737 | ; allow Distributed-COM calls
1738 | ; http://php.net/com.allow-dcom
1739 | ;com.allow_dcom = true
1740 |
1741 | ; autoregister constants of a components typlib on com_load()
1742 | ; http://php.net/com.autoregister-typelib
1743 | ;com.autoregister_typelib = true
1744 |
1745 | ; register constants casesensitive
1746 | ; http://php.net/com.autoregister-casesensitive
1747 | ;com.autoregister_casesensitive = false
1748 |
1749 | ; show warnings on duplicate constant registrations
1750 | ; http://php.net/com.autoregister-verbose
1751 | ;com.autoregister_verbose = true
1752 |
1753 | ; The default character set code-page to use when passing strings to and from COM objects.
1754 | ; Default: system ANSI code page
1755 | ;com.code_page=
1756 |
1757 | [mbstring]
1758 | ; language for internal character representation.
1759 | ; http://php.net/mbstring.language
1760 | ;mbstring.language = Japanese
1761 |
1762 | ; internal/script encoding.
1763 | ; Some encoding cannot work as internal encoding.
1764 | ; (e.g. SJIS, BIG5, ISO-2022-*)
1765 | ; http://php.net/mbstring.internal-encoding
1766 | ;mbstring.internal_encoding = EUC-JP
1767 |
1768 | ; http input encoding.
1769 | ; http://php.net/mbstring.http-input
1770 | ;mbstring.http_input = auto
1771 |
1772 | ; http output encoding. mb_output_handler must be
1773 | ; registered as output buffer to function
1774 | ; http://php.net/mbstring.http-output
1775 | ;mbstring.http_output = SJIS
1776 |
1777 | ; enable automatic encoding translation according to
1778 | ; mbstring.internal_encoding setting. Input chars are
1779 | ; converted to internal encoding by setting this to On.
1780 | ; Note: Do _not_ use automatic encoding translation for
1781 | ; portable libs/applications.
1782 | ; http://php.net/mbstring.encoding-translation
1783 | ;mbstring.encoding_translation = Off
1784 |
1785 | ; automatic encoding detection order.
1786 | ; auto means
1787 | ; http://php.net/mbstring.detect-order
1788 | ;mbstring.detect_order = auto
1789 |
1790 | ; substitute_character used when character cannot be converted
1791 | ; one from another
1792 | ; http://php.net/mbstring.substitute-character
1793 | ;mbstring.substitute_character = none;
1794 |
1795 | ; overload(replace) single byte functions by mbstring functions.
1796 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1797 | ; etc. Possible values are 0,1,2,4 or combination of them.
1798 | ; For example, 7 for overload everything.
1799 | ; 0: No overload
1800 | ; 1: Overload mail() function
1801 | ; 2: Overload str*() functions
1802 | ; 4: Overload ereg*() functions
1803 | ; http://php.net/mbstring.func-overload
1804 | ;mbstring.func_overload = 0
1805 |
1806 | ; enable strict encoding detection.
1807 | ;mbstring.strict_detection = Off
1808 |
1809 | ; This directive specifies the regex pattern of content types for which mb_output_handler()
1810 | ; is activated.
1811 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1812 | ;mbstring.http_output_conv_mimetype=
1813 |
1814 | ; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
1815 | ; Default: ""
1816 | ;mbstring.script_encoding=
1817 |
1818 | [gd]
1819 | ; Tell the jpeg decode to ignore warnings and try to create
1820 | ; a gd image. The warning will then be displayed as notices
1821 | ; disabled by default
1822 | ; http://php.net/gd.jpeg-ignore-warning
1823 | ;gd.jpeg_ignore_warning = 0
1824 |
1825 | [exif]
1826 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1827 | ; With mbstring support this will automatically be converted into the encoding
1828 | ; given by corresponding encode setting. When empty mbstring.internal_encoding
1829 | ; is used. For the decode settings you can distinguish between motorola and
1830 | ; intel byte order. A decode setting cannot be empty.
1831 | ; http://php.net/exif.encode-unicode
1832 | ;exif.encode_unicode = ISO-8859-15
1833 |
1834 | ; http://php.net/exif.decode-unicode-motorola
1835 | ;exif.decode_unicode_motorola = UCS-2BE
1836 |
1837 | ; http://php.net/exif.decode-unicode-intel
1838 | ;exif.decode_unicode_intel = UCS-2LE
1839 |
1840 | ; http://php.net/exif.encode-jis
1841 | ;exif.encode_jis =
1842 |
1843 | ; http://php.net/exif.decode-jis-motorola
1844 | ;exif.decode_jis_motorola = JIS
1845 |
1846 | ; http://php.net/exif.decode-jis-intel
1847 | ;exif.decode_jis_intel = JIS
1848 |
1849 | [Tidy]
1850 | ; The path to a default tidy configuration file to use when using tidy
1851 | ; http://php.net/tidy.default-config
1852 | ;tidy.default_config = /usr/local/lib/php/default.tcfg
1853 |
1854 | ; Should tidy clean and repair output automatically?
1855 | ; WARNING: Do not use this option if you are generating non-html content
1856 | ; such as dynamic images
1857 | ; http://php.net/tidy.clean-output
1858 | tidy.clean_output = Off
1859 |
1860 | [soap]
1861 | ; Enables or disables WSDL caching feature.
1862 | ; http://php.net/soap.wsdl-cache-enabled
1863 | soap.wsdl_cache_enabled=1
1864 |
1865 | ; Sets the directory name where SOAP extension will put cache files.
1866 | ; http://php.net/soap.wsdl-cache-dir
1867 | soap.wsdl_cache_dir="/tmp"
1868 |
1869 | ; (time to live) Sets the number of second while cached file will be used
1870 | ; instead of original one.
1871 | ; http://php.net/soap.wsdl-cache-ttl
1872 | soap.wsdl_cache_ttl=86400
1873 |
1874 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1875 | soap.wsdl_cache_limit = 5
1876 |
1877 | [sysvshm]
1878 | ; A default size of the shared memory segment
1879 | ;sysvshm.init_mem = 10000
1880 |
1881 | [ldap]
1882 | ; Sets the maximum number of open links or -1 for unlimited.
1883 | ldap.max_links = -1
1884 |
1885 | [mcrypt]
1886 | ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1887 |
1888 | ; Directory where to load mcrypt algorithms
1889 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1890 | ;mcrypt.algorithms_dir=
1891 |
1892 | ; Directory where to load mcrypt modes
1893 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1894 | ;mcrypt.modes_dir=
1895 |
1896 | [dba]
1897 | ;dba.default_handler=
1898 |
1899 | [xdebug]
1900 | ;zend_extension="/usr/local/Cellar/php/5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
1901 | ;extension="xdebug.so"
1902 | extension="xdebug.so"
1903 | xdebug.remote_enable=on
1904 | xdebug.remote_handler=dbgp
1905 | xdebug.remote_host=127.0.0.1
1906 | xdebug.remote_port=9000
1907 | xdebug.idekey="netbeans-xdebug"
1908 |
1909 | [apc]
1910 | extension="apc.so"
1911 | apc.shm_size=64M
1912 |
1913 | [memcached]
1914 | extension="memcached.so"
1915 |
1916 | [xhprof]
1917 | extension="xhprof.so"
1918 |
1919 | [imagemagick]
1920 | extension="imagemagick.so"
1921 |
1922 | [redis]
1923 | extension="redis.so"
1924 |
1925 | [pcntl]
1926 | extension="pcntl.so"
1927 |
1928 | ; Local Variables:
1929 | ; tab-width: 4
1930 | ; End:
1931 |
--------------------------------------------------------------------------------