Index: /sandbox/doc-expressolivre/arquivos/rhel5/etc/httpd/conf.d/ssl.conf
===================================================================
--- /sandbox/doc-expressolivre/arquivos/rhel5/etc/httpd/conf.d/ssl.conf	(revision 1407)
+++ /sandbox/doc-expressolivre/arquivos/rhel5/etc/httpd/conf.d/ssl.conf	(revision 1407)
@@ -0,0 +1,227 @@
+#
+# This is the Apache server configuration file providing SSL support.
+# It contains the configuration directives to instruct the server how to
+# serve pages over an https connection. For detailing information about these 
+# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
+# 
+# Do NOT simply read the instructions in here without understanding
+# what they do.  They're here only as hints or reminders.  If you are unsure
+# consult the online docs. You have been warned.  
+#
+
+LoadModule ssl_module modules/mod_ssl.so
+
+#
+# When we also provide SSL we have to listen to the 
+# the HTTPS port in addition.
+#
+Listen 443
+
+##
+##  SSL Global Context
+##
+##  All SSL configuration in this context applies both to
+##  the main server and all SSL-enabled virtual hosts.
+##
+
+#
+#   Some MIME-types for downloading Certificates and CRLs
+#
+AddType application/x-x509-ca-cert .crt
+AddType application/x-pkcs7-crl    .crl
+
+#   Pass Phrase Dialog:
+#   Configure the pass phrase gathering process.
+#   The filtering dialog program (`builtin' is a internal
+#   terminal dialog) has to provide the pass phrase on stdout.
+SSLPassPhraseDialog  builtin
+
+#   Inter-Process Session Cache:
+#   Configure the SSL Session Cache: First the mechanism 
+#   to use and second the expiring timeout (in seconds).
+#SSLSessionCache        dc:UNIX:/var/cache/mod_ssl/distcache
+SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
+SSLSessionCacheTimeout  300
+
+#   Semaphore:
+#   Configure the path to the mutual exclusion semaphore the
+#   SSL engine uses internally for inter-process synchronization. 
+SSLMutex default
+
+#   Pseudo Random Number Generator (PRNG):
+#   Configure one or more sources to seed the PRNG of the 
+#   SSL library. The seed data should be of good random quality.
+#   WARNING! On some platforms /dev/random blocks if not enough entropy
+#   is available. This means you then cannot use the /dev/random device
+#   because it would lead to very long connection times (as long as
+#   it requires to make more entropy available). But usually those
+#   platforms additionally provide a /dev/urandom device which doesn't
+#   block. So, if available, use this one instead. Read the mod_ssl User
+#   Manual for more details.
+SSLRandomSeed startup file:/dev/urandom  256
+SSLRandomSeed connect builtin
+#SSLRandomSeed startup file:/dev/random  512
+#SSLRandomSeed connect file:/dev/random  512
+#SSLRandomSeed connect file:/dev/urandom 512
+
+#
+# Use "SSLCryptoDevice" to enable any supported hardware
+# accelerators. Use "openssl engine -v" to list supported
+# engine names.  NOTE: If you enable an accelerator and the
+# server does not start, consult the error logs and ensure
+# your accelerator is functioning properly. 
+#
+SSLCryptoDevice builtin
+#SSLCryptoDevice ubsec
+
+##
+## SSL Virtual Host Context
+##
+
+<VirtualHost _default_:443>
+DocumentRoot "/var/www/expresso"
+#ServerName www.example.com:443
+
+# Use separate log files for the SSL virtual host; note that LogLevel
+# is not inherited from httpd.conf.
+ErrorLog logs/ssl_error_log
+TransferLog logs/ssl_access_log
+LogLevel warn
+
+#   SSL Engine Switch:
+#   Enable/Disable SSL for this virtual host.
+SSLEngine on
+
+#   SSL Protocol support:
+# List the enable protocol levels with which clients will be able to
+# connect.  Disable SSLv2 access by default:
+SSLProtocol all -SSLv2
+
+#   SSL Cipher Suite:
+# List the ciphers that the client is permitted to negotiate.
+# See the mod_ssl documentation for a complete list.
+SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
+
+#   Server Certificate:
+# Point SSLCertificateFile at a PEM encoded certificate.  If
+# the certificate is encrypted, then you will be prompted for a
+# pass phrase.  Note that a kill -HUP will prompt again.  A new
+# certificate can be generated using the genkey(1) command.
+SSLCertificateFile /etc/pki/tls/certs/localhost.crt
+
+#   Server Private Key:
+#   If the key is not combined with the certificate, use this
+#   directive to point at the key file.  Keep in mind that if
+#   you've both a RSA and a DSA private key you can configure
+#   both in parallel (to also allow the use of DSA ciphers, etc.)
+SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
+
+#   Server Certificate Chain:
+#   Point SSLCertificateChainFile at a file containing the
+#   concatenation of PEM encoded CA certificates which form the
+#   certificate chain for the server certificate. Alternatively
+#   the referenced file can be the same as SSLCertificateFile
+#   when the CA certificates are directly appended to the server
+#   certificate for convinience.
+#SSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt
+
+#   Certificate Authority (CA):
+#   Set the CA certificate verification path where to find CA
+#   certificates for client authentication or alternatively one
+#   huge file containing all of them (file must be PEM encoded)
+#SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
+
+#   Client Authentication (Type):
+#   Client certificate verification type and depth.  Types are
+#   none, optional, require and optional_no_ca.  Depth is a
+#   number which specifies how deeply to verify the certificate
+#   issuer chain before deciding the certificate is not valid.
+#SSLVerifyClient require
+#SSLVerifyDepth  10
+
+#   Access Control:
+#   With SSLRequire you can do per-directory access control based
+#   on arbitrary complex boolean expressions containing server
+#   variable checks and other lookup directives.  The syntax is a
+#   mixture between C and Perl.  See the mod_ssl documentation
+#   for more details.
+#<Location />
+#SSLRequire (    %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
+#            and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
+#            and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
+#            and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
+#            and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20       ) \
+#           or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
+#</Location>
+
+#   SSL Engine Options:
+#   Set various options for the SSL engine.
+#   o FakeBasicAuth:
+#     Translate the client X.509 into a Basic Authorisation.  This means that
+#     the standard Auth/DBMAuth methods can be used for access control.  The
+#     user name is the `one line' version of the client's X.509 certificate.
+#     Note that no password is obtained from the user. Every entry in the user
+#     file needs this password: `xxj31ZMTZzkVA'.
+#   o ExportCertData:
+#     This exports two additional environment variables: SSL_CLIENT_CERT and
+#     SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
+#     server (always existing) and the client (only existing when client
+#     authentication is used). This can be used to import the certificates
+#     into CGI scripts.
+#   o StdEnvVars:
+#     This exports the standard SSL/TLS related `SSL_*' environment variables.
+#     Per default this exportation is switched off for performance reasons,
+#     because the extraction step is an expensive operation and is usually
+#     useless for serving static content. So one usually enables the
+#     exportation for CGI and SSI requests only.
+#   o StrictRequire:
+#     This denies access when "SSLRequireSSL" or "SSLRequire" applied even
+#     under a "Satisfy any" situation, i.e. when it applies access is denied
+#     and no other module can change it.
+#   o OptRenegotiate:
+#     This enables optimized SSL connection renegotiation handling when SSL
+#     directives are used in per-directory context. 
+#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
+<Files ~ "\.(cgi|shtml|phtml|php3?)$">
+    SSLOptions +StdEnvVars
+</Files>
+<Directory "/var/www/cgi-bin">
+    SSLOptions +StdEnvVars
+</Directory>
+
+#   SSL Protocol Adjustments:
+#   The safe and default but still SSL/TLS standard compliant shutdown
+#   approach is that mod_ssl sends the close notify alert but doesn't wait for
+#   the close notify alert from client. When you need a different shutdown
+#   approach you can use one of the following variables:
+#   o ssl-unclean-shutdown:
+#     This forces an unclean shutdown when the connection is closed, i.e. no
+#     SSL close notify alert is send or allowed to received.  This violates
+#     the SSL/TLS standard but is needed for some brain-dead browsers. Use
+#     this when you receive I/O errors because of the standard approach where
+#     mod_ssl sends the close notify alert.
+#   o ssl-accurate-shutdown:
+#     This forces an accurate shutdown when the connection is closed, i.e. a
+#     SSL close notify alert is send and mod_ssl waits for the close notify
+#     alert of the client. This is 100% SSL/TLS standard compliant, but in
+#     practice often causes hanging connections with brain-dead browsers. Use
+#     this only for browsers where you know that their SSL implementation
+#     works correctly. 
+#   Notice: Most problems of broken clients are also related to the HTTP
+#   keep-alive facility, so you usually additionally want to disable
+#   keep-alive for those clients, too. Use variable "nokeepalive" for this.
+#   Similarly, one has to force some clients to use HTTP/1.0 to workaround
+#   their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
+#   "force-response-1.0" for this.
+SetEnvIf User-Agent ".*MSIE.*" \
+         nokeepalive ssl-unclean-shutdown \
+         downgrade-1.0 force-response-1.0
+
+#   Per-Server Logging:
+#   The home of a custom SSL log file. Use this when you want a
+#   compact non-error SSL logfile on a virtual host basis.
+CustomLog logs/ssl_request_log \
+          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+
+</VirtualHost>                                  
+
Index: /sandbox/doc-expressolivre/arquivos/rhel5/etc/php.ini
===================================================================
--- /sandbox/doc-expressolivre/arquivos/rhel5/etc/php.ini	(revision 2190)
+++ /sandbox/doc-expressolivre/arquivos/rhel5/etc/php.ini	(revision 2190)
@@ -0,0 +1,1223 @@
+[PHP]
+
+;;;;;;;;;;;;;;;;;;;
+; About php.ini   ;
+;;;;;;;;;;;;;;;;;;;
+; This file controls many aspects of PHP's behavior.  In order for PHP to
+; read it, it must be named 'php.ini'.  PHP looks for it in the current
+; working directory, in the path designated by the environment variable
+; PHPRC, and in the path that was defined in compile time (in that order).
+; Under Windows, the compile-time path is the Windows directory.  The
+; path in which the php.ini file is looked for can be overridden using
+; the -c argument in command line mode.
+;
+; The syntax of the file is extremely simple.  Whitespace and Lines
+; beginning with a semicolon are silently ignored (as you probably guessed).
+; Section headers (e.g. [Foo]) are also silently ignored, even though
+; they might mean something in the future.
+;
+; Directives are specified using the following syntax:
+; directive = value
+; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
+;
+; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
+; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
+; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
+;
+; Expressions in the INI file are limited to bitwise operators and parentheses:
+; |        bitwise OR
+; &        bitwise AND
+; ~        bitwise NOT
+; !        boolean NOT
+;
+; Boolean flags can be turned on using the values 1, On, True or Yes.
+; They can be turned off using the values 0, Off, False or No.
+;
+; An empty string can be denoted by simply not writing anything after the equal
+; sign, or by using the None keyword:
+;
+;  foo =         ; sets foo to an empty string
+;  foo = none    ; sets foo to an empty string
+;  foo = "none"  ; sets foo to the string 'none'
+;
+; If you use constants in your value, and these constants belong to a
+; dynamically loaded extension (either a PHP extension or a Zend extension),
+; you may only use these constants *after* the line that loads the extension.
+; 
+;
+;;;;;;;;;;;;;;;;;;;
+; About this file ;
+;;;;;;;;;;;;;;;;;;;
+; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
+; sets some non standard settings, that make PHP more efficient, more secure,
+; and encourage cleaner coding.
+;
+; The price is that with these settings, PHP may be incompatible with some
+; applications, and sometimes, more difficult to develop with.  Using this
+; file is warmly recommended for production sites.  As all of the changes from
+; the standard settings are thoroughly documented, you can go over each one,
+; and decide whether you want to use it or not.
+;
+; For general information about the php.ini file, please consult the php.ini-dist
+; file, included in your PHP distribution.
+;
+; This file is different from the php.ini-dist file in the fact that it features
+; different values for several directives, in order to improve performance, while
+; possibly breaking compatibility with the standard out-of-the-box behavior of
+; PHP.  Please make sure you read what's different, and modify your scripts
+; accordingly, if you decide to use this file instead.
+;
+; - register_globals = Off         [Security, Performance]
+;     Global variables are no longer registered for input data (POST, GET, cookies,
+;     environment and other server variables).  Instead of using $foo, you must use
+;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
+;     request, namely, POST, GET and cookie variables), or use one of the specific
+;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
+;     on where the input originates.  Also, you can look at the
+;     import_request_variables() function.
+;     Note that register_globals is going to be depracated (i.e., turned off by
+;     default) in the next version of PHP, because it often leads to security bugs.
+;     Read http://php.net/manual/en/security.registerglobals.php for further
+;     information.
+; - register_long_arrays = Off     [Performance]
+;     Disables registration of the older (and deprecated) long predefined array
+;     variables ($HTTP_*_VARS).  Instead, use the superglobals that were
+;     introduced in PHP 4.1.0
+; - display_errors = Off           [Security]
+;     With this directive set to off, errors that occur during the execution of
+;     scripts will no longer be displayed as a part of the script output, and thus,
+;     will no longer be exposed to remote users.  With some errors, the error message
+;     content may expose information about your script, web server, or database
+;     server that may be exploitable for hacking.  Production sites should have this
+;     directive set to off.
+; - log_errors = On                [Security]
+;     This directive complements the above one.  Any errors that occur during the
+;     execution of your script will be logged (typically, to your server's error log,
+;     but can be configured in several ways).  Along with setting display_errors to off,
+;     this setup gives you the ability to fully understand what may have gone wrong,
+;     without exposing any sensitive information to remote users.
+; - output_buffering = 4096        [Performance]
+;     Set a 4KB output buffer.  Enabling output buffering typically results in less
+;     writes, and sometimes less packets sent on the wire, which can often lead to
+;     better performance.  The gain this directive actually yields greatly depends
+;     on which Web server you're working with, and what kind of scripts you're using.
+; - register_argc_argv = Off       [Performance]
+;     Disables registration of the somewhat redundant $argv and $argc global
+;     variables.
+; - magic_quotes_gpc = Off         [Performance]
+;     Input data is no longer escaped with slashes so that it can be sent into
+;     SQL databases without further manipulation.  Instead, you should use the
+;     function addslashes() on each input element you wish to send to a database.
+; - variables_order = "GPCS"       [Performance]
+;     The environment variables are not hashed into the $_ENV.  To access
+;     environment variables, you can use getenv() instead.
+; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
+;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
+;     are emitted for non-critical errors, but that could be a symptom of a bigger
+;     problem.  Most notably, this will cause error messages about the use
+;     of uninitialized variables to be displayed.
+; - allow_call_time_pass_reference = Off     [Code cleanliness]
+;     It's not possible to decide to force a variable to be passed by reference
+;     when calling a function.  The PHP 4 style to do this is by making the
+;     function require the relevant argument by reference.
+
+
+;;;;;;;;;;;;;;;;;;;;
+; Language Options ;
+;;;;;;;;;;;;;;;;;;;;
+
+; Enable the PHP scripting language engine under Apache.
+engine = On
+
+; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
+zend.ze1_compatibility_mode = Off
+
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
+short_open_tag = On
+
+; Allow ASP-style <% %> tags.
+asp_tags = Off
+
+; The number of significant digits displayed in floating point numbers.
+precision    =  12
+
+; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
+y2k_compliance = On
+
+; Output buffering allows you to send header lines (including cookies) even
+; after you send body content, at the price of slowing PHP's output layer a
+; bit.  You can enable output buffering during runtime by calling the output
+; buffering functions.  You can also enable output buffering for all files by
+; setting this directive to On.  If you wish to limit the size of the buffer
+; to a certain size - you can use a maximum number of bytes instead of 'On', as
+; a value for this directive (e.g., output_buffering=4096).
+output_buffering = Off
+
+; You can redirect all of the output of your scripts to a function.  For
+; example, if you set output_handler to "mb_output_handler", character
+; encoding will be transparently converted to the specified encoding.
+; Setting any output handler automatically turns on output buffering.
+; Note: People who wrote portable scripts should not depend on this ini
+;       directive. Instead, explicitly set the output handler using ob_start().
+;       Using this ini directive may cause problems unless you know what script
+;       is doing.
+; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
+;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
+; Note: output_handler must be empty if this is set 'On' !!!!
+;       Instead you must use zlib.output_handler.
+;output_handler =
+
+; Transparent output compression using the zlib library
+; Valid values for this option are 'off', 'on', or a specific buffer size
+; to be used for compression (default is 4KB)
+; Note: Resulting chunk size may vary due to nature of compression. PHP
+;       outputs chunks that are few hundreds bytes each as a result of
+;       compression. If you prefer a larger chunk size for better
+;       performance, enable output_buffering in addition.
+; Note: You need to use zlib.output_handler instead of the standard
+;       output_handler, or otherwise the output will be corrupted.
+zlib.output_compression = Off
+
+; You cannot specify additional output handlers if zlib.output_compression
+; is activated here. This setting does the same as output_handler but in
+; a different order.
+;zlib.output_handler =
+
+; Implicit flush tells PHP to tell the output layer to flush itself
+; automatically after every output block.  This is equivalent to calling the
+; PHP function flush() after each and every call to print() or echo() and each
+; and every HTML block.  Turning this option on has serious performance
+; implications and is generally recommended for debugging purposes only.
+implicit_flush = Off
+
+; The unserialize callback function will be called (with the undefined class'
+; name as parameter), if the unserializer finds an undefined class
+; which should be instantiated.
+; A warning appears if the specified function is not defined, or if the
+; function doesn't include/implement the missing class.
+; So only set this entry, if you really want to implement such a
+; callback-function.
+unserialize_callback_func=
+
+; When floats & doubles are serialized store serialize_precision significant
+; digits after the floating point. The default value ensures that when floats
+; are decoded with unserialize, the data will remain the same.
+serialize_precision = 100
+
+; Whether to enable the ability to force arguments to be passed by reference
+; at function call time.  This method is deprecated and is likely to be
+; unsupported in future versions of PHP/Zend.  The encouraged method of
+; specifying which arguments should be passed by reference is in the function
+; declaration.  You're encouraged to try and turn this option Off and make
+; sure your scripts work properly with it in order to ensure they will work
+; with future versions of the language (you will receive a warning each time
+; you use this feature, and the argument will be passed by value instead of by
+; reference).
+allow_call_time_pass_reference = On
+
+;
+; Safe Mode
+;
+safe_mode = Off
+
+; By default, Safe Mode does a UID compare check when
+; opening files. If you want to relax this to a GID compare,
+; then turn on safe_mode_gid.
+safe_mode_gid = Off
+
+; When safe_mode is on, UID/GID checks are bypassed when
+; including files from this directory and its subdirectories.
+; (directory must also be in include_path or full path must
+; be used when including)
+safe_mode_include_dir =
+
+; When safe_mode is on, only executables located in the safe_mode_exec_dir
+; will be allowed to be executed via the exec family of functions.
+safe_mode_exec_dir =
+
+; Setting certain environment variables may be a potential security breach.
+; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
+; the user may only alter environment variables whose names begin with the
+; prefixes supplied here.  By default, users will only be able to set
+; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
+;
+; Note:  If this directive is empty, PHP will let the user modify ANY
+; environment variable!
+safe_mode_allowed_env_vars = PHP_
+
+; This directive contains a comma-delimited list of environment variables that
+; the end user won't be able to change using putenv().  These variables will be
+; protected even if safe_mode_allowed_env_vars is set to allow to change them.
+safe_mode_protected_env_vars = LD_LIBRARY_PATH
+
+; open_basedir, if set, limits all file operations to the defined directory
+; and below.  This directive makes most sense if used in a per-directory
+; or per-virtualhost web server configuration file. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+open_basedir = /var/www:/tmp:/var/lib/php/session:/home/expressolivre
+
+; This directive allows you to disable certain functions for security reasons.
+; It receives a comma-delimited list of function names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_functions =
+
+; This directive allows you to disable certain classes for security reasons.
+; It receives a comma-delimited list of class names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_classes =
+
+; Colors for Syntax Highlighting mode.  Anything that's acceptable in
+; <span style="color: ???????"> would work.
+;highlight.string  = #DD0000
+;highlight.comment = #FF9900
+;highlight.keyword = #007700
+;highlight.bg      = #FFFFFF
+;highlight.default = #0000BB
+;highlight.html    = #000000
+
+; If enabled, the request will be allowed to complete even if the user aborts
+; the request. Consider enabling it if executing long request, which may end up
+; being interrupted by the user or a browser timing out.
+; ignore_user_abort = On
+
+; Determines the size of the realpath cache to be used by PHP. This value should
+; be increased on systems where PHP opens many files to reflect the quantity of
+; the file operations performed.
+; realpath_cache_size=16k
+
+; Duration of time, in seconds for which to cache realpath information for a given
+; file or directory. For systems with rarely changing files, consider increasing this
+; value.
+; realpath_cache_ttl=120
+
+;
+; Misc
+;
+; Decides whether PHP may expose the fact that it is installed on the server
+; (e.g. by adding its signature to the Web server header).  It is no security
+; threat in any way, but it makes it possible to determine whether you use PHP
+; on your server or not.
+expose_php = Off
+
+
+;;;;;;;;;;;;;;;;;;;
+; Resource Limits ;
+;;;;;;;;;;;;;;;;;;;
+
+max_execution_time = 120     ; Maximum execution time of each script, in seconds
+max_input_time = 120	; Maximum amount of time each script may spend parsing request data
+memory_limit = 128M      ; Maximum amount of memory a script may consume
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Error handling and logging ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; error_reporting is a bit-field.  Or each number up to get desired error
+; reporting level
+; E_ALL             - All errors and warnings (doesn't include E_STRICT)
+; E_ERROR           - fatal run-time errors
+; E_WARNING         - run-time warnings (non-fatal errors)
+; E_PARSE           - compile-time parse errors
+; E_NOTICE          - run-time notices (these are warnings which often result
+;                     from a bug in your code, but it's possible that it was
+;                     intentional (e.g., using an uninitialized variable and
+;                     relying on the fact it's automatically initialized to an
+;                     empty string)
+; E_STRICT          - run-time notices, enable to have PHP suggest changes
+;                     to your code which will ensure the best interoperability
+;                     and forward compatibility of your code
+; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
+; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
+;                     initial startup
+; E_COMPILE_ERROR   - fatal compile-time errors
+; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
+; E_USER_ERROR      - user-generated error message
+; E_USER_WARNING    - user-generated warning message
+; E_USER_NOTICE     - user-generated notice message
+;
+; Examples:
+;
+;   - Show all errors, except for notices and coding standards warnings
+;
+error_reporting = E_ALL & ~E_NOTICE
+;
+;   - Show all errors, except for notices
+;
+;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;
+;   - Show only errors
+;
+;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
+;
+;   - Show all errors, except coding standards warnings
+;
+;error_reporting  =  E_ALL
+
+; Print out errors (as a part of the output).  For production web sites,
+; you're strongly encouraged to turn this feature off, and use error logging
+; instead (see below).  Keeping display_errors enabled on a production web site
+; may reveal security information to end users, such as file paths on your Web
+; server, your database schema or other information.
+display_errors = Off
+
+; Even when display_errors is on, errors that occur during PHP's startup
+; sequence are not displayed.  It's strongly recommended to keep
+; display_startup_errors off, except for when debugging.
+display_startup_errors = Off
+
+; Log errors into a log file (server-specific log, stderr, or error_log (below))
+; As stated above, you're strongly advised to use error logging in place of
+; error displaying on production web sites.
+log_errors = On
+
+; Set maximum length of log_errors. In error_log information about the source is
+; added. The default is 1024 and 0 allows to not apply any maximum length at all.
+log_errors_max_len = 1024
+
+; Do not log repeated messages. Repeated errors must occur in same file on same
+; line until ignore_repeated_source is set true.
+ignore_repeated_errors = On
+
+; Ignore source of message when ignoring repeated messages. When this setting
+; is On you will not log errors with repeated messages from different files or
+; sourcelines.
+ignore_repeated_source = Off
+
+; If this parameter is set to Off, then memory leaks will not be shown (on
+; stdout or in the log). This has only effect in a debug compile, and if
+; error reporting includes E_WARNING in the allowed list
+report_memleaks = On
+
+; Store the last error/warning message in $php_errormsg (boolean).
+track_errors = Off
+
+; Disable the inclusion of HTML tags in error messages.
+; Note: Never use this feature for production boxes.
+;html_errors = Off
+
+; If html_errors is set On PHP produces clickable error messages that direct
+; to a page describing the error or function causing the error in detail.
+; You can download a copy of the PHP manual from http://www.php.net/docs.php
+; and change docref_root to the base URL of your local copy including the
+; leading '/'. You must also specify the file extension being used including
+; the dot.
+; Note: Never use this feature for production boxes.
+;docref_root = "/phpmanual/"
+;docref_ext = .html
+
+; String to output before an error message.
+;error_prepend_string = "<font color=ff0000>"
+
+; String to output after an error message.
+;error_append_string = "</font>"
+
+; Log errors to specified file.
+error_log = /var/log/php_error.log
+
+; Log errors to syslog (Event Log on NT, not valid in Windows 95).
+error_log = syslog
+
+
+;;;;;;;;;;;;;;;;;
+; Data Handling ;
+;;;;;;;;;;;;;;;;;
+;
+; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
+
+; The separator used in PHP generated URLs to separate arguments.
+; Default is "&".
+;arg_separator.output = "&amp;"
+
+; List of separator(s) used by PHP to parse input URLs into variables.
+; Default is "&".
+; NOTE: Every character in this directive is considered as separator!
+;arg_separator.input = ";&"
+
+; This directive describes the order in which PHP registers GET, POST, Cookie,
+; Environment and Built-in variables (G, P, C, E & S respectively, often
+; referred to as EGPCS or GPC).  Registration is done from left to right, newer
+; values override older values.
+variables_order = "EGPCS"
+
+; Whether or not to register the EGPCS variables as global variables.  You may
+; want to turn this off if you don't want to clutter your scripts' global scope
+; with user data.  This makes most sense when coupled with track_vars - in which
+; case you can access all of the GPC variables through the $HTTP_*_VARS[],
+; variables.
+;
+; You should do your best to write your scripts so that they do not require
+; register_globals to be on;  Using form variables as globals can easily lead
+; to possible security problems, if the code is not very well thought of.
+register_globals = Off
+
+; Whether or not to register the old-style input arrays, HTTP_GET_VARS
+; and friends.  If you're not using them, it's recommended to turn them off,
+; for performance reasons.
+register_long_arrays = Off
+
+; This directive tells PHP whether to declare the argv&argc variables (that
+; would contain the GET information).  If you don't use these variables, you
+; should turn it off for increased performance.
+register_argc_argv = On
+
+; When enabled, the SERVER and ENV variables are created when they're first
+; used (Just In Time) instead of when the script starts. If these variables
+; are not used within a script, having this directive on will result in a
+; performance gain. The PHP directives register_globals, register_long_arrays,
+; and register_argc_argv must be disabled for this directive to have any affect.
+auto_globals_jit = On
+
+; Maximum size of POST data that PHP will accept.
+post_max_size = 21M
+
+; Magic quotes
+;
+
+; Magic quotes for incoming GET/POST/Cookie data.
+magic_quotes_gpc = Off
+
+; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
+magic_quotes_runtime = Off
+
+; Use Sybase-style magic quotes (escape ' with '' instead of \').
+magic_quotes_sybase = Off
+
+; Automatically add files before or after any PHP document.
+auto_prepend_file =
+auto_append_file =
+
+; As of 4.0b4, PHP always outputs a character encoding by default in
+; the Content-type: header.  To disable sending of the charset, simply
+; set it to be empty.
+;
+; PHP's built-in default is text/html
+default_mimetype = "text/html"
+default_charset = "iso-8859-1"
+
+; Always populate the $HTTP_RAW_POST_DATA variable.
+;always_populate_raw_post_data = On
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;
+; Paths and Directories ;
+;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; UNIX: "/path1:/path2"
+;include_path = ".:/php/includes"
+;
+; Windows: "\path1;\path2"
+;include_path = ".;c:\php\includes"
+
+; The root of the PHP pages, used only if nonempty.
+; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
+; if you are running php as a CGI under any web server (other than IIS)
+; see documentation for security issues.  The alternate is to use the
+; cgi.force_redirect configuration below
+doc_root =
+
+; The directory under which PHP opens the script using /~username used only
+; if nonempty.
+user_dir =
+
+; Directory in which the loadable extensions (modules) reside.
+extension_dir = "/usr/lib/php/modules"
+
+; Whether or not to enable the dl() function.  The dl() function does NOT work
+; properly in multithreaded servers, such as IIS or Zeus, and is automatically
+; disabled on them.
+enable_dl = On
+
+; cgi.force_redirect is necessary to provide security running PHP as a CGI under
+; most web servers.  Left undefined, PHP turns this on by default.  You can
+; turn it off here AT YOUR OWN RISK
+; **You CAN safely turn this off for IIS, in fact, you MUST.**
+; cgi.force_redirect = 1
+
+; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
+; every request.
+; cgi.nph = 1
+
+; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
+; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
+; will look for to know it is OK to continue execution.  Setting this variable MAY
+; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
+; cgi.redirect_status_env = ;
+
+; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
+; security tokens of the calling client.  This allows IIS to define the
+; security context that the request runs under.  mod_fastcgi under Apache
+; does not currently support this feature (03/17/2002)
+; Set to 1 if running under IIS.  Default is zero.
+; fastcgi.impersonate = 1;
+
+; Disable logging through FastCGI connection
+; fastcgi.log = 0
+
+; cgi.rfc2616_headers configuration option tells PHP what type of headers to
+; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
+; is supported by Apache. When this option is set to 1 PHP will send
+; RFC2616 compliant header.
+; Default is zero.
+;cgi.rfc2616_headers = 0
+
+
+;;;;;;;;;;;;;;;;
+; File Uploads ;
+;;;;;;;;;;;;;;;;
+
+; Whether to allow HTTP file uploads.
+file_uploads = On
+
+; Temporary directory for HTTP uploaded files (will use system default if not
+; specified).
+;upload_tmp_dir =
+
+; Maximum allowed size for uploaded files.
+upload_max_filesize = 20M
+
+
+;;;;;;;;;;;;;;;;;;
+; Fopen wrappers ;
+;;;;;;;;;;;;;;;;;;
+
+; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
+allow_url_fopen = On
+
+; Define the anonymous ftp password (your email address)
+;from="john@doe.com"
+
+; Define the User-Agent string
+; user_agent="PHP"
+
+; Default timeout for socket based streams (seconds)
+default_socket_timeout = 60
+
+; If your scripts have to deal with files from Macintosh systems,
+; or you are running on a Mac and need to deal with files from
+; unix or win32 systems, setting this flag will cause PHP to
+; automatically detect the EOL character in those files so that
+; fgets() and file() will work regardless of the source of the file.
+; auto_detect_line_endings = Off
+
+
+;;;;;;;;;;;;;;;;;;;;;;
+; Dynamic Extensions ;
+;;;;;;;;;;;;;;;;;;;;;;
+;
+; If you wish to have an extension loaded automatically, use the following
+; syntax:
+;
+;   extension=modulename.extension
+;
+; For example:
+;
+;   extension=msql.so
+;
+; Note that it should be the name of the module only; no directory information
+; needs to go here.  Specify the location of the extension with the
+; extension_dir directive above.
+
+  
+;;;;
+; Note: packaged extension modules are now loaded via the .ini files
+; found in the directory /etc/php.d; these are loaded by default.
+;;;;
+
+
+;;;;;;;;;;;;;;;;;;;
+; Module Settings ;
+;;;;;;;;;;;;;;;;;;;
+
+[Date]
+; Defines the default timezone used by the date functions
+;date.timezone =
+
+[Syslog]
+; Whether or not to define the various syslog variables (e.g. $LOG_PID,
+; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
+; runtime, you can define these variables by calling define_syslog_variables().
+define_syslog_variables  = Off
+
+[mail function]
+; For Win32 only.
+SMTP = localhost
+smtp_port = 25
+
+; For Win32 only.
+;sendmail_from = me@example.com
+
+; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
+sendmail_path = /usr/sbin/sendmail -t -i
+
+; Force the addition of the specified parameters to be passed as extra parameters
+; to the sendmail binary. These parameters will always replace the value of
+; the 5th parameter to mail(), even in safe mode.
+;mail.force_extra_parameters =
+
+[SQL]
+sql.safe_mode = Off
+
+[ODBC]
+;odbc.default_db    =  Not yet implemented
+;odbc.default_user  =  Not yet implemented
+;odbc.default_pw    =  Not yet implemented
+
+; Allow or prevent persistent links.
+odbc.allow_persistent = On
+
+; Check that a connection is still valid before reuse.
+odbc.check_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+odbc.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+odbc.max_links = -1
+
+; Handling of LONG fields.  Returns number of bytes to variables.  0 means
+; passthru.
+odbc.defaultlrl = 4096
+
+; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
+; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
+; of uodbc.defaultlrl and uodbc.defaultbinmode
+odbc.defaultbinmode = 1
+
+[MySQL]
+; Allow or prevent persistent links.
+mysql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mysql.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+mysql.max_links = -1
+
+; Default port number for mysql_connect().  If unset, mysql_connect() will use
+; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
+; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
+; at MYSQL_PORT.
+mysql.default_port =
+
+; Default socket name for local MySQL connects.  If empty, uses the built-in
+; MySQL defaults.
+mysql.default_socket =
+
+; Default host for mysql_connect() (doesn't apply in safe mode).
+mysql.default_host =
+
+; Default user for mysql_connect() (doesn't apply in safe mode).
+mysql.default_user =
+
+; Default password for mysql_connect() (doesn't apply in safe mode).
+; Note that this is generally a *bad* idea to store passwords in this file.
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
+; and reveal this password!  And of course, any users with read access to this
+; file will be able to reveal the password as well.
+mysql.default_password =
+
+; Maximum time (in secondes) for connect timeout. -1 means no limit
+mysql.connect_timeout = 60
+
+; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
+; SQL-Errors will be displayed.
+mysql.trace_mode = Off
+
+[MySQLi]
+
+; Maximum number of links.  -1 means no limit.
+mysqli.max_links = -1
+
+; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
+; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
+; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
+; at MYSQL_PORT.
+mysqli.default_port = 3306
+
+; Default socket name for local MySQL connects.  If empty, uses the built-in
+; MySQL defaults.
+mysqli.default_socket =
+
+; Default host for mysql_connect() (doesn't apply in safe mode).
+mysqli.default_host =
+
+; Default user for mysql_connect() (doesn't apply in safe mode).
+mysqli.default_user =
+
+; Default password for mysqli_connect() (doesn't apply in safe mode).
+; Note that this is generally a *bad* idea to store passwords in this file.
+; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
+; and reveal this password!  And of course, any users with read access to this
+; file will be able to reveal the password as well.
+mysqli.default_pw =
+
+; Allow or prevent reconnect
+mysqli.reconnect = Off
+
+[mSQL]
+; Allow or prevent persistent links.
+msql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+msql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+msql.max_links = -1
+
+[PostgresSQL]
+; Allow or prevent persistent links.
+pgsql.allow_persistent = On
+
+; Detect broken persistent links always with pg_pconnect().
+; Auto reset feature requires a little overheads.
+pgsql.auto_reset_persistent = Off
+
+; Maximum number of persistent links.  -1 means no limit.
+pgsql.max_persistent = 200
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+pgsql.max_links = 200
+
+; Ignore PostgreSQL backends Notice message or not.
+; Notice message logging require a little overheads.
+pgsql.ignore_notice = 0
+
+; Log PostgreSQL backends Noitce message or not.
+; Unless pgsql.ignore_notice=0, module cannot log notice message.
+pgsql.log_notice = 0
+
+[Sybase]
+; Allow or prevent persistent links.
+sybase.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybase.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybase.max_links = -1
+
+;sybase.interface_file = "/usr/sybase/interfaces"
+
+; Minimum error severity to display.
+sybase.min_error_severity = 10
+
+; Minimum message severity to display.
+sybase.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+; If on, this will cause PHP to automatically assign types to results according
+; to their Sybase type, instead of treating them all as strings.  This
+; compatability mode will probably not stay around forever, so try applying
+; whatever necessary changes to your code, and turn it off.
+sybase.compatability_mode = Off
+
+[Sybase-CT]
+; Allow or prevent persistent links.
+sybct.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybct.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybct.max_links = -1
+
+; Minimum server message severity to display.
+sybct.min_server_severity = 10
+
+; Minimum client message severity to display.
+sybct.min_client_severity = 10
+
+[bcmath]
+; Number of decimal digits for all bcmath functions.
+bcmath.scale = 0
+
+[browscap]
+;browscap = extra/browscap.ini
+
+[Informix]
+; Default host for ifx_connect() (doesn't apply in safe mode).
+ifx.default_host =
+
+; Default user for ifx_connect() (doesn't apply in safe mode).
+ifx.default_user =
+
+; Default password for ifx_connect() (doesn't apply in safe mode).
+ifx.default_password =
+
+; Allow or prevent persistent links.
+ifx.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ifx.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+ifx.max_links = -1
+
+; If on, select statements return the contents of a text blob instead of its id.
+ifx.textasvarchar = 0
+
+; If on, select statements return the contents of a byte blob instead of its id.
+ifx.byteasvarchar = 0
+
+; Trailing blanks are stripped from fixed-length char columns.  May help the
+; life of Informix SE users.
+ifx.charasvarchar = 0
+
+; If on, the contents of text and byte blobs are dumped to a file instead of
+; keeping them in memory.
+ifx.blobinfile = 0
+
+; NULL's are returned as empty strings, unless this is set to 1.  In that case,
+; NULL's are returned as string 'NULL'.
+ifx.nullformat = 0
+
+[Session]
+; Handler used to store/retrieve data.
+session.save_handler = files
+
+; Argument passed to save_handler.  In the case of files, this is the path
+; where data files are stored. Note: Windows users have to change this
+; variable in order to use PHP's session functions.
+;
+; As of PHP 4.0.1, you can define the path as:
+;
+;     session.save_path = "N;/path"
+;
+; where N is an integer.  Instead of storing all the session files in
+; /path, what this will do is use subdirectories N-levels deep, and
+; store the session data in those directories.  This is useful if you
+; or your OS have problems with lots of files in one directory, and is
+; a more efficient layout for servers that handle lots of sessions.
+;
+; NOTE 1: PHP will not create this directory structure automatically.
+;         You can use the script in the ext/session dir for that purpose.
+; NOTE 2: See the section on garbage collection below if you choose to
+;         use subdirectories for session storage
+;
+; The file storage module creates files using mode 600 by default.
+; You can change that by using
+;
+;     session.save_path = "N;MODE;/path"
+;
+; where MODE is the octal representation of the mode. Note that this
+; does not overwrite the process's umask.
+session.save_path = "/var/lib/php/session"
+;session.save_path = /php_sessions/
+
+; Whether to use cookies.
+session.use_cookies = 0
+
+; This option enables administrators to make their users invulnerable to
+; attacks which involve passing session ids in URLs; defaults to 0.
+; session.use_only_cookies = 1
+
+; Name of the session (used as cookie name).
+session.name = PHPSESSID
+
+; Initialize session on request startup.
+session.auto_start = 0
+
+; Lifetime in seconds of cookie or, if 0, until browser is restarted.
+session.cookie_lifetime = 0
+
+; The path for which the cookie is valid.
+session.cookie_path = /
+
+; The domain for which the cookie is valid.
+session.cookie_domain =
+
+; Handler used to serialize data.  php is the standard serializer of PHP.
+session.serialize_handler = php
+
+; Define the probability that the 'garbage collection' process is started
+; on every session initialization.
+; The probability is calculated by using gc_probability/gc_divisor,
+; e.g. 1/100 means there is a 1% chance that the GC process starts
+; on each request.
+
+session.gc_probability = 1
+session.gc_divisor     = 100
+
+; After this number of seconds, stored data will be seen as 'garbage' and
+; cleaned up by the garbage collection process.
+session.gc_maxlifetime = 1440
+
+; NOTE: If you are using the subdirectory option for storing session files
+;       (see session.save_path above), then garbage collection does *not*
+;       happen automatically.  You will need to do your own garbage
+;       collection through a shell script, cron entry, or some other method.
+;       For example, the following script would is the equivalent of
+;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
+;          cd /path/to/sessions; find -cmin +24 | xargs rm
+
+; PHP 4.2 and less have an undocumented feature/bug that allows you to
+; to initialize a session variable in the global scope, albeit register_globals
+; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
+; You can disable the feature and the warning separately. At this time,
+; the warning is only displayed, if bug_compat_42 is enabled.
+
+session.bug_compat_42 = 1
+session.bug_compat_warn = 1
+
+; Check HTTP Referer to invalidate externally stored URLs containing ids.
+; HTTP_REFERER has to contain this substring for the session to be
+; considered as valid.
+session.referer_check =
+
+; How many bytes to read from the file.
+session.entropy_length = 0
+
+; Specified here to create the session id.
+session.entropy_file =
+
+;session.entropy_length = 16
+
+;session.entropy_file = /dev/urandom
+
+; Set to {nocache,private,public,} to determine HTTP caching aspects
+; or leave this empty to avoid sending anti-caching headers.
+session.cache_limiter = nocache
+
+; Document expires after n minutes.
+session.cache_expire = 180
+
+; trans sid support is disabled by default.
+; Use of trans sid may risk your users security.
+; Use this option with caution.
+; - User may send URL contains active session ID
+;   to other person via. email/irc/etc.
+; - URL that contains active session ID may be stored
+;   in publically accessible computer.
+; - User may access your site with the same session ID
+;   always using URL stored in browser's history or bookmarks.
+session.use_trans_sid = 0
+
+; Select a hash function
+; 0: MD5   (128 bits)
+; 1: SHA-1 (160 bits)
+session.hash_function = 0
+
+; Define how many bits are stored in each character when converting
+; the binary hash data to something readable.
+;
+; 4 bits: 0-9, a-f
+; 5 bits: 0-9, a-v
+; 6 bits: 0-9, a-z, A-Z, "-", ","
+session.hash_bits_per_character = 5
+
+; The URL rewriter will look for URLs in a defined set of HTML tags.
+; form/fieldset are special; if you include them here, the rewriter will
+; add a hidden <input> field with the info which is otherwise appended
+; to URLs.  If you want XHTML conformity, remove the form entry.
+; Note that all valid entries require a "=", even if no value follows.
+;url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
+url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
+
+[MSSQL]
+; Allow or prevent persistent links.
+mssql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mssql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+mssql.max_links = -1
+
+; Minimum error severity to display.
+mssql.min_error_severity = 10
+
+; Minimum message severity to display.
+mssql.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+mssql.compatability_mode = Off
+
+; Connect timeout
+;mssql.connect_timeout = 5
+
+; Query timeout
+;mssql.timeout = 60
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textlimit = 4096
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textsize = 4096
+
+; Limits the number of records in each batch.  0 = all records in one batch.
+;mssql.batchsize = 0
+
+; Specify how datetime and datetim4 columns are returned
+; On => Returns data converted to SQL server settings
+; Off => Returns values as YYYY-MM-DD hh:mm:ss
+;mssql.datetimeconvert = On
+
+; Use NT authentication when connecting to the server
+mssql.secure_connection = Off
+
+; Specify max number of processes. -1 = library default
+; msdlib defaults to 25
+; FreeTDS defaults to 4096
+;mssql.max_procs = -1
+
+; Specify client character set. 
+; If empty or not set the client charset from freetds.comf is used
+; This is only used when compiled with FreeTDS
+;mssql.charset = "ISO-8859-1"
+
+[Assertion]
+; Assert(expr); active by default.
+;assert.active = On
+
+; Issue a PHP warning for each failed assertion.
+;assert.warning = On
+
+; Don't bail out by default.
+;assert.bail = Off
+
+; User-function to be called if an assertion fails.
+;assert.callback = 0
+
+; Eval the expression with current error_reporting().  Set to true if you want
+; error_reporting(0) around the eval().
+;assert.quiet_eval = 0
+
+[Verisign Payflow Pro]
+; Default Payflow Pro server.
+pfpro.defaulthost = "test-payflow.verisign.com"
+
+; Default port to connect to.
+pfpro.defaultport = 443
+
+; Default timeout in seconds.
+pfpro.defaulttimeout = 30
+
+; Default proxy IP address (if required).
+;pfpro.proxyaddress =
+
+; Default proxy port.
+;pfpro.proxyport =
+
+; Default proxy logon.
+;pfpro.proxylogon =
+
+; Default proxy password.
+;pfpro.proxypassword =
+
+[COM]
+; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
+;com.typelib_file =
+; allow Distributed-COM calls
+;com.allow_dcom = true
+; autoregister constants of a components typlib on com_load()
+;com.autoregister_typelib = true
+; register constants casesensitive
+;com.autoregister_casesensitive = false
+; show warnings on duplicate constat registrations
+;com.autoregister_verbose = true
+
+[mbstring]
+; language for internal character representation.
+;mbstring.language = Japanese
+
+; internal/script encoding.
+; Some encoding cannot work as internal encoding.
+; (e.g. SJIS, BIG5, ISO-2022-*)
+;mbstring.internal_encoding = EUC-JP
+
+; http input encoding.
+;mbstring.http_input = auto
+
+; http output encoding. mb_output_handler must be
+; registered as output buffer to function
+;mbstring.http_output = SJIS
+
+; enable automatic encoding translation according to
+; mbstring.internal_encoding setting. Input chars are
+; converted to internal encoding by setting this to On.
+; Note: Do _not_ use automatic encoding translation for
+;       portable libs/applications.
+;mbstring.encoding_translation = Off
+
+; automatic encoding detection order.
+; auto means
+;mbstring.detect_order = auto
+
+; substitute_character used when character cannot be converted
+; one from another
+;mbstring.substitute_character = none;
+
+; overload(replace) single byte functions by mbstring functions.
+; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
+; etc. Possible values are 0,1,2,4 or combination of them.
+; For example, 7 for overload everything.
+; 0: No overload
+; 1: Overload mail() function
+; 2: Overload str*() functions
+; 4: Overload ereg*() functions
+mbstring.func_overload = 7
+
+; enable strict encoding detection.
+;mbstring.strict_encoding = Off
+
+[FrontBase]
+;fbsql.allow_persistent = On
+;fbsql.autocommit = On
+;fbsql.default_database =
+;fbsql.default_database_password =
+;fbsql.default_host =
+;fbsql.default_password =
+;fbsql.default_user = "_SYSTEM"
+;fbsql.generate_warnings = Off
+;fbsql.max_connections = 128
+;fbsql.max_links = 128
+;fbsql.max_persistent = -1
+;fbsql.max_results = 128
+;fbsql.batchSize = 1000
+
+[gd]
+; Tell the jpeg decode to libjpeg warnings and try to create
+; a gd image. The warning will then be displayed as notices
+; disabled by default
+;gd.jpeg_ignore_warning = 0
+
+[exif]
+; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
+; With mbstring support this will automatically be converted into the encoding
+; given by corresponding encode setting. When empty mbstring.internal_encoding
+; is used. For the decode settings you can distinguish between motorola and
+; intel byte order. A decode setting cannot be empty.
+;exif.encode_unicode = ISO-8859-15
+;exif.decode_unicode_motorola = UCS-2BE
+;exif.decode_unicode_intel    = UCS-2LE
+;exif.encode_jis =
+;exif.decode_jis_motorola = JIS
+;exif.decode_jis_intel    = JIS
+
+[Tidy]
+; The path to a default tidy configuration file to use when using tidy
+;tidy.default_config = /usr/local/lib/php/default.tcfg
+
+; Should tidy clean and repair output automatically?
+; WARNING: Do not use this option if you are generating non-html content
+; such as dynamic images
+tidy.clean_output = Off
+
+[soap]
+; Enables or disables WSDL caching feature.
+soap.wsdl_cache_enabled=1
+; Sets the directory name where SOAP extension will put cache files.
+soap.wsdl_cache_dir="/tmp"
+; (time to live) Sets the number of second while cached file will be used 
+; instead of original one.
+soap.wsdl_cache_ttl=86400
+
+; Local Variables:
+; tab-width: 4
+; End:
Index: /sandbox/doc-expressolivre/arquivos/rhel5/etc/selinux/config
===================================================================
--- /sandbox/doc-expressolivre/arquivos/rhel5/etc/selinux/config	(revision 1407)
+++ /sandbox/doc-expressolivre/arquivos/rhel5/etc/selinux/config	(revision 1407)
@@ -0,0 +1,10 @@
+# This file controls the state of SELinux on the system.
+# SELINUX= can take one of these three values:
+#	enforcing - SELinux security policy is enforced.
+#	permissive - SELinux prints warnings instead of enforcing.
+#	disabled - SELinux is fully disabled.
+SELINUX=permissive
+# SELINUXTYPE= type of policy in use. Possible values are:
+#	targeted - Only targeted network daemons are protected.
+#	strict - Full SELinux protection.
+SELINUXTYPE=targeted
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/ldap/slapd.conf.lenny
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/ldap/slapd.conf.lenny	(revision 685)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/ldap/slapd.conf.lenny	(revision 685)
@@ -0,0 +1,145 @@
+# This is the main slapd configuration file. See slapd.conf(5) for more
+# info on the configuration options.
+
+#######################################################################
+# Global Directives:
+
+# Features to permit
+#allow bind_v2
+
+# Schema and objectClass definitions
+include         /etc/ldap/schema/core.schema
+include         /etc/ldap/schema/cosine.schema
+include         /etc/ldap/schema/nis.schema
+include         /etc/ldap/schema/inetorgperson.schema
+include         /etc/ldap/schema/qmailuser.schema
+include         /etc/ldap/schema/phpgwaccount.schema
+include         /etc/ldap/schema/samba.schema
+include         /etc/ldap/schema/phpgwcontact.schema
+
+# Where the pid file is put. The init.d script
+# will not stop the server if you change this.
+pidfile         /var/run/slapd/slapd.pid
+
+# List of arguments that were passed to the server
+argsfile        /var/run/slapd/slapd.args
+
+# Read slapd.conf(5) for possible values
+loglevel        none
+
+# Where the dynamically loaded modules are stored
+modulepath	/usr/lib/ldap
+moduleload	back_hdb
+
+# The maximum number of entries that is returned for a search operation
+sizelimit 500
+
+# The tool-threads parameter sets the actual amount of cpu's that is used
+# for indexing.
+tool-threads 1
+
+#######################################################################
+# Specific Backend Directives for hdb:
+# Backend specific directives apply to this backend until another
+# 'backend' directive occurs
+backend		hdb
+
+#######################################################################
+# Specific Backend Directives for 'other':
+# Backend specific directives apply to this backend until another
+# 'backend' directive occurs
+#backend		<other>
+
+#######################################################################
+# Specific Directives for database #1, of type hdb:
+# Database specific directives apply to this databasse until another
+# 'database' directive occurs
+database        hdb
+
+# The base of your directory in database #1
+suffix          "LDAP_DN"
+
+# rootdn directive for specifying a superuser on the database. This is needed
+# for syncrepl.
+rootdn          "cn=admin,LDAP_DN"
+rootpw		LDAP_PWD_MD5
+
+# Where the database file are physically stored for database #1
+directory       "/var/lib/ldap"
+
+# The dbconfig settings are used to generate a DB_CONFIG file the first
+# time slapd starts.  They do NOT override existing an existing DB_CONFIG
+# file.  You should therefore change these settings in DB_CONFIG directly
+# or remove DB_CONFIG and restart slapd for changes to take effect.
+
+# For the Debian package we use 2MB as default but be sure to update this
+# value if you have plenty of RAM
+dbconfig set_cachesize 0 2097152 0
+
+# Sven Hartge reported that he had to set this value incredibly high
+# to get slapd running at all. See http://bugs.debian.org/303057 for more
+# information.
+
+# Number of objects that can be locked at the same time.
+dbconfig set_lk_max_objects 1500
+# Number of locks (both requested and granted)
+dbconfig set_lk_max_locks 1500
+# Number of lockers
+dbconfig set_lk_max_lockers 1500
+
+# Indexing options for database #1
+index	mailAlternateAddress,objectClass,memberUid,uidNumber,deliveryMode,accountStatus,phpgwAccountType,gidNumber,phpgwAccountStatus,ou pres,eq
+index	mail,uid,cn,sn,givenName pres,eq,sub
+
+# Save the time that the entry gets modified, for database #1
+lastmod         on
+
+# Checkpoint the BerkeleyDB database periodically in case of system
+# failure and to speed slapd shutdown.
+checkpoint      512 30
+
+# Where to store the replica logs for database #1
+# replogfile	/var/lib/ldap/replog
+
+# The userPassword by default can be changed
+# by the entry owning it if they are authenticated.
+# Others should not be able to see it, except the
+# admin entry below
+# These access lines apply to database #1 only
+access to attrs=userPassword,shadowLastChange
+        by dn="cn=admin,LDAP_DN" write
+        by anonymous auth
+        by self write
+        by * none
+
+# Ensure read access to the base for things like
+# supportedSASLMechanisms.  Without this you may
+# have problems with SASL not knowing what
+# mechanisms are available and the like.
+# Note that this is covered by the 'access to *'
+# ACL below too but if you change that as people
+# are wont to do you'll still need this if you
+# want SASL (and possible other things) to work 
+# happily.
+access to dn.base="" by * read
+
+# The admin dn has full write access, everyone else
+# can read everything.
+access to *
+        by dn="cn=admin,LDAP_DN" write
+        by * read
+
+# For Netscape Roaming support, each user gets a roaming
+# profile for which they have write access to
+#access to dn=".*,ou=Roaming,o=morsnet"
+#        by dn="cn=admin,LDAP_DN" write
+#        by dnattr=owner write
+
+#######################################################################
+# Specific Directives for database #2, of type 'other' (can be hdb too):
+# Database specific directives apply to this databasse until another
+# 'database' directive occurs
+#database        <other>
+
+# The base of your directory for database #2
+#suffix		"dc=debian,dc=org"
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/cacert.pem
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/cacert.pem	(revision 1044)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/cacert.pem	(revision 1044)
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDJTCCAo6gAwIBAgIJANV53TwcuDSoMA0GCSqGSIb3DQEBBQUAMGsxCzAJBgNV
+BAYTAkJSMQwwCgYDVQQIEwNSR1MxFTATBgNVBAcTDFBPUlRPIEFMRUdSRTERMA8G
+A1UEChMIRVhQUkVTU08xETAPBgNVBAsTCEVYUFJFU1NPMREwDwYDVQQDEwhFWFBS
+RVNTTzAeFw0wOTA0MTYxOTA0MjlaFw0xMDA0MTYxOTA0MjlaMGsxCzAJBgNVBAYT
+AkJSMQwwCgYDVQQIEwNSR1MxFTATBgNVBAcTDFBPUlRPIEFMRUdSRTERMA8GA1UE
+ChMIRVhQUkVTU08xETAPBgNVBAsTCEVYUFJFU1NPMREwDwYDVQQDEwhFWFBSRVNT
+TzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAohiBR27FKKL7e9GiqAmdg1py
+uYI6tl8xEAxhUScrog5BzPCZgM0+ArqLLbpwyCqcVuxzhrp6YrnuI2CItArAIQvB
+5Sm04uKKoYjCEl/BsmvRbvEmUYCkmWXo2YBK4vsxEuRaNWxfD6r/0JCHJFU+4oDa
+z0na7H1Xylzpf0Eick8CAwEAAaOB0DCBzTAdBgNVHQ4EFgQUAmp9kXNtu8kt3wIZ
+2hyy8K39TRwwgZ0GA1UdIwSBlTCBkoAUAmp9kXNtu8kt3wIZ2hyy8K39TRyhb6Rt
+MGsxCzAJBgNVBAYTAkJSMQwwCgYDVQQIEwNSR1MxFTATBgNVBAcTDFBPUlRPIEFM
+RUdSRTERMA8GA1UEChMIRVhQUkVTU08xETAPBgNVBAsTCEVYUFJFU1NPMREwDwYD
+VQQDEwhFWFBSRVNTT4IJANV53TwcuDSoMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcN
+AQEFBQADgYEAStkZPzZLGh5RkajmG+IsXOJVe7sxTzlPo1hMW/WDzbRxcXIVPkYY
+OdxOIXYAn35XCAOBBXzh1FNpEX/TVMngIeOnvjbcsxwcTMLUVVs4nQGy+V+sL6qf
+CR6sEzpVZIcHXOFeKK7To1T2V3Pltj6yTQ4lDA4IKXl+Clj1Pl6anrw=
+-----END CERTIFICATE-----
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.crt
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.crt	(revision 1044)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.crt	(revision 1044)
@@ -0,0 +1,60 @@
+Certificate:
+    Data:
+        Version: 3 (0x2)
+        Serial Number: 1 (0x1)
+        Signature Algorithm: sha1WithRSAEncryption
+        Issuer: C=BR, ST=RGS, L=PORTO ALEGRE, O=EXPRESSO, OU=EXPRESSO, CN=EXPRESSO
+        Validity
+            Not Before: Apr 16 19:41:53 2009 GMT
+            Not After : Apr 16 19:41:53 2010 GMT
+        Subject: C=BR, ST=RGS, O=EXPRESSO, OU=SERVIDOR-EXPRESSO, CN=SERVIDOR-EXPRESSO
+        Subject Public Key Info:
+            Public Key Algorithm: rsaEncryption
+            RSA Public Key: (1024 bit)
+                Modulus (1024 bit):
+                    00:d2:99:0d:00:ac:cd:36:9c:3b:ad:33:6e:2c:95:
+                    f6:1e:00:ad:f6:7b:f9:44:0e:68:10:40:68:3f:76:
+                    4e:3c:48:b0:37:51:ad:cc:8f:0c:dd:b1:a7:de:93:
+                    6a:1b:d0:b5:b0:ec:4e:69:84:aa:38:15:6b:5d:df:
+                    96:af:79:4a:c6:eb:4a:0b:65:c6:9c:6e:86:d2:52:
+                    60:77:73:17:23:6c:a7:cd:96:16:26:5f:a8:12:e4:
+                    66:b1:30:a6:c3:74:75:b8:a4:10:0b:1a:05:86:5e:
+                    87:b2:86:7d:49:37:b9:27:d4:f8:3c:ea:cc:0d:06:
+                    49:e9:ca:26:77:89:04:bd:eb
+                Exponent: 65537 (0x10001)
+        X509v3 extensions:
+            X509v3 Basic Constraints: 
+                CA:FALSE
+            Netscape Comment: 
+                OpenSSL Generated Certificate
+            X509v3 Subject Key Identifier: 
+                72:BB:25:9C:5C:00:19:68:10:14:7A:E0:B9:07:75:B0:63:51:05:D2
+            X509v3 Authority Key Identifier: 
+                keyid:02:6A:7D:91:73:6D:BB:C9:2D:DF:02:19:DA:1C:B2:F0:AD:FD:4D:1C
+
+    Signature Algorithm: sha1WithRSAEncryption
+        98:b0:61:1b:10:4d:e6:37:f9:a6:ce:d5:3b:d5:9b:bb:7e:28:
+        73:52:dd:b1:88:6a:f1:a1:9d:96:6b:db:b7:89:3a:f9:e6:f5:
+        fb:b2:a6:2e:6f:4e:77:ed:62:f9:e2:18:03:55:9f:06:43:26:
+        c1:50:5c:10:f8:41:ee:f1:93:38:f5:5f:0a:de:2d:a6:52:5f:
+        48:07:0c:9c:fc:4b:3a:95:15:ed:9a:4f:b3:0b:fa:87:51:f9:
+        7b:87:c4:1b:9f:77:f0:fd:99:64:4e:91:9e:29:42:49:78:31:
+        0f:b5:f9:91:7d:2f:0e:9d:0b:66:84:59:3d:bc:c7:45:82:16:
+        39:cf
+-----BEGIN CERTIFICATE-----
+MIICwjCCAiugAwIBAgIBATANBgkqhkiG9w0BAQUFADBrMQswCQYDVQQGEwJCUjEM
+MAoGA1UECBMDUkdTMRUwEwYDVQQHEwxQT1JUTyBBTEVHUkUxETAPBgNVBAoTCEVY
+UFJFU1NPMREwDwYDVQQLEwhFWFBSRVNTTzERMA8GA1UEAxMIRVhQUkVTU08wHhcN
+MDkwNDE2MTk0MTUzWhcNMTAwNDE2MTk0MTUzWjBmMQswCQYDVQQGEwJCUjEMMAoG
+A1UECBMDUkdTMREwDwYDVQQKEwhFWFBSRVNTTzEaMBgGA1UECxMRU0VSVklET1It
+RVhQUkVTU08xGjAYBgNVBAMTEVNFUlZJRE9SLUVYUFJFU1NPMIGfMA0GCSqGSIb3
+DQEBAQUAA4GNADCBiQKBgQDSmQ0ArM02nDutM24slfYeAK32e/lEDmgQQGg/dk48
+SLA3Ua3Mjwzdsafek2ob0LWw7E5phKo4FWtd35aveUrG60oLZcacbobSUmB3cxcj
+bKfNlhYmX6gS5GaxMKbDdHW4pBALGgWGXoeyhn1JN7kn1Pg86swNBknpyiZ3iQS9
+6wIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdl
+bmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUcrslnFwAGWgQFHrguQd1sGNR
+BdIwHwYDVR0jBBgwFoAUAmp9kXNtu8kt3wIZ2hyy8K39TRwwDQYJKoZIhvcNAQEF
+BQADgYEAmLBhGxBN5jf5ps7VO9Wbu34oc1LdsYhq8aGdlmvbt4k6+eb1+7KmLm9O
+d+1i+eIYA1WfBkMmwVBcEPhB7vGTOPVfCt4tplJfSAcMnPxLOpUV7ZpPswv6h1H5
+e4fEG5938P2ZZE6RnilCSXgxD7X5kX0vDp0LZoRZPbzHRYIWOc8=
+-----END CERTIFICATE-----
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.key.pem
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.key.pem	(revision 1044)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/apache2/ssl/server.key.pem	(revision 1044)
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXQIBAAKBgQDSmQ0ArM02nDutM24slfYeAK32e/lEDmgQQGg/dk48SLA3Ua3M
+jwzdsafek2ob0LWw7E5phKo4FWtd35aveUrG60oLZcacbobSUmB3cxcjbKfNlhYm
+X6gS5GaxMKbDdHW4pBALGgWGXoeyhn1JN7kn1Pg86swNBknpyiZ3iQS96wIDAQAB
+AoGADV1XHObacw/BHcG4yS2PG+JRJ+ZAMFh1tCpSM0zPtDWssSYG0Id3eo4uqApU
+3oUFMsAcTcf0gXCiiqeIyYP6Ab4XzIS0AhtjHuzLPkvhq8F+3N8AN2bloEgquJp3
+wTjV/MUGcZKxgdIxFyEPetz2iXAlv6doSXHTUhsHUsgNxOECQQD63BUxRIDzzWiZ
+AZexYYqLVBQki3J69AuaTOQUbfdTWDsDcGwGpYjZGnvK+jZL9C7/b7KWwO0ub5Qb
+EiNSE6TRAkEA1unE7n1hIiKWmgeWAhiY3rQn4OLiPGo3EUl1I5YR1TUHQn7WlpoA
+3RV7DBv6FnZ3h7fy1gwuDhiB+xI/cq0V+wJBAPCtiJOdMs82St1Jft1LRR4Jy82I
+EIzQafVfQhArtPe8ldnl2W7DELmixBRo3QEgRJsD8mbasHQ1zvXt//82I5ECQQCa
+kJpf47CeOj4SHW6Xp1Uapnsf1E1dog5k0m364A2HR5InEs4GllAUsURD20MsMJua
+8oMlyrC81od1KRSUx0NNAkBvIBEwaDvN+xM+FAOOT5R1C7oT85XCHECpttSnLsG5
+VhlBmCxoH4qZnziSHbypS3SWn804PTtXSyb2LLFf1Ti/
+-----END RSA PRIVATE KEY-----
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/pg_hba.conf
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/pg_hba.conf	(revision 685)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/pg_hba.conf	(revision 685)
@@ -0,0 +1,89 @@
+# PostgreSQL Client Authentication Configuration File
+# ===================================================
+#
+# Refer to the "Client Authentication" section in the
+# PostgreSQL documentation for a complete description
+# of this file.  A short synopsis follows.
+#
+# This file controls: which hosts are allowed to connect, how clients
+# are authenticated, which PostgreSQL user names they can use, which
+# databases they can access.  Records take one of these forms:
+#
+# local      DATABASE  USER  METHOD  [OPTION]
+# host       DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
+# hostssl    DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
+# hostnossl  DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
+#
+# (The uppercase items must be replaced by actual values.)
+#
+# The first field is the connection type: "local" is a Unix-domain socket,
+# "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
+# SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
+#
+# DATABASE can be "all", "sameuser", "samerole", a database name, or
+# a comma-separated list thereof.
+#
+# USER can be "all", a user name, a group name prefixed with "+", or
+# a comma-separated list thereof.  In both the DATABASE and USER fields
+# you can also write a file name prefixed with "@" to include names from
+# a separate file.
+#
+# CIDR-ADDRESS specifies the set of hosts the record matches.
+# It is made up of an IP address and a CIDR mask that is an integer
+# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
+# the number of significant bits in the mask.  Alternatively, you can write
+# an IP address and netmask in separate columns to specify the set of hosts.
+#
+# METHOD can be "trust", "reject", "md5", "crypt", "password", "gss", "sspi",
+# "krb5", "ident", "pam" or "ldap".  Note that "password" sends passwords
+# in clear text; "md5" is preferred since it sends encrypted passwords.
+#
+# OPTION is the ident map or the name of the PAM service, depending on METHOD.
+#
+# Database and user names containing spaces, commas, quotes and other special
+# characters must be quoted. Quoting one of the keywords "all", "sameuser" or
+# "samerole" makes the name lose its special character, and just match a
+# database or username with that name.
+#
+# This file is read on server startup and when the postmaster receives
+# a SIGHUP signal.  If you edit the file on a running system, you have
+# to SIGHUP the postmaster for the changes to take effect.  You can use
+# "pg_ctl reload" to do that.
+
+# Put your actual configuration here
+# ----------------------------------
+#
+# If you want to allow non-local connections, you need to add more
+# "host" records. In that case you will also need to make PostgreSQL listen
+# on a non-local interface via the listen_addresses configuration parameter,
+# or via the -i or -h command line switches.
+#
+
+
+
+
+# DO NOT DISABLE!
+# If you change this first entry you will need to make sure that the
+# database
+# super user can access the database using some other method.
+# Noninteractive
+# access to all databases is required during automatic maintenance
+# (autovacuum, daily cronjob, replication, and similar tasks).
+#
+# Database administrative login by UNIX sockets
+#local   all         postgres                          ident sameuser
+local   all         postgres                          trust
+local   workflow    +workflow                         md5
+
+# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
+
+# "local" is for Unix domain socket connections only
+#local   all         all                               ident sameuser
+
+# IPv4 local connections:
+#host    all         all         127.0.0.1/32          md5
+host    all         postgres    127.0.0.1/32          trust
+host    workflow    +workflow   127.0.0.1/32          md5
+
+# IPv6 local connections:
+host    all         all         ::1/128               md5
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/postgresql.conf
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/postgresql.conf	(revision 745)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/postgresql/8.3/main/postgresql.conf	(revision 745)
@@ -0,0 +1,493 @@
+# -----------------------------
+# PostgreSQL configuration file
+# -----------------------------
+#
+# This file consists of lines of the form:
+#
+#   name = value
+#
+# (The "=" is optional.)  Whitespace may be used.  Comments are introduced with
+# "#" anywhere on a line.  The complete list of parameter names and allowed
+# values can be found in the PostgreSQL documentation.
+#
+# The commented-out settings shown in this file represent the default values.
+# Re-commenting a setting is NOT sufficient to revert it to the default value;
+# you need to reload the server.
+#
+# This file is read on server startup and when the server receives a SIGHUP
+# signal.  If you edit the file on a running system, you have to SIGHUP the
+# server for the changes to take effect, or use "pg_ctl reload".  Some
+# parameters, which are marked below, require a server shutdown and restart to
+# take effect.
+#
+# Any parameter can also be given as a command-line option to the server, e.g.,
+# "postgres -c log_connections=on".  Some paramters can be changed at run time
+# with the "SET" SQL command.
+#
+# Memory units:  kB = kilobytes MB = megabytes GB = gigabytes
+# Time units:    ms = milliseconds s = seconds min = minutes h = hours d = days
+
+
+#------------------------------------------------------------------------------
+# FILE LOCATIONS
+#------------------------------------------------------------------------------
+
+# The default values of these variables are driven from the -D command-line
+# option or PGDATA environment variable, represented here as ConfigDir.
+
+data_directory = '/var/lib/postgresql/8.3/main'		# use data in another directory
+					# (change requires restart)
+hba_file = '/etc/postgresql/8.3/main/pg_hba.conf'	# host-based authentication file
+					# (change requires restart)
+ident_file = '/etc/postgresql/8.3/main/pg_ident.conf'	# ident configuration file
+					# (change requires restart)
+
+# If external_pid_file is not explicitly set, no extra PID file is written.
+external_pid_file = '/var/run/postgresql/8.3-main.pid'		# write an extra PID file
+					# (change requires restart)
+
+
+#------------------------------------------------------------------------------
+# CONNECTIONS AND AUTHENTICATION
+#------------------------------------------------------------------------------
+
+# - Connection Settings -
+
+#listen_addresses = 'localhost'		# what IP address(es) to listen on;
+					# comma-separated list of addresses;
+					# defaults to 'localhost', '*' = all
+					# (change requires restart)
+port = 5432				# (change requires restart)
+max_connections = 100			# (change requires restart)
+# Note:  Increasing max_connections costs ~400 bytes of shared memory per 
+# connection slot, plus lock space (see max_locks_per_transaction).  You might
+# also need to raise shared_buffers to support more connections.
+#superuser_reserved_connections = 3	# (change requires restart)
+unix_socket_directory = '/var/run/postgresql'		# (change requires restart)
+#unix_socket_group = ''			# (change requires restart)
+#unix_socket_permissions = 0777		# begin with 0 to use octal notation
+					# (change requires restart)
+#bonjour_name = ''			# defaults to the computer name
+					# (change requires restart)
+
+# - Security and Authentication -
+
+#authentication_timeout = 1min		# 1s-600s
+ssl = false				# (change requires restart)
+#ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'	# allowed SSL ciphers
+					# (change requires restart)
+#password_encryption = on
+#db_user_namespace = off
+
+# Kerberos and GSSAPI
+#krb_server_keyfile = ''		# (change requires restart)
+#krb_srvname = 'postgres'		# (change requires restart, Kerberos only)
+#krb_server_hostname = ''		# empty string matches any keytab entry
+					# (change requires restart, Kerberos only)
+#krb_caseins_users = off		# (change requires restart)
+#krb_realm = ''           		# (change requires restart)
+
+# - TCP Keepalives -
+# see "man 7 tcp" for details
+
+#tcp_keepalives_idle = 0		# TCP_KEEPIDLE, in seconds;
+					# 0 selects the system default
+#tcp_keepalives_interval = 0		# TCP_KEEPINTVL, in seconds;
+					# 0 selects the system default
+#tcp_keepalives_count = 0		# TCP_KEEPCNT;
+					# 0 selects the system default
+
+
+#------------------------------------------------------------------------------
+# RESOURCE USAGE (except WAL)
+#------------------------------------------------------------------------------
+
+# - Memory -
+
+shared_buffers = 24MB			# min 128kB or max_connections*16kB
+					# (change requires restart)
+#temp_buffers = 8MB			# min 800kB
+#max_prepared_transactions = 5		# can be 0 or more
+					# (change requires restart)
+# Note:  Increasing max_prepared_transactions costs ~600 bytes of shared memory
+# per transaction slot, plus lock space (see max_locks_per_transaction).
+#work_mem = 1MB				# min 64kB
+#maintenance_work_mem = 16MB		# min 1MB
+#max_stack_depth = 2MB			# min 100kB
+
+# - Free Space Map -
+
+max_fsm_pages = 153600			# min max_fsm_relations*16, 6 bytes each
+					# (change requires restart)
+#max_fsm_relations = 1000		# min 100, ~70 bytes each
+					# (change requires restart)
+
+# - Kernel Resource Usage -
+
+#max_files_per_process = 1000		# min 25
+					# (change requires restart)
+#shared_preload_libraries = ''		# (change requires restart)
+
+# - Cost-Based Vacuum Delay -
+
+#vacuum_cost_delay = 0			# 0-1000 milliseconds
+#vacuum_cost_page_hit = 1		# 0-10000 credits
+#vacuum_cost_page_miss = 10		# 0-10000 credits
+#vacuum_cost_page_dirty = 20		# 0-10000 credits
+#vacuum_cost_limit = 200		# 1-10000 credits
+
+# - Background Writer -
+
+#bgwriter_delay = 200ms			# 10-10000ms between rounds
+#bgwriter_lru_maxpages = 100		# 0-1000 max buffers written/round
+#bgwriter_lru_multiplier = 2.0		# 0-10.0 multipler on buffers scanned/round
+
+
+#------------------------------------------------------------------------------
+# WRITE AHEAD LOG
+#------------------------------------------------------------------------------
+
+# - Settings -
+
+fsync = on				# turns forced synchronization on or off
+#synchronous_commit = on		# immediate fsync at commit
+#wal_sync_method = fsync		# the default is the first option 
+					# supported by the operating system:
+					#   open_datasync
+					#   fdatasync
+					#   fsync
+					#   fsync_writethrough
+					#   open_sync
+#full_page_writes = on			# recover from partial page writes
+#wal_buffers = 64kB			# min 32kB
+					# (change requires restart)
+#wal_writer_delay = 200ms		# 1-10000 milliseconds
+
+#commit_delay = 0			# range 0-100000, in microseconds
+#commit_siblings = 5			# range 1-1000
+
+# - Checkpoints -
+
+checkpoint_segments = 10		# in logfile segments, min 1, 16MB each
+checkpoint_timeout = 5min		# range 30s-1h
+#checkpoint_completion_target = 0.5	# checkpoint target duration, 0.0 - 1.0
+checkpoint_warning = 30s		# 0 is off
+
+# - Archiving -
+
+#archive_mode = off		# allows archiving to be done
+				# (change requires restart)
+#archive_command = ''		# command to use to archive a logfile segment
+#archive_timeout = 0		# force a logfile segment switch after this
+				# time; 0 is off
+
+
+#------------------------------------------------------------------------------
+# QUERY TUNING
+#------------------------------------------------------------------------------
+
+# - Planner Method Configuration -
+
+#enable_bitmapscan = on
+#enable_hashagg = on
+#enable_hashjoin = on
+#enable_indexscan = on
+#enable_mergejoin = on
+#enable_nestloop = on
+#enable_seqscan = on
+#enable_sort = on
+#enable_tidscan = on
+
+# - Planner Cost Constants -
+
+#seq_page_cost = 1.0			# measured on an arbitrary scale
+#random_page_cost = 4.0			# same scale as above
+#cpu_tuple_cost = 0.01			# same scale as above
+#cpu_index_tuple_cost = 0.005		# same scale as above
+#cpu_operator_cost = 0.0025		# same scale as above
+#effective_cache_size = 128MB
+
+# - Genetic Query Optimizer -
+
+#geqo = on
+#geqo_threshold = 12
+#geqo_effort = 5			# range 1-10
+#geqo_pool_size = 0			# selects default based on effort
+#geqo_generations = 0			# selects default based on effort
+#geqo_selection_bias = 2.0		# range 1.5-2.0
+
+# - Other Planner Options -
+
+#default_statistics_target = 10		# range 1-1000
+#constraint_exclusion = off
+#from_collapse_limit = 8
+#join_collapse_limit = 8		# 1 disables collapsing of explicit 
+					# JOIN clauses
+
+
+#------------------------------------------------------------------------------
+# ERROR REPORTING AND LOGGING
+#------------------------------------------------------------------------------
+
+# - Where to Log -
+
+#log_destination = 'stderr'		# Valid values are combinations of
+					# stderr, csvlog, syslog and eventlog,
+					# depending on platform.  csvlog
+					# requires logging_collector to be on.
+
+# This is used when logging to stderr:
+#logging_collector = off		# Enable capturing of stderr and csvlog
+					# into log files. Required to be on for
+					# csvlogs.
+					# (change requires restart)
+
+# These are only used if logging_collector is on:
+#log_directory = 'pg_log'		# directory where log files are written,
+					# can be absolute or relative to PGDATA
+#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'	# log file name pattern,
+					# can include strftime() escapes
+#log_truncate_on_rotation = off		# If on, an existing log file of the
+					# same name as the new log file will be
+					# truncated rather than appended to.
+					# But such truncation only occurs on
+					# time-driven rotation, not on restarts
+					# or size-driven rotation.  Default is
+					# off, meaning append to existing files
+					# in all cases.
+#log_rotation_age = 1d			# Automatic rotation of logfiles will
+					# happen after that time.  0 to disable.
+#log_rotation_size = 10MB		# Automatic rotation of logfiles will 
+					# happen after that much log output.
+					# 0 to disable.
+
+# These are relevant when logging to syslog:
+#syslog_facility = 'LOCAL0'
+#syslog_ident = 'postgres'
+
+
+# - When to Log -
+
+#client_min_messages = notice		# values in order of decreasing detail:
+					#   debug5
+					#   debug4
+					#   debug3
+					#   debug2
+					#   debug1
+					#   log
+					#   notice
+					#   warning
+					#   error
+
+#log_min_messages = notice		# values in order of decreasing detail:
+					#   debug5
+					#   debug4
+					#   debug3
+					#   debug2
+					#   debug1
+					#   info
+					#   notice
+					#   warning
+					#   error
+					#   log
+					#   fatal
+					#   panic
+
+#log_error_verbosity = default		# terse, default, or verbose messages
+
+#log_min_error_statement = error	# values in order of decreasing detail:
+				 	#   debug5
+					#   debug4
+					#   debug3
+					#   debug2
+					#   debug1
+				 	#   info
+					#   notice
+					#   warning
+					#   error
+					#   log
+					#   fatal
+					#   panic (effectively off)
+
+#log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements
+					# and their durations, > 0 logs only
+					# statements running at least this time.
+
+#silent_mode = off			# DO NOT USE without syslog or
+					# logging_collector
+					# (change requires restart)
+
+# - What to Log -
+
+#debug_print_parse = off
+#debug_print_rewritten = off
+#debug_print_plan = off
+#debug_pretty_print = off
+#log_checkpoints = off
+#log_connections = off
+#log_disconnections = off
+#log_duration = off
+#log_hostname = off
+log_line_prefix = '%t '			# special values:
+					#   %u = user name
+					#   %d = database name
+					#   %r = remote host and port
+					#   %h = remote host
+					#   %p = process ID
+					#   %t = timestamp without milliseconds
+					#   %m = timestamp with milliseconds
+					#   %i = command tag
+					#   %c = session ID
+					#   %l = session line number
+					#   %s = session start timestamp
+					#   %v = virtual transaction ID
+					#   %x = transaction ID (0 if none)
+					#   %q = stop here in non-session
+					#        processes
+					#   %% = '%'
+					# e.g. '<%u%%%d> '
+#log_lock_waits = off			# log lock waits >= deadlock_timeout
+#log_statement = 'none'			# none, ddl, mod, all
+#log_temp_files = -1			# log temporary files equal or larger
+					# than specified size;
+					# -1 disables, 0 logs all temp files
+#log_timezone = unknown			# actually, defaults to TZ environment
+					# setting
+
+
+#------------------------------------------------------------------------------
+# RUNTIME STATISTICS
+#------------------------------------------------------------------------------
+
+# - Query/Index Statistics Collector -
+
+#track_activities = on
+track_counts = on
+#update_process_title = on
+
+
+# - Statistics Monitoring -
+
+#log_parser_stats = off
+#log_planner_stats = off
+#log_executor_stats = off
+#log_statement_stats = off
+
+
+#------------------------------------------------------------------------------
+# AUTOVACUUM PARAMETERS
+#------------------------------------------------------------------------------
+
+autovacuum = on			# Enable autovacuum subprocess?  'on' 
+					# requires track_counts to also be on.
+#log_autovacuum_min_duration = -1	# -1 disables, 0 logs all actions and
+					# their durations, > 0 logs only
+					# actions running at least that time.
+#autovacuum_max_workers = 3		# max number of autovacuum subprocesses
+#autovacuum_naptime = 1min		# time between autovacuum runs
+#autovacuum_vacuum_threshold = 50	# min number of row updates before
+					# vacuum
+#autovacuum_analyze_threshold = 50	# min number of row updates before 
+					# analyze
+#autovacuum_vacuum_scale_factor = 0.2	# fraction of table size before vacuum
+#autovacuum_analyze_scale_factor = 0.1	# fraction of table size before analyze
+#autovacuum_freeze_max_age = 200000000	# maximum XID age before forced vacuum
+					# (change requires restart)
+#autovacuum_vacuum_cost_delay = 20	# default vacuum cost delay for
+					# autovacuum, -1 means use
+					# vacuum_cost_delay
+#autovacuum_vacuum_cost_limit = -1	# default vacuum cost limit for
+					# autovacuum, -1 means use
+					# vacuum_cost_limit
+
+
+#------------------------------------------------------------------------------
+# CLIENT CONNECTION DEFAULTS
+#------------------------------------------------------------------------------
+
+# - Statement Behavior -
+
+#search_path = '"$user",public'		# schema names
+#default_tablespace = ''		# a tablespace name, '' uses the default
+#temp_tablespaces = ''			# a list of tablespace names, '' uses
+					# only default tablespace
+#check_function_bodies = on
+#default_transaction_isolation = 'read committed'
+#default_transaction_read_only = off
+#session_replication_role = 'origin'
+#statement_timeout = 0			# 0 is disabled
+#vacuum_freeze_min_age = 100000000
+#xmlbinary = 'base64'
+#xmloption = 'content'
+
+# - Locale and Formatting -
+
+#datestyle = 'iso, mdy'
+#timezone = unknown			# actually, defaults to TZ environment
+					# setting
+#timezone_abbreviations = 'Default'     # Select the set of available time zone
+					# abbreviations.  Currently, there are
+					#   Default
+					#   Australia
+					#   India
+					# You can create your own file in
+					# share/timezonesets/.
+#extra_float_digits = 0			# min -15, max 2
+#client_encoding = sql_ascii		# actually, defaults to database
+					# encoding
+
+# These settings are initialized by initdb, but they can be changed.
+#lc_messages = 'en_US.UTF-8'			# locale for system error message
+					# strings
+#lc_monetary = 'en_US.UTF-8'			# locale for monetary formatting
+#lc_numeric = 'en_US.UTF-8'			# locale for number formatting
+#lc_time = 'en_US.UTF-8'				# locale for time formatting
+
+# default configuration for text search
+default_text_search_config = 'pg_catalog.english'
+
+# - Other Defaults -
+
+#explain_pretty_print = on
+#dynamic_library_path = '$libdir'
+#local_preload_libraries = ''
+
+
+#------------------------------------------------------------------------------
+# LOCK MANAGEMENT
+#------------------------------------------------------------------------------
+
+#deadlock_timeout = 1s
+#max_locks_per_transaction = 64		# min 10
+					# (change requires restart)
+# Note:  Each lock table slot uses ~270 bytes of shared memory, and there are
+# max_locks_per_transaction * (max_connections + max_prepared_transactions)
+# lock table slots.
+
+
+#------------------------------------------------------------------------------
+# VERSION/PLATFORM COMPATIBILITY
+#------------------------------------------------------------------------------
+
+# - Previous PostgreSQL Versions -
+
+#add_missing_from = off
+#array_nulls = on
+#backslash_quote = safe_encoding	# on, off, or safe_encoding
+#default_with_oids = off
+#escape_string_warning = on
+#regex_flavor = advanced		# advanced, extended, or basic
+#sql_inheritance = on
+#standard_conforming_strings = off
+#synchronize_seqscans = on
+
+# - Other Platforms and Clients -
+
+#transform_null_equals = off
+
+
+#------------------------------------------------------------------------------
+# CUSTOMIZED OPTIONS
+#------------------------------------------------------------------------------
+
+#custom_variable_classes = ''		# list of custom variable class names
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/default/saslauthd-lenny
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/default/saslauthd-lenny	(revision 685)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/default/saslauthd-lenny	(revision 685)
@@ -0,0 +1,55 @@
+#
+# Settings for saslauthd daemon
+# Please read /usr/share/doc/sasl2-bin/README.Debian for details.
+#
+
+# Should saslauthd run automatically on startup? (default: no)
+START=yes
+
+# Description of this saslauthd instance. Recommended.
+# (suggestion: SASL Authentication Daemon)
+DESC="SASL Authentication Daemon"
+
+# Short name of this saslauthd instance. Strongly recommended.
+# (suggestion: saslauthd)
+NAME="saslauthd"
+
+# Which authentication mechanisms should saslauthd use? (default: pam)
+#
+# Available options in this Debian package:
+# getpwent  -- use the getpwent() library function
+# kerberos5 -- use Kerberos 5
+# pam       -- use PAM
+# rimap     -- use a remote IMAP server
+# shadow    -- use the local shadow password file
+# sasldb    -- use the local sasldb database file
+# ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
+#
+# Only one option may be used at a time. See the saslauthd man page
+# for more information.
+#
+# Example: MECHANISMS="pam"
+MECHANISMS="ldap"
+
+# Additional options for this mechanism. (default: none)
+# See the saslauthd man page for information about mech-specific options.
+MECH_OPTIONS=""
+
+# How many saslauthd processes should we run? (default: 5)
+# A value of 0 will fork a new process for each connection.
+THREADS=5
+
+# Other options (default: -c -m /var/run/saslauthd)
+# Note: You MUST specify the -m option or saslauthd won't run!
+#
+# WARNING: DO NOT SPECIFY THE -d OPTION.
+# The -d option will cause saslauthd to run in the foreground instead of as
+# a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish
+# to run saslauthd in debug mode, please run it by hand to be safe.
+#
+# See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
+# See the saslauthd man page and the output of 'saslauthd -h' for general
+# information about these options.
+#
+# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
+OPTIONS="-c -m /var/run/saslauthd"
Index: /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/php5/apache2/php.ini
===================================================================
--- /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/php5/apache2/php.ini	(revision 2190)
+++ /sandbox/doc-expressolivre/arquivos/debian/lenny/etc/php5/apache2/php.ini	(revision 2190)
@@ -0,0 +1,1077 @@
+[PHP]
+
+;;;;;;;;;;;
+; WARNING ;
+;;;;;;;;;;;
+; This is the default settings file for new PHP installations.
+; By default, PHP installs itself with a configuration suitable for
+; development purposes, and *NOT* for production purposes.
+; For several security-oriented considerations that should be taken
+; before going online with your site, please consult php.ini-recommended
+; and http://php.net/manual/en/security.php.
+
+
+;;;;;;;;;;;;;;;;;;;
+; About this file ;
+;;;;;;;;;;;;;;;;;;;
+; This file controls many aspects of PHP's behavior.  In order for PHP to
+; read it, it must be named 'php.ini'.  PHP looks for it in the current
+; working directory, in the path designated by the environment variable
+; PHPRC, and in the path that was defined in compile time (in that order).
+; Under Windows, the compile-time path is the Windows directory.  The
+; path in which the php.ini file is looked for can be overridden using
+; the -c argument in command line mode.
+;
+; The syntax of the file is extremely simple.  Whitespace and Lines
+; beginning with a semicolon are silently ignored (as you probably guessed).
+; Section headers (e.g. [Foo]) are also silently ignored, even though
+; they might mean something in the future.
+;
+; Directives are specified using the following syntax:
+; directive = value
+; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
+;
+; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
+; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
+; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
+;
+; Expressions in the INI file are limited to bitwise operators and parentheses:
+; |        bitwise OR
+; &        bitwise AND
+; ~        bitwise NOT
+; !        boolean NOT
+;
+; Boolean flags can be turned on using the values 1, On, True or Yes.
+; They can be turned off using the values 0, Off, False or No.
+;
+; An empty string can be denoted by simply not writing anything after the equal
+; sign, or by using the None keyword:
+;
+;  foo =         ; sets foo to an empty string
+;  foo = none    ; sets foo to an empty string
+;  foo = "none"  ; sets foo to the string 'none'
+;
+; If you use constants in your value, and these constants belong to a
+; dynamically loaded extension (either a PHP extension or a Zend extension),
+; you may only use these constants *after* the line that loads the extension.
+;
+; All the values in the php.ini-dist file correspond to the builtin
+; defaults (that is, if no php.ini is used, or if you delete these lines,
+; the builtin defaults will be identical).
+
+
+;;;;;;;;;;;;;;;;;;;;
+; Language Options ;
+;;;;;;;;;;;;;;;;;;;;
+
+; Enable the PHP scripting language engine under Apache.
+engine = On
+
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
+short_open_tag = On
+
+; Allow ASP-style <% %> tags.
+asp_tags = Off
+
+; The number of significant digits displayed in floating point numbers.
+precision    =  12
+
+; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
+y2k_compliance = On
+
+; Output buffering allows you to send header lines (including cookies) even
+; after you send body content, at the price of slowing PHP's output layer a
+; bit.  You can enable output buffering during runtime by calling the output
+; buffering functions.  You can also enable output buffering for all files by
+; setting this directive to On.  If you wish to limit the size of the buffer
+; to a certain size - you can use a maximum number of bytes instead of 'On', as
+; a value for this directive (e.g., output_buffering=4096).
+output_buffering = Off
+
+; You can redirect all of the output of your scripts to a function.  For
+; example, if you set output_handler to "mb_output_handler", character
+; encoding will be transparently converted to the specified encoding.
+; Setting any output handler automatically turns on output buffering.
+; Note: People who wrote portable scripts should not depend on this ini
+;       directive. Instead, explicitly set the output handler using ob_start().
+;       Using this ini directive may cause problems unless you know what script 
+;       is doing.
+; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
+;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
+;output_handler =
+
+; Transparent output compression using the zlib library
+; Valid values for this option are 'off', 'on', or a specific buffer size
+; to be used for compression (default is 4KB)
+; Note: Resulting chunk size may vary due to nature of compression. PHP 
+;       outputs chunks that are few hundreds bytes each as a result of 
+;       compression. If you prefer a larger chunk size for better 
+;       performance, enable output_buffering in addition.
+; Note: You need to use zlib.output_handler instead of the standard
+;       output_handler, or otherwise the output will be corrupted.
+zlib.output_compression = Off
+
+; You cannot specify additional output handlers if zlib.output_compression
+; is activated here. This setting does the same as output_handler but in
+; a different order.
+;zlib.output_handler =
+
+; Implicit flush tells PHP to tell the output layer to flush itself
+; automatically after every output block.  This is equivalent to calling the
+; PHP function flush() after each and every call to print() or echo() and each
+; and every HTML block.  Turning this option on has serious performance
+; implications and is generally recommended for debugging purposes only.
+implicit_flush = Off
+
+; The unserialize callback function will be called (with the undefined class'
+; name as parameter), if the unserializer finds an undefined class
+; which should be instanciated.
+; A warning appears if the specified function is not defined, or if the
+; function doesn't include/implement the missing class.
+; So only set this entry, if you really want to implement such a 
+; callback-function.
+unserialize_callback_func=
+
+; When floats & doubles are serialized store serialize_precision significant
+; digits after the floating point. The default value ensures that when floats
+; are decoded with unserialize, the data will remain the same.
+serialize_precision = 100
+
+; Whether to enable the ability to force arguments to be passed by reference
+; at function call time.  This method is deprecated and is likely to be
+; unsupported in future versions of PHP/Zend.  The encouraged method of
+; specifying which arguments should be passed by reference is in the function
+; declaration.  You're encouraged to try and turn this option Off and make
+; sure your scripts work properly with it in order to ensure they will work
+; with future versions of the language (you will receive a warning each time
+; you use this feature, and the argument will be passed by value instead of by
+; reference).
+allow_call_time_pass_reference = On
+
+; Safe Mode
+;
+safe_mode = Off
+
+; By default, Safe Mode does a UID compare check when
+; opening files. If you want to relax this to a GID compare,
+; then turn on safe_mode_gid.
+safe_mode_gid = Off
+
+; When safe_mode is on, UID/GID checks are bypassed when
+; including files from this directory and its subdirectories.
+; (directory must also be in include_path or full path must
+; be used when including)
+safe_mode_include_dir =        
+
+; When safe_mode is on, only executables located in the safe_mode_exec_dir
+; will be allowed to be executed via the exec family of functions.
+safe_mode_exec_dir =
+
+; Setting certain environment variables may be a potential security breach.
+; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
+; the user may only alter environment variables whose names begin with the
+; prefixes supplied here.  By default, users will only be able to set
+; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
+;
+; Note:  If this directive is empty, PHP will let the user modify ANY
+; environment variable!
+safe_mode_allowed_env_vars = PHP_
+
+; This directive contains a comma-delimited list of environment variables that
+; the end user won't be able to change using putenv().  These variables will be
+; protected even if safe_mode_allowed_env_vars is set to allow to change them.
+safe_mode_protected_env_vars = LD_LIBRARY_PATH
+
+; open_basedir, if set, limits all file operations to the defined directory
+; and below.  This directive makes most sense if used in a per-directory
+; or per-virtualhost web server configuration file. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+open_basedir = /var/www:/tmp:/php_sessions:/home/expressolivre:/usr/bin/php5:/usr/bin/crontab
+
+; This directive allows you to disable certain functions for security reasons.
+; It receives a comma-delimited list of function names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_functions =
+
+; This directive allows you to disable certain classes for security reasons.
+; It receives a comma-delimited list of class names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_classes =
+
+; Colors for Syntax Highlighting mode.  Anything that's acceptable in
+; <font color="??????"> would work.
+;highlight.string  = #DD0000
+;highlight.comment = #FF9900
+;highlight.keyword = #007700
+;highlight.bg      = #FFFFFF
+;highlight.default = #0000BB
+;highlight.html    = #000000
+
+
+;
+; Misc
+;
+; Decides whether PHP may expose the fact that it is installed on the server
+; (e.g. by adding its signature to the Web server header).  It is no security
+; threat in any way, but it makes it possible to determine whether you use PHP
+; on your server or not.
+expose_php = Off
+
+
+;;;;;;;;;;;;;;;;;;;
+; Resource Limits ;
+;;;;;;;;;;;;;;;;;;;
+
+max_execution_time = 120     ; Maximum execution time of each script, in seconds
+max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
+memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Error handling and logging ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; error_reporting is a bit-field.  Or each number up to get desired error
+; reporting level
+; E_ALL             - All errors and warnings
+; E_ERROR           - fatal run-time errors
+; E_WARNING         - run-time warnings (non-fatal errors)
+; E_PARSE           - compile-time parse errors
+; E_NOTICE          - run-time notices (these are warnings which often result
+;                     from a bug in your code, but it's possible that it was
+;                     intentional (e.g., using an uninitialized variable and
+;                     relying on the fact it's automatically initialized to an
+;                     empty string)
+; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
+; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
+;                     initial startup
+; E_COMPILE_ERROR   - fatal compile-time errors
+; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
+; E_USER_ERROR      - user-generated error message
+; E_USER_WARNING    - user-generated warning message
+; E_USER_NOTICE     - user-generated notice message
+;
+; Examples:
+;
+;   - Show all errors, except for notices
+;
+;error_reporting = E_ALL & ~E_NOTICE
+;
+;   - Show only errors
+;
+;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
+;
+;   - Show all errors except for notices
+;
+error_reporting  =  E_ALL & ~E_NOTICE
+
+; Print out errors (as a part of the output).  For production web sites,
+; you're strongly encouraged to turn this feature off, and use error logging
+; instead (see below).  Keeping display_errors enabled on a production web site
+; may reveal security information to end users, such as file paths on your Web
+; server, your database schema or other information.
+display_errors = Off
+
+; Even when display_errors is on, errors that occur during PHP's startup
+; sequence are not displayed.  It's strongly recommended to keep
+; display_startup_errors off, except for when debugging.
+display_startup_errors = Off
+
+; Log errors into a log file (server-specific log, stderr, or error_log (below))
+; As stated above, you're strongly advised to use error logging in place of
+; error displaying on production web sites.
+log_errors = On
+
+; Set maximum length of log_errors. In error_log information about the source is
+; added. The default is 1024 and 0 allows to not apply any maximum length at all.
+log_errors_max_len = 1024
+
+; Do not log repeated messages. Repeated errors must occur in same file on same
+; line until ignore_repeated_source is set true.
+ignore_repeated_errors = On
+
+; Ignore source of message when ignoring repeated messages. When this setting 
+; is On you will not log errors with repeated messages from different files or
+; sourcelines.
+ignore_repeated_source = Off
+
+; If this parameter is set to Off, then memory leaks will not be shown (on
+; stdout or in the log). This has only effect in a debug compile, and if 
+; error reporting includes E_WARNING in the allowed list
+report_memleaks = On
+
+; Store the last error/warning message in $php_errormsg (boolean).
+track_errors = Off
+
+; Disable the inclusion of HTML tags in error messages.
+;html_errors = Off
+  
+; If html_errors is set On PHP produces clickable error messages that direct 
+; to a page describing the error or function causing the error in detail.
+; You can download a copy of the PHP manual from http://www.php.net/docs.php 
+; and change docref_root to the base URL of your local copy including the
+; leading '/'. You must also specify the file extension being used including 
+; the dot.
+;docref_root = "/phpmanual/"
+;docref_ext = .html
+  
+; String to output before an error message.
+;error_prepend_string = "<font color=ff0000>"
+
+; String to output after an error message.
+;error_append_string = "</font>"
+
+; Log errors to specified file.
+error_log = /var/log/php_error.log
+
+; Log errors to syslog (Event Log on NT, not valid in Windows 95).
+error_log = syslog
+
+
+;;;;;;;;;;;;;;;;;
+; Data Handling ;
+;;;;;;;;;;;;;;;;;
+;
+; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
+
+; The separator used in PHP generated URLs to separate arguments.
+; Default is "&". 
+;arg_separator.output = "&amp;"
+
+; List of separator(s) used by PHP to parse input URLs into variables.
+; Default is "&". 
+; NOTE: Every character in this directive is considered as separator!
+;arg_separator.input = ";&"
+
+; This directive describes the order in which PHP registers GET, POST, Cookie,
+; Environment and Built-in variables (G, P, C, E & S respectively, often
+; referred to as EGPCS or GPC).  Registration is done from left to right, newer
+; values override older values.
+variables_order = "EGPCS"
+
+; Whether or not to register the EGPCS variables as global variables.  You may
+; want to turn this off if you don't want to clutter your scripts' global scope
+; with user data.  This makes most sense when coupled with track_vars - in which
+; case you can access all of the GPC variables through the $HTTP_*_VARS[],
+; variables.
+;
+; You should do your best to write your scripts so that they do not require
+; register_globals to be on;  Using form variables as globals can easily lead
+; to possible security problems, if the code is not very well thought of.
+register_globals = Off
+
+; This directive tells PHP whether to declare the argv&argc variables (that
+; would contain the GET information).  If you don't use these variables, you
+; should turn it off for increased performance.
+register_argc_argv = On
+
+; Maximum size of POST data that PHP will accept.
+post_max_size = 21M
+
+; This directive is deprecated.  Use variables_order instead.
+gpc_order = "GPC"
+
+; Magic quotes
+;
+
+; Magic quotes for incoming GET/POST/Cookie data.
+magic_quotes_gpc = Off
+
+; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
+magic_quotes_runtime = Off    
+
+; Use Sybase-style magic quotes (escape ' with '' instead of \').
+magic_quotes_sybase = Off
+
+; Automatically add files before or after any PHP document.
+auto_prepend_file =
+auto_append_file =
+
+; As of 4.0b4, PHP always outputs a character encoding by default in
+; the Content-type: header.  To disable sending of the charset, simply
+; set it to be empty.
+;
+; PHP's built-in default is text/html
+default_mimetype = "text/html"
+default_charset = "iso-8859-1"
+
+; Always populate the $HTTP_RAW_POST_DATA variable.
+;always_populate_raw_post_data = On
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;
+; Paths and Directories ;
+;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; UNIX: "/path1:/path2"  
+;include_path = ".:/usr/share/php"
+;
+; Windows: "\path1;\path2"
+;include_path = ".;c:\php\includes"
+
+; The root of the PHP pages, used only if nonempty.
+; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
+; if you are running php as a CGI under any web server (other than IIS)
+; see documentation for security issues.  The alternate is to use the
+; cgi.force_redirect configuration below
+doc_root =
+
+; The directory under which PHP opens the script using /~username used only
+; if nonempty.
+user_dir =
+
+; Directory in which the loadable extensions (modules) reside.
+; extension_dir = "./"
+
+; Whether or not to enable the dl() function.  The dl() function does NOT work
+; properly in multithreaded servers, such as IIS or Zeus, and is automatically
+; disabled on them.
+enable_dl = On
+
+; cgi.force_redirect is necessary to provide security running PHP as a CGI under
+; most web servers.  Left undefined, PHP turns this on by default.  You can
+; turn it off here AT YOUR OWN RISK
+; **You CAN safely turn this off for IIS, in fact, you MUST.**
+; cgi.force_redirect = 1
+
+; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
+; every request.
+; cgi.nph = 1
+
+; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
+; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
+; will look for to know it is OK to continue execution.  Setting this variable MAY
+; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
+; cgi.redirect_status_env = ;
+
+; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
+; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
+; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
+; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
+; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
+; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
+; cgi.fix_pathinfo=0
+
+; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
+; security tokens of the calling client.  This allows IIS to define the
+; security context that the request runs under.  mod_fastcgi under Apache
+; does not currently support this feature (03/17/2002)
+; Set to 1 if running under IIS.  Default is zero.
+; fastcgi.impersonate = 1;
+
+; cgi.rfc2616_headers configuration option tells PHP what type of headers to
+; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
+; is supported by Apache. When this option is set to 1 PHP will send
+; RFC2616 compliant header.
+; Default is zero.
+;cgi.rfc2616_headers = 0 
+ 
+
+;;;;;;;;;;;;;;;;
+; File Uploads ;
+;;;;;;;;;;;;;;;;
+
+; Whether to allow HTTP file uploads.
+file_uploads = On
+
+; Temporary directory for HTTP uploaded files (will use system default if not
+; specified).
+;upload_tmp_dir =
+
+; Maximum allowed size for uploaded files.
+upload_max_filesize = 20M
+
+
+;;;;;;;;;;;;;;;;;;
+; Fopen wrappers ;
+;;;;;;;;;;;;;;;;;;
+
+; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
+allow_url_fopen = On
+
+; Define the anonymous ftp password (your email address)
+;from="john@doe.com"
+
+; Define the User-Agent string
+; user_agent="PHP"
+
+; Default timeout for socket based streams (seconds)
+default_socket_timeout = 60
+
+; If your scripts have to deal with files from Macintosh systems,
+; or you are running on a Mac and need to deal with files from
+; unix or win32 systems, setting this flag will cause PHP to
+; automatically detect the EOL character in those files so that
+; fgets() and file() will work regardless of the source of the file.
+; auto_detect_line_endings = Off
+
+
+;;;;;;;;;;;;;;;;;;;;;;
+; Dynamic Extensions ;
+;;;;;;;;;;;;;;;;;;;;;;
+;
+; If you wish to have an extension loaded automatically, use the following
+; syntax:
+;
+;   extension=modulename.extension
+;
+; For example, on Windows:
+;
+;   extension=msql.dll
+;
+; ... or under UNIX:
+;
+;   extension=msql.so
+;
+; Note that it should be the name of the module only; no directory information 
+; needs to go here.  Specify the location of the extension with the
+; extension_dir directive above.
+
+; Example lines:
+
+;extension=mysql.so
+;extension=gd.so
+
+
+;;;;;;;;;;;;;;;;;;;
+; Module Settings ;
+;;;;;;;;;;;;;;;;;;;
+
+[Syslog]
+; Whether or not to define the various syslog variables (e.g. $LOG_PID,
+; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
+; runtime, you can define these variables by calling define_syslog_variables().
+define_syslog_variables  = Off
+
+[mail function]
+; For Win32 only.
+SMTP = localhost
+smtp_port = 25
+
+; For Win32 only.
+;sendmail_from = me@example.com
+
+; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
+;sendmail_path =
+
+[Java]
+;java.class.path = .\php_java.jar
+;java.home = c:\jdk
+;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
+;java.library.path = .\
+
+[SQL]
+sql.safe_mode = Off
+
+[ODBC]
+;odbc.default_db    =  Not yet implemented
+;odbc.default_user  =  Not yet implemented
+;odbc.default_pw    =  Not yet implemented
+
+; Allow or prevent persistent links.
+odbc.allow_persistent = On
+
+; Check that a connection is still valid before reuse.
+odbc.check_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+odbc.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+odbc.max_links = -1  
+
+; Handling of LONG fields.  Returns number of bytes to variables.  0 means
+; passthru.
+odbc.defaultlrl = 4096  
+
+; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
+; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
+; of uodbc.defaultlrl and uodbc.defaultbinmode
+odbc.defaultbinmode = 1  
+
+[MySQL]
+; Allow or prevent persistent links.
+mysql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mysql.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+mysql.max_links = -1
+
+; Default port number for mysql_connect().  If unset, mysql_connect() will use
+; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
+; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
+; at MYSQL_PORT.
+mysql.default_port =
+
+; Default socket name for local MySQL connects.  If empty, uses the built-in
+; MySQL defaults.
+mysql.default_socket =
+
+; Default host for mysql_connect() (doesn't apply in safe mode).
+mysql.default_host =
+
+; Default user for mysql_connect() (doesn't apply in safe mode).
+mysql.default_user =
+
+; Default password for mysql_connect() (doesn't apply in safe mode).
+; Note that this is generally a *bad* idea to store passwords in this file.
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
+; and reveal this password!  And of course, any users with read access to this
+; file will be able to reveal the password as well.
+mysql.default_password =
+
+; Maximum time (in seconds) for connect timeout. -1 means no limit
+mysql.connect_timeout = 60
+
+; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
+; SQL-Errors will be displayed.
+mysql.trace_mode = Off
+
+[mSQL]
+; Allow or prevent persistent links.
+msql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+msql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+msql.max_links = -1
+
+[PostgresSQL]
+; Allow or prevent persistent links.
+pgsql.allow_persistent = On
+
+; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
+pgsql.auto_reset_persistent = Off 
+
+; Maximum number of persistent links.  -1 means no limit.
+pgsql.max_persistent = 200 
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+pgsql.max_links = 200 
+
+; Ignore PostgreSQL backends Notice message or not.
+pgsql.ignore_notice = 0
+
+; Log PostgreSQL backends Noitce message or not.
+; Unless pgsql.ignore_notice=0, module cannot log notice message.
+pgsql.log_notice = 0
+
+[Sybase]
+; Allow or prevent persistent links.
+sybase.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybase.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybase.max_links = -1
+
+;sybase.interface_file = "/usr/sybase/interfaces"
+
+; Minimum error severity to display.
+sybase.min_error_severity = 10
+
+; Minimum message severity to display.
+sybase.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+; If on, this will cause PHP to automatically assign types to results according
+; to their Sybase type, instead of treating them all as strings.  This
+; compatibility mode will probably not stay around forever, so try applying
+; whatever necessary changes to your code, and turn it off.
+sybase.compatability_mode = Off
+
+[Sybase-CT]
+; Allow or prevent persistent links.
+sybct.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybct.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybct.max_links = -1
+
+; Minimum server message severity to display.
+sybct.min_server_severity = 10
+
+; Minimum client message severity to display.
+sybct.min_client_severity = 10
+
+[dbx]
+; returned column names can be converted for compatibility reasons
+; possible values for dbx.colnames_case are
+; "unchanged" (default, if not set)
+; "lowercase"
+; "uppercase"
+; the recommended default is either upper- or lowercase, but
+; unchanged is currently set for backwards compatibility
+dbx.colnames_case = "unchanged"
+
+[bcmath]
+; Number of decimal digits for all bcmath functions.
+bcmath.scale = 0
+
+[browscap]
+;browscap = extra/browscap.ini
+
+[Informix]
+; Default host for ifx_connect() (doesn't apply in safe mode).
+ifx.default_host =
+
+; Default user for ifx_connect() (doesn't apply in safe mode).
+ifx.default_user =
+
+; Default password for ifx_connect() (doesn't apply in safe mode).
+ifx.default_password =
+
+; Allow or prevent persistent links.
+ifx.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ifx.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+ifx.max_links = -1
+
+; If on, select statements return the contents of a text blob instead of its id.
+ifx.textasvarchar = 0
+
+; If on, select statements return the contents of a byte blob instead of its id.
+ifx.byteasvarchar = 0
+
+; Trailing blanks are stripped from fixed-length char columns.  May help the
+; life of Informix SE users.
+ifx.charasvarchar = 0
+
+; If on, the contents of text and byte blobs are dumped to a file instead of
+; keeping them in memory.
+ifx.blobinfile = 0
+
+; NULL's are returned as empty strings, unless this is set to 1.  In that case,
+; NULL's are returned as string 'NULL'.
+ifx.nullformat = 0
+
+[Session]
+; Handler used to store/retrieve data.
+session.save_handler = files
+
+; Argument passed to save_handler.  In the case of files, this is the path
+; where data files are stored. Note: Windows users have to change this 
+; variable in order to use PHP's session functions.
+; As of PHP 4.0.1, you can define the path as:
+;     session.save_path = "N;/path"
+; where N is an integer.  Instead of storing all the session files in 
+; /path, what this will do is use subdirectories N-levels deep, and 
+; store the session data in those directories.  This is useful if you 
+; or your OS have problems with lots of files in one directory, and is 
+; a more efficient layout for servers that handle lots of sessions.
+; NOTE 1: PHP will not create this directory structure automatically.
+;         You can use the script in the ext/session dir for that purpose.
+; NOTE 2: See the section on garbage collection below if you choose to
+;         use subdirectories for session storage
+session.save_path = /php_sessions/
+
+; Whether to use cookies.
+session.use_cookies = 0
+
+; This option enables administrators to make their users invulnerable to
+; attacks which involve passing session ids in URLs; defaults to 0.
+; session.use_only_cookies = 1
+
+; Name of the session (used as cookie name).
+session.name = PHPSESSID
+
+; Initialize session on request startup.
+session.auto_start = 0
+
+; Lifetime in seconds of cookie or, if 0, until browser is restarted.
+session.cookie_lifetime = 0
+
+; The path for which the cookie is valid.
+session.cookie_path = /
+
+; The domain for which the cookie is valid.
+session.cookie_domain =
+
+; Handler used to serialize data.  php is the standard serializer of PHP.
+session.serialize_handler = php
+
+; Define the probability that the 'garbage collection' process is started
+; on every session initialization.
+; The probability is calculated by using gc_probability/gc_divisor,
+; e.g. 1/100 means there is a 1% chance that the GC process starts
+; on each request.
+
+; This is disabled in the Debian packages, due to the strict permissions
+; on /var/lib/php4.  Instead of setting this here, see the cronjob at
+; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
+session.gc_probability = 1
+session.gc_divisor     = 100
+
+; After this number of seconds, stored data will be seen as 'garbage' and
+; cleaned up by the garbage collection process.
+session.gc_maxlifetime = 1440
+
+; NOTE: If you are using the subdirectory option for storing session files
+;       (see session.save_path above), then garbage collection does *not*
+;       happen automatically.  You will need to do your own garbage 
+;       collection through a shell script, cron entry, or some other method. 
+;       For example, the following script would is the equivalent of
+;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
+;          cd /path/to/sessions; find -cmin +24 | xargs rm
+
+; PHP 4.2 and less have an undocumented feature/bug that allows you to
+; to initialize a session variable in the global scope, albeit register_globals
+; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
+; You can disable the feature and the warning separately. At this time,
+; the warning is only displayed, if bug_compat_42 is enabled.
+
+session.bug_compat_42 = 1
+session.bug_compat_warn = 1
+
+; Check HTTP Referer to invalidate externally stored URLs containing ids.
+; HTTP_REFERER has to contain this substring for the session to be
+; considered as valid.
+session.referer_check =
+
+; How many bytes to read from the file.
+session.entropy_length = 0
+
+; Specified here to create the session id.
+session.entropy_file =
+
+;session.entropy_length = 16
+
+;session.entropy_file = /dev/urandom
+
+; Set to {nocache,private,public,} to determine HTTP caching aspects
+; or leave this empty to avoid sending anti-caching headers.
+session.cache_limiter = nocache
+
+; Document expires after n minutes.
+session.cache_expire = 180
+
+; trans sid support is disabled by default.
+; Use of trans sid may risk your users security. 
+; Use this option with caution.
+; - User may send URL contains active session ID
+;   to other person via. email/irc/etc.
+; - URL that contains active session ID may be stored
+;   in publically accessible computer.
+; - User may access your site with the same session ID
+;   always using URL stored in browser's history or bookmarks.
+session.use_trans_sid = 0
+
+; The URL rewriter will look for URLs in a defined set of HTML tags.
+; form/fieldset are special; if you include them here, the rewriter will
+; add a hidden <input> field with the info which is otherwise appended
+; to URLs.  If you want XHTML conformity, remove the form entry.
+; Note that all valid entries require a "=", even if no value follows.
+url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
+
+[MSSQL]
+; Allow or prevent persistent links.
+mssql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mssql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+mssql.max_links = -1
+
+; Minimum error severity to display.
+mssql.min_error_severity = 10
+
+; Minimum message severity to display.
+mssql.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+mssql.compatability_mode = Off
+
+; Connect timeout
+;mssql.connect_timeout = 5
+
+; Query timeout
+;mssql.timeout = 60
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textlimit = 4096
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textsize = 4096
+
+; Limits the number of records in each batch.  0 = all records in one batch.
+;mssql.batchsize = 0
+
+; Specify how datetime and datetim4 columns are returned
+; On => Returns data converted to SQL server settings
+; Off => Returns values as YYYY-MM-DD hh:mm:ss
+;mssql.datetimeconvert = On
+
+; Use NT authentication when connecting to the server
+mssql.secure_connection = Off
+
+; Specify max number of processes. Default = 25
+;mssql.max_procs = 25
+
+[Assertion]
+; Assert(expr); active by default.
+;assert.active = On
+
+; Issue a PHP warning for each failed assertion.
+;assert.warning = On
+
+; Don't bail out by default.
+;assert.bail = Off
+
+; User-function to be called if an assertion fails.
+;assert.callback = 0
+
+; Eval the expression with current error_reporting().  Set to true if you want
+; error_reporting(0) around the eval().
+;assert.quiet_eval = 0
+
+[Ingres II]
+; Allow or prevent persistent links.
+ingres.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ingres.max_persistent = -1
+
+; Maximum number of links, including persistents.  -1 means no limit.
+ingres.max_links = -1
+
+; Default database (format: [node_id::]dbname[/srv_class]).
+ingres.default_database =
+
+; Default user.
+ingres.default_user =
+
+; Default password.
+ingres.default_password =
+
+[Verisign Payflow Pro]
+; Default Payflow Pro server.
+pfpro.defaulthost = "test-payflow.verisign.com"
+
+; Default port to connect to.
+pfpro.defaultport = 443
+
+; Default timeout in seconds.
+pfpro.defaulttimeout = 30
+
+; Default proxy IP address (if required).
+;pfpro.proxyaddress =
+
+; Default proxy port.
+;pfpro.proxyport =
+
+; Default proxy logon.
+;pfpro.proxylogon =
+
+; Default proxy password.
+;pfpro.proxypassword =
+
+[com]
+; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
+;com.typelib_file = 
+; allow Distributed-COM calls
+;com.allow_dcom = true
+; autoregister constants of a components typlib on com_load()
+;com.autoregister_typelib = true
+; register constants casesensitive
+;com.autoregister_casesensitive = false
+; show warnings on duplicate constat registrations
+;com.autoregister_verbose = true
+
+[Printer]
+;printer.default_printer = ""
+
+[mbstring]
+; language for internal character representation.
+;mbstring.language = Japanese
+
+; internal/script encoding.
+; Some encoding cannot work as internal encoding.
+; (e.g. SJIS, BIG5, ISO-2022-*)
+;mbstring.internal_encoding = EUC-JP
+
+; http input encoding.
+;mbstring.http_input = auto
+
+; http output encoding. mb_output_handler must be
+; registered as output buffer to function
+;mbstring.http_output = SJIS
+
+; enable automatic encoding translation accoding to 
+; mbstring.internal_encoding setting. Input chars are
+; converted to internal encoding by setting this to On.
+; Note: Do _not_ use automatic encoding translation for
+;       portable libs/applications.
+;mbstring.encoding_translation = Off
+
+; automatic encoding detection order.
+; auto means 
+;mbstring.detect_order = auto
+
+; substitute_character used when character cannot be converted
+; one from another
+;mbstring.substitute_character = none;
+
+; overload(replace) single byte functions by mbstring functions.
+; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
+; etc. Possible values are 0,1,2,4 or combination of them.
+; For example, 7 for overload everything.
+; 0: No overload
+; 1: Overload mail() function
+; 2: Overload str*() functions
+; 4: Overload ereg*() functions
+mbstring.func_overload = 7
+
+[FrontBase]
+;fbsql.allow_persistent = On
+;fbsql.autocommit = On
+;fbsql.default_database = 
+;fbsql.default_database_password =
+;fbsql.default_host =
+;fbsql.default_password =
+;fbsql.default_user = "_SYSTEM"
+;fbsql.generate_warnings = Off
+;fbsql.max_connections = 128
+;fbsql.max_links = 128
+;fbsql.max_persistent = -1
+;fbsql.max_results = 128
+;fbsql.batchSize = 1000
+
+[Crack]
+; Modify the setting below to match the directory location of the cracklib
+; dictionary files.  Include the base filename, but not the file extension.
+; crack.default_dictionary = "c:\php\lib\cracklib_dict"
+
+[exif]
+; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
+; With mbstring support this will automatically be converted into the encoding
+; given by corresponding encode setting. When empty mbstring.internal_encoding 
+; is used. For the decode settings you can distinguish between motorola and 
+; intel byte order. A decode setting cannot be empty.
+;exif.encode_unicode = ISO-8859-15
+;exif.decode_unicode_motorola = UCS-2BE
+;exif.decode_unicode_intel    = UCS-2LE
+;exif.encode_jis = 
+;exif.decode_jis_motorola = JIS
+;exif.decode_jis_intel    = JIS
+
+; Local Variables:
+; tab-width: 4
+; End:
+extension=ldap.so
+extension=pgsql.so
+extension=imap.so
+extension=gd.so
Index: /sandbox/doc-expressolivre/arquivos/header.inc.php
===================================================================
--- /sandbox/doc-expressolivre/arquivos/header.inc.php	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/header.inc.php	(revision 2245)
@@ -0,0 +1,146 @@
+<?php
+	/**************************************************************************\
+	* eGroupWare                                                               *
+	* http://www.egroupware.org                                                *
+	* This file was originaly written by Dan Kuykendall                        *
+	* --------------------------------------------                             *
+	*  This program is free software; you can redistribute it and/or modify it *
+	*  under the terms of the GNU General Public License as published by the   *
+	*  Free Software Foundation; either version 2 of the License, or (at your  *
+	*  option) any later version.                                              *
+	\**************************************************************************/
+	/* $Id: header.inc.php.template,v 1.55.2.1 2004/08/03 14:05:35 reinerj Exp $ */
+
+	/**************************************************************************\
+	* !!!!!!! EDIT THESE LINES !!!!!!!!                                        *
+	* This setting allows you to easily move the include directory and the     *
+	* base of the eGroupWare install. Simple edit the following 2 lines with   *
+	* the absolute path to fit your site, and you should be up and running.    *
+	\**************************************************************************/
+
+	define('PHPGW_SERVER_ROOT','/var/www/expresso');
+	define('PHPGW_INCLUDE_ROOT','/var/www/expresso');
+	$GLOBALS['phpgw_info']['server']['header_admin_user'] = 'expresso-admin';
+	$GLOBALS['phpgw_info']['server']['header_admin_password'] = 'HEADER_PWD';
+	$GLOBALS['phpgw_info']['server']['setup_acl'] = '';
+ 
+	// Opcoes exclusivas a partir da versão 2.0 :: Configurar via setup/header
+	$GLOBALS['phpgw_info']['server']['captcha'] = 1;
+	$GLOBALS['phpgw_info']['server']['num_badlogin'] = 2;
+	
+	// Opcoes exlusivas para o Expresso Livre
+	$GLOBALS['phpgw_info']['server']['use_https'] = 1;
+	$GLOBALS['phpgw_info']['server']['sugestoes_email_to'] = '';
+	$GLOBALS['phpgw_info']['server']['domain_name'] = '';
+	$GLOBALS['phpgw_info']['server']['use_prefix_organization'] = False;
+
+
+	/* eGroupWare domain-specific db settings */
+	$GLOBALS['phpgw_domain']['default'] = array(
+		'db_host' => '127.0.0.1',
+		'db_port' => '5432',
+		'db_name' => 'expresso',
+		'db_user' => 'postgres',
+		'db_pass' => '',
+		// Look at the README file
+		'db_type' => 'pgsql',
+		// This will limit who is allowed to make configuration modifications
+		'config_user'   => 'expresso-admin',
+		'config_passwd' => 'HEADER_PWD'
+	);
+
+	/*
+	** If you want to have your domains in a select box, change to True
+	** If not, users will have to login as user@domain
+	** Note: This is only for virtual domain support, default domain users can login only using
+	** there loginid.
+	*/
+	$GLOBALS['phpgw_info']['server']['show_domain_selectbox'] = False;
+
+	$GLOBALS['phpgw_info']['server']['db_persistent'] = False;
+
+	/*
+	** eGroupWare can handle session management using the database or 
+	** the session support built into PHP4 which usually gives better
+	** performance. 
+	** Your choices are 'db' or 'php4'
+	*/
+	$GLOBALS['phpgw_info']['server']['sessions_type'] = 'php4';
+
+	/* Select which login template set you want, most people will use default */
+	$GLOBALS['phpgw_info']['login_template_set'] = 'default';
+
+	/* This is used to control mcrypt's use */
+	$GLOBALS['phpgw_info']['server']['mcrypt_enabled'] = False;
+	/* Set this to 'old' for versions < 2.4, otherwise the exact mcrypt version you use. */
+	$GLOBALS['phpgw_info']['server']['versions']['mcrypt'] = '';
+
+	/*
+	** This is a random string used as the initialization vector for mcrypt
+	** feel free to change it when setting up eGrouWare on a clean database,
+	** but you must not change it after that point!
+	** It should be around 30 bytes in length.
+	*/
+	$GLOBALS['phpgw_info']['server']['mcrypt_iv'] = 'Ngi4u5HOw64uCuhEdAOlZlmdiZCRNE';
+
+	if(!isset($GLOBALS['phpgw_info']['flags']['nocachecontrol']) || !$GLOBALS['phpgw_info']['flags']['nocachecontrol'])
+	{
+		header('Cache-Control: no-cache, must-revalidate');  // HTTP/1.1
+		header('Pragma: no-cache');                          // HTTP/1.0
+	}
+	else
+	{
+		// allow caching by browser
+		session_cache_limiter(PHP_VERSION >= 4.2 ? 'private_no_expire' : 'private');
+	}
+
+	/* debugging settings */
+	define('DEBUG_APP',  False);
+	define('DEBUG_API',  False);
+	define('DEBUG_DATATYPES',  True);
+	define('DEBUG_LEVEL',  3);
+	define('DEBUG_OUTPUT', 2); /* 1 = screen,  2 = DB. For both use 3. */
+	define('DEBUG_TIMER', False);
+
+	function perfgetmicrotime()
+	{
+		list($usec, $sec) = explode(' ',microtime());
+		return ((float)$usec + (float)$sec);
+	}
+
+	if (DEBUG_TIMER)
+	{
+		$GLOBALS['debug_timer_start'] = perfgetmicrotime();
+	}
+
+	/**************************************************************************\
+	* Do not edit these lines                                                  *
+	\**************************************************************************/
+	define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
+	include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
+	$GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] = $setup_info['phpgwapi']['version'];
+	$GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
+	unset($setup_info);
+	$GLOBALS['phpgw_info']['server']['versions']['header'] = '2.0';
+	/* This is a fix for NT */
+	if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || !$GLOBALS['phpgw_info']['flags']['noapi'] == True)
+	{
+		include(PHPGW_API_INC . '/functions.inc.php');
+		include(PHPGW_API_INC . '/xml_functions.inc.php');
+		include(PHPGW_API_INC . '/soap_functions.inc.php');
+	}
+	$connection_id = $GLOBALS['phpgw']->session->sessionid;
+	if (!strlen($connection_id) != 32){
+		if (!isset($_SESSION['connection_db_info']))
+		{
+		$GLOBALS['phpgw']->db->query("select trim(sessionid), ip, browser from phpgw_access_log where account_id <> 0 and lo = 0 and sessionid='{$GLOBALS['phpgw']->session->sessionid}' limit 1",__LINE__,__FILE__);
+		$GLOBALS['phpgw']->db->next_record( );
+		$_SESSION['connection_db_info']['user_auth'] = $GLOBALS['phpgw']->db->row( );
+		}
+		include("header.session.inc.php");
+	}
+
+	/*
+	  Leave off the final php closing tag, some editors will add
+	  a \n or space after which will mess up cookies later on
+	*/
Index: /sandbox/doc-expressolivre/arquivos/sles/etc/php4/apache2/php.ini
===================================================================
--- /sandbox/doc-expressolivre/arquivos/sles/etc/php4/apache2/php.ini	(revision 2190)
+++ /sandbox/doc-expressolivre/arquivos/sles/etc/php4/apache2/php.ini	(revision 2190)
@@ -0,0 +1,1078 @@
+[PHP]
+
+;;;;;;;;;;;
+; WARNING ;
+;;;;;;;;;;;
+; This is the default settings file for new PHP installations.
+; By default, PHP installs itself with a configuration suitable for
+; development purposes, and *NOT* for production purposes.
+; For several security-oriented considerations that should be taken
+; before going online with your site, please consult php.ini-recommended
+; and http://php.net/manual/en/security.php.
+
+
+;;;;;;;;;;;;;;;;;;;
+; About this file ;
+;;;;;;;;;;;;;;;;;;;
+; This file controls many aspects of PHP's behavior.  In order for PHP to
+; read it, it must be named 'php.ini'.  PHP looks for it in the current
+; working directory, in the path designated by the environment variable
+; PHPRC, and in the path that was defined in compile time (in that order).
+; Under Windows, the compile-time path is the Windows directory.  The
+; path in which the php.ini file is looked for can be overridden using
+; the -c argument in command line mode.
+;
+; The syntax of the file is extremely simple.  Whitespace and Lines
+; beginning with a semicolon are silently ignored (as you probably guessed).
+; Section headers (e.g. [Foo]) are also silently ignored, even though
+; they might mean something in the future.
+;
+; Directives are specified using the following syntax:
+; directive = value
+; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
+;
+; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
+; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
+; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
+;
+; Expressions in the INI file are limited to bitwise operators and parentheses:
+; |        bitwise OR
+; &        bitwise AND
+; ~        bitwise NOT
+; !        boolean NOT
+;
+; Boolean flags can be turned on using the values 1, On, True or Yes.
+; They can be turned off using the values 0, Off, False or No.
+;
+; An empty string can be denoted by simply not writing anything after the equal
+; sign, or by using the None keyword:
+;
+;  foo =         ; sets foo to an empty string
+;  foo = none    ; sets foo to an empty string
+;  foo = "none"  ; sets foo to the string 'none'
+;
+; If you use constants in your value, and these constants belong to a
+; dynamically loaded extension (either a PHP extension or a Zend extension),
+; you may only use these constants *after* the line that loads the extension.
+;
+; All the values in the php.ini-dist file correspond to the builtin
+; defaults (that is, if no php.ini is used, or if you delete these lines,
+; the builtin defaults will be identical).
+
+
+;;;;;;;;;;;;;;;;;;;;
+; Language Options ;
+;;;;;;;;;;;;;;;;;;;;
+
+; Enable the PHP scripting language engine under Apache.
+engine = On
+
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
+short_open_tag = On
+
+; Allow ASP-style <% %> tags.
+asp_tags = Off
+
+; The number of significant digits displayed in floating point numbers.
+precision    =  12
+
+; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
+y2k_compliance = On
+
+; Output buffering allows you to send header lines (including cookies) even
+; after you send body content, at the price of slowing PHP's output layer a
+; bit.  You can enable output buffering during runtime by calling the output
+; buffering functions.  You can also enable output buffering for all files by
+; setting this directive to On.  If you wish to limit the size of the buffer
+; to a certain size - you can use a maximum number of bytes instead of 'On', as
+; a value for this directive (e.g., output_buffering=4096).
+output_buffering = Off
+
+; You can redirect all of the output of your scripts to a function.  For
+; example, if you set output_handler to "mb_output_handler", character
+; encoding will be transparently converted to the specified encoding.
+; Setting any output handler automatically turns on output buffering.
+; Note: People who wrote portable scripts should not depend on this ini
+;       directive. Instead, explicitly set the output handler using ob_start().
+;       Using this ini directive may cause problems unless you know what script 
+;       is doing.
+; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
+;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
+;output_handler =
+
+; Transparent output compression using the zlib library
+; Valid values for this option are 'off', 'on', or a specific buffer size
+; to be used for compression (default is 4KB)
+; Note: Resulting chunk size may vary due to nature of compression. PHP 
+;       outputs chunks that are few hundreds bytes each as a result of 
+;       compression. If you prefer a larger chunk size for better 
+;       performance, enable output_buffering in addition.
+; Note: You need to use zlib.output_handler instead of the standard
+;       output_handler, or otherwise the output will be corrupted.
+zlib.output_compression = Off
+
+; You cannot specify additional output handlers if zlib.output_compression
+; is activated here. This setting does the same as output_handler but in
+; a different order.
+;zlib.output_handler =
+
+; Implicit flush tells PHP to tell the output layer to flush itself
+; automatically after every output block.  This is equivalent to calling the
+; PHP function flush() after each and every call to print() or echo() and each
+; and every HTML block.  Turning this option on has serious performance
+; implications and is generally recommended for debugging purposes only.
+implicit_flush = Off
+
+; The unserialize callback function will be called (with the undefined class'
+; name as parameter), if the unserializer finds an undefined class
+; which should be instanciated.
+; A warning appears if the specified function is not defined, or if the
+; function doesn't include/implement the missing class.
+; So only set this entry, if you really want to implement such a 
+; callback-function.
+unserialize_callback_func=
+
+; When floats & doubles are serialized store serialize_precision significant
+; digits after the floating point. The default value ensures that when floats
+; are decoded with unserialize, the data will remain the same.
+serialize_precision = 100
+
+; Whether to enable the ability to force arguments to be passed by reference
+; at function call time.  This method is deprecated and is likely to be
+; unsupported in future versions of PHP/Zend.  The encouraged method of
+; specifying which arguments should be passed by reference is in the function
+; declaration.  You're encouraged to try and turn this option Off and make
+; sure your scripts work properly with it in order to ensure they will work
+; with future versions of the language (you will receive a warning each time
+; you use this feature, and the argument will be passed by value instead of by
+; reference).
+allow_call_time_pass_reference = On
+
+; Safe Mode
+;
+safe_mode = Off
+
+; By default, Safe Mode does a UID compare check when
+; opening files. If you want to relax this to a GID compare,
+; then turn on safe_mode_gid.
+safe_mode_gid = Off
+
+; When safe_mode is on, UID/GID checks are bypassed when
+; including files from this directory and its subdirectories.
+; (directory must also be in include_path or full path must
+; be used when including)
+safe_mode_include_dir =        
+
+; When safe_mode is on, only executables located in the safe_mode_exec_dir
+; will be allowed to be executed via the exec family of functions.
+safe_mode_exec_dir =
+
+; Setting certain environment variables may be a potential security breach.
+; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
+; the user may only alter environment variables whose names begin with the
+; prefixes supplied here.  By default, users will only be able to set
+; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
+;
+; Note:  If this directive is empty, PHP will let the user modify ANY
+; environment variable!
+safe_mode_allowed_env_vars = PHP_
+
+; This directive contains a comma-delimited list of environment variables that
+; the end user won't be able to change using putenv().  These variables will be
+; protected even if safe_mode_allowed_env_vars is set to allow to change them.
+safe_mode_protected_env_vars = LD_LIBRARY_PATH
+
+; open_basedir, if set, limits all file operations to the defined directory
+; and below.  This directive makes most sense if used in a per-directory
+; or per-virtualhost web server configuration file. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+;open_basedir = /var/www:/php_sessions:/home/expressolivre
+open_basedir = 
+
+; This directive allows you to disable certain functions for security reasons.
+; It receives a comma-delimited list of function names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_functions =
+
+; This directive allows you to disable certain classes for security reasons.
+; It receives a comma-delimited list of class names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_classes =
+
+; Colors for Syntax Highlighting mode.  Anything that's acceptable in
+; <font color="??????"> would work.
+;highlight.string  = #DD0000
+;highlight.comment = #FF9900
+;highlight.keyword = #007700
+;highlight.bg      = #FFFFFF
+;highlight.default = #0000BB
+;highlight.html    = #000000
+
+
+;
+; Misc
+;
+; Decides whether PHP may expose the fact that it is installed on the server
+; (e.g. by adding its signature to the Web server header).  It is no security
+; threat in any way, but it makes it possible to determine whether you use PHP
+; on your server or not.
+expose_php = Off
+
+
+;;;;;;;;;;;;;;;;;;;
+; Resource Limits ;
+;;;;;;;;;;;;;;;;;;;
+
+max_execution_time = 120     ; Maximum execution time of each script, in seconds
+max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
+memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Error handling and logging ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; error_reporting is a bit-field.  Or each number up to get desired error
+; reporting level
+; E_ALL             - All errors and warnings
+; E_ERROR           - fatal run-time errors
+; E_WARNING         - run-time warnings (non-fatal errors)
+; E_PARSE           - compile-time parse errors
+; E_NOTICE          - run-time notices (these are warnings which often result
+;                     from a bug in your code, but it's possible that it was
+;                     intentional (e.g., using an uninitialized variable and
+;                     relying on the fact it's automatically initialized to an
+;                     empty string)
+; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
+; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
+;                     initial startup
+; E_COMPILE_ERROR   - fatal compile-time errors
+; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
+; E_USER_ERROR      - user-generated error message
+; E_USER_WARNING    - user-generated warning message
+; E_USER_NOTICE     - user-generated notice message
+;
+; Examples:
+;
+;   - Show all errors, except for notices
+;
+;error_reporting = E_ALL & ~E_NOTICE
+;
+;   - Show only errors
+;
+;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
+;
+;   - Show all errors except for notices
+;
+error_reporting  =  E_ALL & ~E_NOTICE
+
+; Print out errors (as a part of the output).  For production web sites,
+; you're strongly encouraged to turn this feature off, and use error logging
+; instead (see below).  Keeping display_errors enabled on a production web site
+; may reveal security information to end users, such as file paths on your Web
+; server, your database schema or other information.
+display_errors = Off
+
+; Even when display_errors is on, errors that occur during PHP's startup
+; sequence are not displayed.  It's strongly recommended to keep
+; display_startup_errors off, except for when debugging.
+display_startup_errors = Off
+
+; Log errors into a log file (server-specific log, stderr, or error_log (below))
+; As stated above, you're strongly advised to use error logging in place of
+; error displaying on production web sites.
+log_errors = On
+
+; Set maximum length of log_errors. In error_log information about the source is
+; added. The default is 1024 and 0 allows to not apply any maximum length at all.
+log_errors_max_len = 1024
+
+; Do not log repeated messages. Repeated errors must occur in same file on same
+; line until ignore_repeated_source is set true.
+ignore_repeated_errors = On
+
+; Ignore source of message when ignoring repeated messages. When this setting 
+; is On you will not log errors with repeated messages from different files or
+; sourcelines.
+ignore_repeated_source = Off
+
+; If this parameter is set to Off, then memory leaks will not be shown (on
+; stdout or in the log). This has only effect in a debug compile, and if 
+; error reporting includes E_WARNING in the allowed list
+report_memleaks = On
+
+; Store the last error/warning message in $php_errormsg (boolean).
+track_errors = Off
+
+; Disable the inclusion of HTML tags in error messages.
+;html_errors = Off
+  
+; If html_errors is set On PHP produces clickable error messages that direct 
+; to a page describing the error or function causing the error in detail.
+; You can download a copy of the PHP manual from http://www.php.net/docs.php 
+; and change docref_root to the base URL of your local copy including the
+; leading '/'. You must also specify the file extension being used including 
+; the dot.
+;docref_root = "/phpmanual/"
+;docref_ext = .html
+  
+; String to output before an error message.
+;error_prepend_string = "<font color=ff0000>"
+
+; String to output after an error message.
+;error_append_string = "</font>"
+
+; Log errors to specified file.
+error_log = /var/log/php_error.log
+
+; Log errors to syslog (Event Log on NT, not valid in Windows 95).
+error_log = syslog
+
+
+;;;;;;;;;;;;;;;;;
+; Data Handling ;
+;;;;;;;;;;;;;;;;;
+;
+; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
+
+; The separator used in PHP generated URLs to separate arguments.
+; Default is "&". 
+;arg_separator.output = "&amp;"
+
+; List of separator(s) used by PHP to parse input URLs into variables.
+; Default is "&". 
+; NOTE: Every character in this directive is considered as separator!
+;arg_separator.input = ";&"
+
+; This directive describes the order in which PHP registers GET, POST, Cookie,
+; Environment and Built-in variables (G, P, C, E & S respectively, often
+; referred to as EGPCS or GPC).  Registration is done from left to right, newer
+; values override older values.
+variables_order = "EGPCS"
+
+; Whether or not to register the EGPCS variables as global variables.  You may
+; want to turn this off if you don't want to clutter your scripts' global scope
+; with user data.  This makes most sense when coupled with track_vars - in which
+; case you can access all of the GPC variables through the $HTTP_*_VARS[],
+; variables.
+;
+; You should do your best to write your scripts so that they do not require
+; register_globals to be on;  Using form variables as globals can easily lead
+; to possible security problems, if the code is not very well thought of.
+register_globals = Off
+
+; This directive tells PHP whether to declare the argv&argc variables (that
+; would contain the GET information).  If you don't use these variables, you
+; should turn it off for increased performance.
+register_argc_argv = On
+
+; Maximum size of POST data that PHP will accept.
+post_max_size = 21M
+
+; This directive is deprecated.  Use variables_order instead.
+gpc_order = "GPC"
+
+; Magic quotes
+;
+
+; Magic quotes for incoming GET/POST/Cookie data.
+magic_quotes_gpc = Off
+
+; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
+magic_quotes_runtime = Off    
+
+; Use Sybase-style magic quotes (escape ' with '' instead of \').
+magic_quotes_sybase = Off
+
+; Automatically add files before or after any PHP document.
+auto_prepend_file =
+auto_append_file =
+
+; As of 4.0b4, PHP always outputs a character encoding by default in
+; the Content-type: header.  To disable sending of the charset, simply
+; set it to be empty.
+;
+; PHP's built-in default is text/html
+default_mimetype = "text/html"
+default_charset = "iso-8859-1"
+
+; Always populate the $HTTP_RAW_POST_DATA variable.
+;always_populate_raw_post_data = On
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;
+; Paths and Directories ;
+;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; UNIX: "/path1:/path2"  
+;include_path = ".:/usr/share/php"
+;
+; Windows: "\path1;\path2"
+;include_path = ".;c:\php\includes"
+
+; The root of the PHP pages, used only if nonempty.
+; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
+; if you are running php as a CGI under any web server (other than IIS)
+; see documentation for security issues.  The alternate is to use the
+; cgi.force_redirect configuration below
+doc_root =
+
+; The directory under which PHP opens the script using /~username used only
+; if nonempty.
+user_dir =
+
+; Directory in which the loadable extensions (modules) reside.
+; extension_dir = "./"
+
+; Whether or not to enable the dl() function.  The dl() function does NOT work
+; properly in multithreaded servers, such as IIS or Zeus, and is automatically
+; disabled on them.
+enable_dl = On
+
+; cgi.force_redirect is necessary to provide security running PHP as a CGI under
+; most web servers.  Left undefined, PHP turns this on by default.  You can
+; turn it off here AT YOUR OWN RISK
+; **You CAN safely turn this off for IIS, in fact, you MUST.**
+; cgi.force_redirect = 1
+
+; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
+; every request.
+; cgi.nph = 1
+
+; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
+; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
+; will look for to know it is OK to continue execution.  Setting this variable MAY
+; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
+; cgi.redirect_status_env = ;
+
+; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
+; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
+; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
+; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
+; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
+; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
+; cgi.fix_pathinfo=0
+
+; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
+; security tokens of the calling client.  This allows IIS to define the
+; security context that the request runs under.  mod_fastcgi under Apache
+; does not currently support this feature (03/17/2002)
+; Set to 1 if running under IIS.  Default is zero.
+; fastcgi.impersonate = 1;
+
+; cgi.rfc2616_headers configuration option tells PHP what type of headers to
+; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
+; is supported by Apache. When this option is set to 1 PHP will send
+; RFC2616 compliant header.
+; Default is zero.
+;cgi.rfc2616_headers = 0 
+ 
+
+;;;;;;;;;;;;;;;;
+; File Uploads ;
+;;;;;;;;;;;;;;;;
+
+; Whether to allow HTTP file uploads.
+file_uploads = On
+
+; Temporary directory for HTTP uploaded files (will use system default if not
+; specified).
+;upload_tmp_dir =
+
+; Maximum allowed size for uploaded files.
+upload_max_filesize = 20M
+
+
+;;;;;;;;;;;;;;;;;;
+; Fopen wrappers ;
+;;;;;;;;;;;;;;;;;;
+
+; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
+allow_url_fopen = On
+
+; Define the anonymous ftp password (your email address)
+;from="john@doe.com"
+
+; Define the User-Agent string
+; user_agent="PHP"
+
+; Default timeout for socket based streams (seconds)
+default_socket_timeout = 60
+
+; If your scripts have to deal with files from Macintosh systems,
+; or you are running on a Mac and need to deal with files from
+; unix or win32 systems, setting this flag will cause PHP to
+; automatically detect the EOL character in those files so that
+; fgets() and file() will work regardless of the source of the file.
+; auto_detect_line_endings = Off
+
+
+;;;;;;;;;;;;;;;;;;;;;;
+; Dynamic Extensions ;
+;;;;;;;;;;;;;;;;;;;;;;
+;
+; If you wish to have an extension loaded automatically, use the following
+; syntax:
+;
+;   extension=modulename.extension
+;
+; For example, on Windows:
+;
+;   extension=msql.dll
+;
+; ... or under UNIX:
+;
+;   extension=msql.so
+;
+; Note that it should be the name of the module only; no directory information 
+; needs to go here.  Specify the location of the extension with the
+; extension_dir directive above.
+
+; Example lines:
+
+;extension=mysql.so
+;extension=gd.so
+
+
+;;;;;;;;;;;;;;;;;;;
+; Module Settings ;
+;;;;;;;;;;;;;;;;;;;
+
+[Syslog]
+; Whether or not to define the various syslog variables (e.g. $LOG_PID,
+; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
+; runtime, you can define these variables by calling define_syslog_variables().
+define_syslog_variables  = Off
+
+[mail function]
+; For Win32 only.
+SMTP = localhost
+smtp_port = 25
+
+; For Win32 only.
+;sendmail_from = me@example.com
+
+; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
+;sendmail_path =
+
+[Java]
+;java.class.path = .\php_java.jar
+;java.home = c:\jdk
+;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
+;java.library.path = .\
+
+[SQL]
+sql.safe_mode = Off
+
+[ODBC]
+;odbc.default_db    =  Not yet implemented
+;odbc.default_user  =  Not yet implemented
+;odbc.default_pw    =  Not yet implemented
+
+; Allow or prevent persistent links.
+odbc.allow_persistent = On
+
+; Check that a connection is still valid before reuse.
+odbc.check_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+odbc.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+odbc.max_links = -1  
+
+; Handling of LONG fields.  Returns number of bytes to variables.  0 means
+; passthru.
+odbc.defaultlrl = 4096  
+
+; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
+; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
+; of uodbc.defaultlrl and uodbc.defaultbinmode
+odbc.defaultbinmode = 1  
+
+[MySQL]
+; Allow or prevent persistent links.
+mysql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mysql.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+mysql.max_links = -1
+
+; Default port number for mysql_connect().  If unset, mysql_connect() will use
+; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
+; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
+; at MYSQL_PORT.
+mysql.default_port =
+
+; Default socket name for local MySQL connects.  If empty, uses the built-in
+; MySQL defaults.
+mysql.default_socket =
+
+; Default host for mysql_connect() (doesn't apply in safe mode).
+mysql.default_host =
+
+; Default user for mysql_connect() (doesn't apply in safe mode).
+mysql.default_user =
+
+; Default password for mysql_connect() (doesn't apply in safe mode).
+; Note that this is generally a *bad* idea to store passwords in this file.
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
+; and reveal this password!  And of course, any users with read access to this
+; file will be able to reveal the password as well.
+mysql.default_password =
+
+; Maximum time (in seconds) for connect timeout. -1 means no limit
+mysql.connect_timeout = 60
+
+; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
+; SQL-Errors will be displayed.
+mysql.trace_mode = Off
+
+[mSQL]
+; Allow or prevent persistent links.
+msql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+msql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+msql.max_links = -1
+
+[PostgresSQL]
+; Allow or prevent persistent links.
+pgsql.allow_persistent = On
+
+; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
+pgsql.auto_reset_persistent = Off 
+
+; Maximum number of persistent links.  -1 means no limit.
+pgsql.max_persistent = 200 
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+pgsql.max_links = 200 
+
+; Ignore PostgreSQL backends Notice message or not.
+pgsql.ignore_notice = 0
+
+; Log PostgreSQL backends Noitce message or not.
+; Unless pgsql.ignore_notice=0, module cannot log notice message.
+pgsql.log_notice = 0
+
+[Sybase]
+; Allow or prevent persistent links.
+sybase.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybase.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybase.max_links = -1
+
+;sybase.interface_file = "/usr/sybase/interfaces"
+
+; Minimum error severity to display.
+sybase.min_error_severity = 10
+
+; Minimum message severity to display.
+sybase.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+; If on, this will cause PHP to automatically assign types to results according
+; to their Sybase type, instead of treating them all as strings.  This
+; compatibility mode will probably not stay around forever, so try applying
+; whatever necessary changes to your code, and turn it off.
+sybase.compatability_mode = Off
+
+[Sybase-CT]
+; Allow or prevent persistent links.
+sybct.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybct.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybct.max_links = -1
+
+; Minimum server message severity to display.
+sybct.min_server_severity = 10
+
+; Minimum client message severity to display.
+sybct.min_client_severity = 10
+
+[dbx]
+; returned column names can be converted for compatibility reasons
+; possible values for dbx.colnames_case are
+; "unchanged" (default, if not set)
+; "lowercase"
+; "uppercase"
+; the recommended default is either upper- or lowercase, but
+; unchanged is currently set for backwards compatibility
+dbx.colnames_case = "unchanged"
+
+[bcmath]
+; Number of decimal digits for all bcmath functions.
+bcmath.scale = 0
+
+[browscap]
+;browscap = extra/browscap.ini
+
+[Informix]
+; Default host for ifx_connect() (doesn't apply in safe mode).
+ifx.default_host =
+
+; Default user for ifx_connect() (doesn't apply in safe mode).
+ifx.default_user =
+
+; Default password for ifx_connect() (doesn't apply in safe mode).
+ifx.default_password =
+
+; Allow or prevent persistent links.
+ifx.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ifx.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+ifx.max_links = -1
+
+; If on, select statements return the contents of a text blob instead of its id.
+ifx.textasvarchar = 0
+
+; If on, select statements return the contents of a byte blob instead of its id.
+ifx.byteasvarchar = 0
+
+; Trailing blanks are stripped from fixed-length char columns.  May help the
+; life of Informix SE users.
+ifx.charasvarchar = 0
+
+; If on, the contents of text and byte blobs are dumped to a file instead of
+; keeping them in memory.
+ifx.blobinfile = 0
+
+; NULL's are returned as empty strings, unless this is set to 1.  In that case,
+; NULL's are returned as string 'NULL'.
+ifx.nullformat = 0
+
+[Session]
+; Handler used to store/retrieve data.
+session.save_handler = files
+
+; Argument passed to save_handler.  In the case of files, this is the path
+; where data files are stored. Note: Windows users have to change this 
+; variable in order to use PHP's session functions.
+; As of PHP 4.0.1, you can define the path as:
+;     session.save_path = "N;/path"
+; where N is an integer.  Instead of storing all the session files in 
+; /path, what this will do is use subdirectories N-levels deep, and 
+; store the session data in those directories.  This is useful if you 
+; or your OS have problems with lots of files in one directory, and is 
+; a more efficient layout for servers that handle lots of sessions.
+; NOTE 1: PHP will not create this directory structure automatically.
+;         You can use the script in the ext/session dir for that purpose.
+; NOTE 2: See the section on garbage collection below if you choose to
+;         use subdirectories for session storage
+session.save_path = /php_sessions/
+
+; Whether to use cookies.
+session.use_cookies = 1
+
+; This option enables administrators to make their users invulnerable to
+; attacks which involve passing session ids in URLs; defaults to 0.
+; session.use_only_cookies = 1
+
+; Name of the session (used as cookie name).
+session.name = PHPSESSID
+
+; Initialize session on request startup.
+session.auto_start = 1
+
+; Lifetime in seconds of cookie or, if 0, until browser is restarted.
+session.cookie_lifetime = 0
+
+; The path for which the cookie is valid.
+session.cookie_path = /
+
+; The domain for which the cookie is valid.
+session.cookie_domain =
+
+; Handler used to serialize data.  php is the standard serializer of PHP.
+session.serialize_handler = php
+
+; Define the probability that the 'garbage collection' process is started
+; on every session initialization.
+; The probability is calculated by using gc_probability/gc_divisor,
+; e.g. 1/100 means there is a 1% chance that the GC process starts
+; on each request.
+
+; This is disabled in the Debian packages, due to the strict permissions
+; on /var/lib/php4.  Instead of setting this here, see the cronjob at
+; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
+session.gc_probability = 1
+session.gc_divisor     = 100
+
+; After this number of seconds, stored data will be seen as 'garbage' and
+; cleaned up by the garbage collection process.
+session.gc_maxlifetime = 1440
+
+; NOTE: If you are using the subdirectory option for storing session files
+;       (see session.save_path above), then garbage collection does *not*
+;       happen automatically.  You will need to do your own garbage 
+;       collection through a shell script, cron entry, or some other method. 
+;       For example, the following script would is the equivalent of
+;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
+;          cd /path/to/sessions; find -cmin +24 | xargs rm
+
+; PHP 4.2 and less have an undocumented feature/bug that allows you to
+; to initialize a session variable in the global scope, albeit register_globals
+; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
+; You can disable the feature and the warning separately. At this time,
+; the warning is only displayed, if bug_compat_42 is enabled.
+
+session.bug_compat_42 = 1
+session.bug_compat_warn = 1
+
+; Check HTTP Referer to invalidate externally stored URLs containing ids.
+; HTTP_REFERER has to contain this substring for the session to be
+; considered as valid.
+session.referer_check =
+
+; How many bytes to read from the file.
+session.entropy_length = 0
+
+; Specified here to create the session id.
+session.entropy_file =
+
+;session.entropy_length = 16
+
+;session.entropy_file = /dev/urandom
+
+; Set to {nocache,private,public,} to determine HTTP caching aspects
+; or leave this empty to avoid sending anti-caching headers.
+session.cache_limiter = nocache
+
+; Document expires after n minutes.
+session.cache_expire = 180
+
+; trans sid support is disabled by default.
+; Use of trans sid may risk your users security. 
+; Use this option with caution.
+; - User may send URL contains active session ID
+;   to other person via. email/irc/etc.
+; - URL that contains active session ID may be stored
+;   in publically accessible computer.
+; - User may access your site with the same session ID
+;   always using URL stored in browser's history or bookmarks.
+session.use_trans_sid = 0
+
+; The URL rewriter will look for URLs in a defined set of HTML tags.
+; form/fieldset are special; if you include them here, the rewriter will
+; add a hidden <input> field with the info which is otherwise appended
+; to URLs.  If you want XHTML conformity, remove the form entry.
+; Note that all valid entries require a "=", even if no value follows.
+url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
+
+[MSSQL]
+; Allow or prevent persistent links.
+mssql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mssql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+mssql.max_links = -1
+
+; Minimum error severity to display.
+mssql.min_error_severity = 10
+
+; Minimum message severity to display.
+mssql.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+mssql.compatability_mode = Off
+
+; Connect timeout
+;mssql.connect_timeout = 5
+
+; Query timeout
+;mssql.timeout = 60
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textlimit = 4096
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textsize = 4096
+
+; Limits the number of records in each batch.  0 = all records in one batch.
+;mssql.batchsize = 0
+
+; Specify how datetime and datetim4 columns are returned
+; On => Returns data converted to SQL server settings
+; Off => Returns values as YYYY-MM-DD hh:mm:ss
+;mssql.datetimeconvert = On
+
+; Use NT authentication when connecting to the server
+mssql.secure_connection = Off
+
+; Specify max number of processes. Default = 25
+;mssql.max_procs = 25
+
+[Assertion]
+; Assert(expr); active by default.
+;assert.active = On
+
+; Issue a PHP warning for each failed assertion.
+;assert.warning = On
+
+; Don't bail out by default.
+;assert.bail = Off
+
+; User-function to be called if an assertion fails.
+;assert.callback = 0
+
+; Eval the expression with current error_reporting().  Set to true if you want
+; error_reporting(0) around the eval().
+;assert.quiet_eval = 0
+
+[Ingres II]
+; Allow or prevent persistent links.
+ingres.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ingres.max_persistent = -1
+
+; Maximum number of links, including persistents.  -1 means no limit.
+ingres.max_links = -1
+
+; Default database (format: [node_id::]dbname[/srv_class]).
+ingres.default_database =
+
+; Default user.
+ingres.default_user =
+
+; Default password.
+ingres.default_password =
+
+[Verisign Payflow Pro]
+; Default Payflow Pro server.
+pfpro.defaulthost = "test-payflow.verisign.com"
+
+; Default port to connect to.
+pfpro.defaultport = 443
+
+; Default timeout in seconds.
+pfpro.defaulttimeout = 30
+
+; Default proxy IP address (if required).
+;pfpro.proxyaddress =
+
+; Default proxy port.
+;pfpro.proxyport =
+
+; Default proxy logon.
+;pfpro.proxylogon =
+
+; Default proxy password.
+;pfpro.proxypassword =
+
+[com]
+; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
+;com.typelib_file = 
+; allow Distributed-COM calls
+;com.allow_dcom = true
+; autoregister constants of a components typlib on com_load()
+;com.autoregister_typelib = true
+; register constants casesensitive
+;com.autoregister_casesensitive = false
+; show warnings on duplicate constat registrations
+;com.autoregister_verbose = true
+
+[Printer]
+;printer.default_printer = ""
+
+[mbstring]
+; language for internal character representation.
+;mbstring.language = Japanese
+
+; internal/script encoding.
+; Some encoding cannot work as internal encoding.
+; (e.g. SJIS, BIG5, ISO-2022-*)
+;mbstring.internal_encoding = EUC-JP
+
+; http input encoding.
+;mbstring.http_input = auto
+
+; http output encoding. mb_output_handler must be
+; registered as output buffer to function
+;mbstring.http_output = SJIS
+
+; enable automatic encoding translation accoding to 
+; mbstring.internal_encoding setting. Input chars are
+; converted to internal encoding by setting this to On.
+; Note: Do _not_ use automatic encoding translation for
+;       portable libs/applications.
+;mbstring.encoding_translation = Off
+
+; automatic encoding detection order.
+; auto means 
+;mbstring.detect_order = auto
+
+; substitute_character used when character cannot be converted
+; one from another
+;mbstring.substitute_character = none;
+
+; overload(replace) single byte functions by mbstring functions.
+; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
+; etc. Possible values are 0,1,2,4 or combination of them.
+; For example, 7 for overload everything.
+; 0: No overload
+; 1: Overload mail() function
+; 2: Overload str*() functions
+; 4: Overload ereg*() functions
+mbstring.func_overload = 7
+
+[FrontBase]
+;fbsql.allow_persistent = On
+;fbsql.autocommit = On
+;fbsql.default_database = 
+;fbsql.default_database_password =
+;fbsql.default_host =
+;fbsql.default_password =
+;fbsql.default_user = "_SYSTEM"
+;fbsql.generate_warnings = Off
+;fbsql.max_connections = 128
+;fbsql.max_links = 128
+;fbsql.max_persistent = -1
+;fbsql.max_results = 128
+;fbsql.batchSize = 1000
+
+[Crack]
+; Modify the setting below to match the directory location of the cracklib
+; dictionary files.  Include the base filename, but not the file extension.
+; crack.default_dictionary = "c:\php\lib\cracklib_dict"
+
+[exif]
+; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
+; With mbstring support this will automatically be converted into the encoding
+; given by corresponding encode setting. When empty mbstring.internal_encoding 
+; is used. For the decode settings you can distinguish between motorola and 
+; intel byte order. A decode setting cannot be empty.
+;exif.encode_unicode = ISO-8859-15
+;exif.decode_unicode_motorola = UCS-2BE
+;exif.decode_unicode_intel    = UCS-2LE
+;exif.encode_jis = 
+;exif.decode_jis_motorola = JIS
+;exif.decode_jis_intel    = JIS
+
+; Local Variables:
+; tab-width: 4
+; End:
+extension=ldap.so
+extension=pgsql.so
+extension=imap.so
+extension=gd.so
Index: /sandbox/doc-expressolivre/arquivos/sles/etc/php5/apache2/php.ini
===================================================================
--- /sandbox/doc-expressolivre/arquivos/sles/etc/php5/apache2/php.ini	(revision 2190)
+++ /sandbox/doc-expressolivre/arquivos/sles/etc/php5/apache2/php.ini	(revision 2190)
@@ -0,0 +1,1078 @@
+[PHP]
+
+;;;;;;;;;;;
+; WARNING ;
+;;;;;;;;;;;
+; This is the default settings file for new PHP installations.
+; By default, PHP installs itself with a configuration suitable for
+; development purposes, and *NOT* for production purposes.
+; For several security-oriented considerations that should be taken
+; before going online with your site, please consult php.ini-recommended
+; and http://php.net/manual/en/security.php.
+
+
+;;;;;;;;;;;;;;;;;;;
+; About this file ;
+;;;;;;;;;;;;;;;;;;;
+; This file controls many aspects of PHP's behavior.  In order for PHP to
+; read it, it must be named 'php.ini'.  PHP looks for it in the current
+; working directory, in the path designated by the environment variable
+; PHPRC, and in the path that was defined in compile time (in that order).
+; Under Windows, the compile-time path is the Windows directory.  The
+; path in which the php.ini file is looked for can be overridden using
+; the -c argument in command line mode.
+;
+; The syntax of the file is extremely simple.  Whitespace and Lines
+; beginning with a semicolon are silently ignored (as you probably guessed).
+; Section headers (e.g. [Foo]) are also silently ignored, even though
+; they might mean something in the future.
+;
+; Directives are specified using the following syntax:
+; directive = value
+; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
+;
+; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
+; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
+; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
+;
+; Expressions in the INI file are limited to bitwise operators and parentheses:
+; |        bitwise OR
+; &        bitwise AND
+; ~        bitwise NOT
+; !        boolean NOT
+;
+; Boolean flags can be turned on using the values 1, On, True or Yes.
+; They can be turned off using the values 0, Off, False or No.
+;
+; An empty string can be denoted by simply not writing anything after the equal
+; sign, or by using the None keyword:
+;
+;  foo =         ; sets foo to an empty string
+;  foo = none    ; sets foo to an empty string
+;  foo = "none"  ; sets foo to the string 'none'
+;
+; If you use constants in your value, and these constants belong to a
+; dynamically loaded extension (either a PHP extension or a Zend extension),
+; you may only use these constants *after* the line that loads the extension.
+;
+; All the values in the php.ini-dist file correspond to the builtin
+; defaults (that is, if no php.ini is used, or if you delete these lines,
+; the builtin defaults will be identical).
+
+
+;;;;;;;;;;;;;;;;;;;;
+; Language Options ;
+;;;;;;;;;;;;;;;;;;;;
+
+; Enable the PHP scripting language engine under Apache.
+engine = On
+
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
+short_open_tag = On
+
+; Allow ASP-style <% %> tags.
+asp_tags = Off
+
+; The number of significant digits displayed in floating point numbers.
+precision    =  12
+
+; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
+y2k_compliance = On
+
+; Output buffering allows you to send header lines (including cookies) even
+; after you send body content, at the price of slowing PHP's output layer a
+; bit.  You can enable output buffering during runtime by calling the output
+; buffering functions.  You can also enable output buffering for all files by
+; setting this directive to On.  If you wish to limit the size of the buffer
+; to a certain size - you can use a maximum number of bytes instead of 'On', as
+; a value for this directive (e.g., output_buffering=4096).
+output_buffering = Off
+
+; You can redirect all of the output of your scripts to a function.  For
+; example, if you set output_handler to "mb_output_handler", character
+; encoding will be transparently converted to the specified encoding.
+; Setting any output handler automatically turns on output buffering.
+; Note: People who wrote portable scripts should not depend on this ini
+;       directive. Instead, explicitly set the output handler using ob_start().
+;       Using this ini directive may cause problems unless you know what script 
+;       is doing.
+; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
+;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
+;output_handler =
+
+; Transparent output compression using the zlib library
+; Valid values for this option are 'off', 'on', or a specific buffer size
+; to be used for compression (default is 4KB)
+; Note: Resulting chunk size may vary due to nature of compression. PHP 
+;       outputs chunks that are few hundreds bytes each as a result of 
+;       compression. If you prefer a larger chunk size for better 
+;       performance, enable output_buffering in addition.
+; Note: You need to use zlib.output_handler instead of the standard
+;       output_handler, or otherwise the output will be corrupted.
+zlib.output_compression = Off
+
+; You cannot specify additional output handlers if zlib.output_compression
+; is activated here. This setting does the same as output_handler but in
+; a different order.
+;zlib.output_handler =
+
+; Implicit flush tells PHP to tell the output layer to flush itself
+; automatically after every output block.  This is equivalent to calling the
+; PHP function flush() after each and every call to print() or echo() and each
+; and every HTML block.  Turning this option on has serious performance
+; implications and is generally recommended for debugging purposes only.
+implicit_flush = Off
+
+; The unserialize callback function will be called (with the undefined class'
+; name as parameter), if the unserializer finds an undefined class
+; which should be instanciated.
+; A warning appears if the specified function is not defined, or if the
+; function doesn't include/implement the missing class.
+; So only set this entry, if you really want to implement such a 
+; callback-function.
+unserialize_callback_func=
+
+; When floats & doubles are serialized store serialize_precision significant
+; digits after the floating point. The default value ensures that when floats
+; are decoded with unserialize, the data will remain the same.
+serialize_precision = 100
+
+; Whether to enable the ability to force arguments to be passed by reference
+; at function call time.  This method is deprecated and is likely to be
+; unsupported in future versions of PHP/Zend.  The encouraged method of
+; specifying which arguments should be passed by reference is in the function
+; declaration.  You're encouraged to try and turn this option Off and make
+; sure your scripts work properly with it in order to ensure they will work
+; with future versions of the language (you will receive a warning each time
+; you use this feature, and the argument will be passed by value instead of by
+; reference).
+allow_call_time_pass_reference = On
+
+; Safe Mode
+;
+safe_mode = Off
+
+; By default, Safe Mode does a UID compare check when
+; opening files. If you want to relax this to a GID compare,
+; then turn on safe_mode_gid.
+safe_mode_gid = Off
+
+; When safe_mode is on, UID/GID checks are bypassed when
+; including files from this directory and its subdirectories.
+; (directory must also be in include_path or full path must
+; be used when including)
+safe_mode_include_dir =        
+
+; When safe_mode is on, only executables located in the safe_mode_exec_dir
+; will be allowed to be executed via the exec family of functions.
+safe_mode_exec_dir =
+
+; Setting certain environment variables may be a potential security breach.
+; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
+; the user may only alter environment variables whose names begin with the
+; prefixes supplied here.  By default, users will only be able to set
+; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
+;
+; Note:  If this directive is empty, PHP will let the user modify ANY
+; environment variable!
+safe_mode_allowed_env_vars = PHP_
+
+; This directive contains a comma-delimited list of environment variables that
+; the end user won't be able to change using putenv().  These variables will be
+; protected even if safe_mode_allowed_env_vars is set to allow to change them.
+safe_mode_protected_env_vars = LD_LIBRARY_PATH
+
+; open_basedir, if set, limits all file operations to the defined directory
+; and below.  This directive makes most sense if used in a per-directory
+; or per-virtualhost web server configuration file. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+;open_basedir = /var/www:/php_sessions:/home/expressolivre
+open_basedir = 
+
+; This directive allows you to disable certain functions for security reasons.
+; It receives a comma-delimited list of function names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_functions =
+
+; This directive allows you to disable certain classes for security reasons.
+; It receives a comma-delimited list of class names. This directive is
+; *NOT* affected by whether Safe Mode is turned On or Off.
+disable_classes =
+
+; Colors for Syntax Highlighting mode.  Anything that's acceptable in
+; <font color="??????"> would work.
+;highlight.string  = #DD0000
+;highlight.comment = #FF9900
+;highlight.keyword = #007700
+;highlight.bg      = #FFFFFF
+;highlight.default = #0000BB
+;highlight.html    = #000000
+
+
+;
+; Misc
+;
+; Decides whether PHP may expose the fact that it is installed on the server
+; (e.g. by adding its signature to the Web server header).  It is no security
+; threat in any way, but it makes it possible to determine whether you use PHP
+; on your server or not.
+expose_php = Off
+
+
+;;;;;;;;;;;;;;;;;;;
+; Resource Limits ;
+;;;;;;;;;;;;;;;;;;;
+
+max_execution_time = 120     ; Maximum execution time of each script, in seconds
+max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
+memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Error handling and logging ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; error_reporting is a bit-field.  Or each number up to get desired error
+; reporting level
+; E_ALL             - All errors and warnings
+; E_ERROR           - fatal run-time errors
+; E_WARNING         - run-time warnings (non-fatal errors)
+; E_PARSE           - compile-time parse errors
+; E_NOTICE          - run-time notices (these are warnings which often result
+;                     from a bug in your code, but it's possible that it was
+;                     intentional (e.g., using an uninitialized variable and
+;                     relying on the fact it's automatically initialized to an
+;                     empty string)
+; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
+; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
+;                     initial startup
+; E_COMPILE_ERROR   - fatal compile-time errors
+; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
+; E_USER_ERROR      - user-generated error message
+; E_USER_WARNING    - user-generated warning message
+; E_USER_NOTICE     - user-generated notice message
+;
+; Examples:
+;
+;   - Show all errors, except for notices
+;
+;error_reporting = E_ALL & ~E_NOTICE
+;
+;   - Show only errors
+;
+;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
+;
+;   - Show all errors except for notices
+;
+error_reporting  =  E_ALL & ~E_NOTICE
+
+; Print out errors (as a part of the output).  For production web sites,
+; you're strongly encouraged to turn this feature off, and use error logging
+; instead (see below).  Keeping display_errors enabled on a production web site
+; may reveal security information to end users, such as file paths on your Web
+; server, your database schema or other information.
+display_errors = Off
+
+; Even when display_errors is on, errors that occur during PHP's startup
+; sequence are not displayed.  It's strongly recommended to keep
+; display_startup_errors off, except for when debugging.
+display_startup_errors = Off
+
+; Log errors into a log file (server-specific log, stderr, or error_log (below))
+; As stated above, you're strongly advised to use error logging in place of
+; error displaying on production web sites.
+log_errors = On
+
+; Set maximum length of log_errors. In error_log information about the source is
+; added. The default is 1024 and 0 allows to not apply any maximum length at all.
+log_errors_max_len = 1024
+
+; Do not log repeated messages. Repeated errors must occur in same file on same
+; line until ignore_repeated_source is set true.
+ignore_repeated_errors = On
+
+; Ignore source of message when ignoring repeated messages. When this setting 
+; is On you will not log errors with repeated messages from different files or
+; sourcelines.
+ignore_repeated_source = Off
+
+; If this parameter is set to Off, then memory leaks will not be shown (on
+; stdout or in the log). This has only effect in a debug compile, and if 
+; error reporting includes E_WARNING in the allowed list
+report_memleaks = On
+
+; Store the last error/warning message in $php_errormsg (boolean).
+track_errors = Off
+
+; Disable the inclusion of HTML tags in error messages.
+;html_errors = Off
+  
+; If html_errors is set On PHP produces clickable error messages that direct 
+; to a page describing the error or function causing the error in detail.
+; You can download a copy of the PHP manual from http://www.php.net/docs.php 
+; and change docref_root to the base URL of your local copy including the
+; leading '/'. You must also specify the file extension being used including 
+; the dot.
+;docref_root = "/phpmanual/"
+;docref_ext = .html
+  
+; String to output before an error message.
+;error_prepend_string = "<font color=ff0000>"
+
+; String to output after an error message.
+;error_append_string = "</font>"
+
+; Log errors to specified file.
+error_log = /var/log/php_error.log
+
+; Log errors to syslog (Event Log on NT, not valid in Windows 95).
+error_log = syslog
+
+
+;;;;;;;;;;;;;;;;;
+; Data Handling ;
+;;;;;;;;;;;;;;;;;
+;
+; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
+
+; The separator used in PHP generated URLs to separate arguments.
+; Default is "&". 
+;arg_separator.output = "&amp;"
+
+; List of separator(s) used by PHP to parse input URLs into variables.
+; Default is "&". 
+; NOTE: Every character in this directive is considered as separator!
+;arg_separator.input = ";&"
+
+; This directive describes the order in which PHP registers GET, POST, Cookie,
+; Environment and Built-in variables (G, P, C, E & S respectively, often
+; referred to as EGPCS or GPC).  Registration is done from left to right, newer
+; values override older values.
+variables_order = "EGPCS"
+
+; Whether or not to register the EGPCS variables as global variables.  You may
+; want to turn this off if you don't want to clutter your scripts' global scope
+; with user data.  This makes most sense when coupled with track_vars - in which
+; case you can access all of the GPC variables through the $HTTP_*_VARS[],
+; variables.
+;
+; You should do your best to write your scripts so that they do not require
+; register_globals to be on;  Using form variables as globals can easily lead
+; to possible security problems, if the code is not very well thought of.
+register_globals = Off
+
+; This directive tells PHP whether to declare the argv&argc variables (that
+; would contain the GET information).  If you don't use these variables, you
+; should turn it off for increased performance.
+register_argc_argv = On
+
+; Maximum size of POST data that PHP will accept.
+post_max_size = 21M
+
+; This directive is deprecated.  Use variables_order instead.
+gpc_order = "GPC"
+
+; Magic quotes
+;
+
+; Magic quotes for incoming GET/POST/Cookie data.
+magic_quotes_gpc = Off
+
+; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
+magic_quotes_runtime = Off    
+
+; Use Sybase-style magic quotes (escape ' with '' instead of \').
+magic_quotes_sybase = Off
+
+; Automatically add files before or after any PHP document.
+auto_prepend_file =
+auto_append_file =
+
+; As of 4.0b4, PHP always outputs a character encoding by default in
+; the Content-type: header.  To disable sending of the charset, simply
+; set it to be empty.
+;
+; PHP's built-in default is text/html
+default_mimetype = "text/html"
+default_charset = "iso-8859-1"
+
+; Always populate the $HTTP_RAW_POST_DATA variable.
+;always_populate_raw_post_data = On
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;
+; Paths and Directories ;
+;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; UNIX: "/path1:/path2"  
+;include_path = ".:/usr/share/php"
+;
+; Windows: "\path1;\path2"
+;include_path = ".;c:\php\includes"
+
+; The root of the PHP pages, used only if nonempty.
+; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
+; if you are running php as a CGI under any web server (other than IIS)
+; see documentation for security issues.  The alternate is to use the
+; cgi.force_redirect configuration below
+doc_root =
+
+; The directory under which PHP opens the script using /~username used only
+; if nonempty.
+user_dir =
+
+; Directory in which the loadable extensions (modules) reside.
+; extension_dir = "./"
+
+; Whether or not to enable the dl() function.  The dl() function does NOT work
+; properly in multithreaded servers, such as IIS or Zeus, and is automatically
+; disabled on them.
+enable_dl = On
+
+; cgi.force_redirect is necessary to provide security running PHP as a CGI under
+; most web servers.  Left undefined, PHP turns this on by default.  You can
+; turn it off here AT YOUR OWN RISK
+; **You CAN safely turn this off for IIS, in fact, you MUST.**
+; cgi.force_redirect = 1
+
+; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
+; every request.
+; cgi.nph = 1
+
+; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
+; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
+; will look for to know it is OK to continue execution.  Setting this variable MAY
+; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
+; cgi.redirect_status_env = ;
+
+; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
+; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
+; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
+; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
+; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
+; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
+; cgi.fix_pathinfo=0
+
+; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
+; security tokens of the calling client.  This allows IIS to define the
+; security context that the request runs under.  mod_fastcgi under Apache
+; does not currently support this feature (03/17/2002)
+; Set to 1 if running under IIS.  Default is zero.
+; fastcgi.impersonate = 1;
+
+; cgi.rfc2616_headers configuration option tells PHP what type of headers to
+; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
+; is supported by Apache. When this option is set to 1 PHP will send
+; RFC2616 compliant header.
+; Default is zero.
+;cgi.rfc2616_headers = 0 
+ 
+
+;;;;;;;;;;;;;;;;
+; File Uploads ;
+;;;;;;;;;;;;;;;;
+
+; Whether to allow HTTP file uploads.
+file_uploads = On
+
+; Temporary directory for HTTP uploaded files (will use system default if not
+; specified).
+;upload_tmp_dir =
+
+; Maximum allowed size for uploaded files.
+upload_max_filesize = 20M
+
+
+;;;;;;;;;;;;;;;;;;
+; Fopen wrappers ;
+;;;;;;;;;;;;;;;;;;
+
+; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
+allow_url_fopen = On
+
+; Define the anonymous ftp password (your email address)
+;from="john@doe.com"
+
+; Define the User-Agent string
+; user_agent="PHP"
+
+; Default timeout for socket based streams (seconds)
+default_socket_timeout = 60
+
+; If your scripts have to deal with files from Macintosh systems,
+; or you are running on a Mac and need to deal with files from
+; unix or win32 systems, setting this flag will cause PHP to
+; automatically detect the EOL character in those files so that
+; fgets() and file() will work regardless of the source of the file.
+; auto_detect_line_endings = Off
+
+
+;;;;;;;;;;;;;;;;;;;;;;
+; Dynamic Extensions ;
+;;;;;;;;;;;;;;;;;;;;;;
+;
+; If you wish to have an extension loaded automatically, use the following
+; syntax:
+;
+;   extension=modulename.extension
+;
+; For example, on Windows:
+;
+;   extension=msql.dll
+;
+; ... or under UNIX:
+;
+;   extension=msql.so
+;
+; Note that it should be the name of the module only; no directory information 
+; needs to go here.  Specify the location of the extension with the
+; extension_dir directive above.
+
+; Example lines:
+
+;extension=mysql.so
+;extension=gd.so
+
+
+;;;;;;;;;;;;;;;;;;;
+; Module Settings ;
+;;;;;;;;;;;;;;;;;;;
+
+[Syslog]
+; Whether or not to define the various syslog variables (e.g. $LOG_PID,
+; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
+; runtime, you can define these variables by calling define_syslog_variables().
+define_syslog_variables  = Off
+
+[mail function]
+; For Win32 only.
+SMTP = localhost
+smtp_port = 25
+
+; For Win32 only.
+;sendmail_from = me@example.com
+
+; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
+;sendmail_path =
+
+[Java]
+;java.class.path = .\php_java.jar
+;java.home = c:\jdk
+;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
+;java.library.path = .\
+
+[SQL]
+sql.safe_mode = Off
+
+[ODBC]
+;odbc.default_db    =  Not yet implemented
+;odbc.default_user  =  Not yet implemented
+;odbc.default_pw    =  Not yet implemented
+
+; Allow or prevent persistent links.
+odbc.allow_persistent = On
+
+; Check that a connection is still valid before reuse.
+odbc.check_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+odbc.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+odbc.max_links = -1  
+
+; Handling of LONG fields.  Returns number of bytes to variables.  0 means
+; passthru.
+odbc.defaultlrl = 4096  
+
+; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
+; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
+; of uodbc.defaultlrl and uodbc.defaultbinmode
+odbc.defaultbinmode = 1  
+
+[MySQL]
+; Allow or prevent persistent links.
+mysql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mysql.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+mysql.max_links = -1
+
+; Default port number for mysql_connect().  If unset, mysql_connect() will use
+; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
+; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
+; at MYSQL_PORT.
+mysql.default_port =
+
+; Default socket name for local MySQL connects.  If empty, uses the built-in
+; MySQL defaults.
+mysql.default_socket =
+
+; Default host for mysql_connect() (doesn't apply in safe mode).
+mysql.default_host =
+
+; Default user for mysql_connect() (doesn't apply in safe mode).
+mysql.default_user =
+
+; Default password for mysql_connect() (doesn't apply in safe mode).
+; Note that this is generally a *bad* idea to store passwords in this file.
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
+; and reveal this password!  And of course, any users with read access to this
+; file will be able to reveal the password as well.
+mysql.default_password =
+
+; Maximum time (in seconds) for connect timeout. -1 means no limit
+mysql.connect_timeout = 60
+
+; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
+; SQL-Errors will be displayed.
+mysql.trace_mode = Off
+
+[mSQL]
+; Allow or prevent persistent links.
+msql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+msql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+msql.max_links = -1
+
+[PostgresSQL]
+; Allow or prevent persistent links.
+pgsql.allow_persistent = On
+
+; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
+pgsql.auto_reset_persistent = Off 
+
+; Maximum number of persistent links.  -1 means no limit.
+pgsql.max_persistent = 200 
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+pgsql.max_links = 200 
+
+; Ignore PostgreSQL backends Notice message or not.
+pgsql.ignore_notice = 0
+
+; Log PostgreSQL backends Noitce message or not.
+; Unless pgsql.ignore_notice=0, module cannot log notice message.
+pgsql.log_notice = 0
+
+[Sybase]
+; Allow or prevent persistent links.
+sybase.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybase.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybase.max_links = -1
+
+;sybase.interface_file = "/usr/sybase/interfaces"
+
+; Minimum error severity to display.
+sybase.min_error_severity = 10
+
+; Minimum message severity to display.
+sybase.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+; If on, this will cause PHP to automatically assign types to results according
+; to their Sybase type, instead of treating them all as strings.  This
+; compatibility mode will probably not stay around forever, so try applying
+; whatever necessary changes to your code, and turn it off.
+sybase.compatability_mode = Off
+
+[Sybase-CT]
+; Allow or prevent persistent links.
+sybct.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+sybct.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+sybct.max_links = -1
+
+; Minimum server message severity to display.
+sybct.min_server_severity = 10
+
+; Minimum client message severity to display.
+sybct.min_client_severity = 10
+
+[dbx]
+; returned column names can be converted for compatibility reasons
+; possible values for dbx.colnames_case are
+; "unchanged" (default, if not set)
+; "lowercase"
+; "uppercase"
+; the recommended default is either upper- or lowercase, but
+; unchanged is currently set for backwards compatibility
+dbx.colnames_case = "unchanged"
+
+[bcmath]
+; Number of decimal digits for all bcmath functions.
+bcmath.scale = 0
+
+[browscap]
+;browscap = extra/browscap.ini
+
+[Informix]
+; Default host for ifx_connect() (doesn't apply in safe mode).
+ifx.default_host =
+
+; Default user for ifx_connect() (doesn't apply in safe mode).
+ifx.default_user =
+
+; Default password for ifx_connect() (doesn't apply in safe mode).
+ifx.default_password =
+
+; Allow or prevent persistent links.
+ifx.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ifx.max_persistent = -1
+
+; Maximum number of links (persistent + non-persistent).  -1 means no limit.
+ifx.max_links = -1
+
+; If on, select statements return the contents of a text blob instead of its id.
+ifx.textasvarchar = 0
+
+; If on, select statements return the contents of a byte blob instead of its id.
+ifx.byteasvarchar = 0
+
+; Trailing blanks are stripped from fixed-length char columns.  May help the
+; life of Informix SE users.
+ifx.charasvarchar = 0
+
+; If on, the contents of text and byte blobs are dumped to a file instead of
+; keeping them in memory.
+ifx.blobinfile = 0
+
+; NULL's are returned as empty strings, unless this is set to 1.  In that case,
+; NULL's are returned as string 'NULL'.
+ifx.nullformat = 0
+
+[Session]
+; Handler used to store/retrieve data.
+session.save_handler = files
+
+; Argument passed to save_handler.  In the case of files, this is the path
+; where data files are stored. Note: Windows users have to change this 
+; variable in order to use PHP's session functions.
+; As of PHP 4.0.1, you can define the path as:
+;     session.save_path = "N;/path"
+; where N is an integer.  Instead of storing all the session files in 
+; /path, what this will do is use subdirectories N-levels deep, and 
+; store the session data in those directories.  This is useful if you 
+; or your OS have problems with lots of files in one directory, and is 
+; a more efficient layout for servers that handle lots of sessions.
+; NOTE 1: PHP will not create this directory structure automatically.
+;         You can use the script in the ext/session dir for that purpose.
+; NOTE 2: See the section on garbage collection below if you choose to
+;         use subdirectories for session storage
+session.save_path = /php_sessions/
+
+; Whether to use cookies.
+session.use_cookies = 0
+
+; This option enables administrators to make their users invulnerable to
+; attacks which involve passing session ids in URLs; defaults to 0.
+; session.use_only_cookies = 1
+
+; Name of the session (used as cookie name).
+session.name = PHPSESSID
+
+; Initialize session on request startup.
+session.auto_start = 0
+
+; Lifetime in seconds of cookie or, if 0, until browser is restarted.
+session.cookie_lifetime = 0
+
+; The path for which the cookie is valid.
+session.cookie_path = /
+
+; The domain for which the cookie is valid.
+session.cookie_domain =
+
+; Handler used to serialize data.  php is the standard serializer of PHP.
+session.serialize_handler = php
+
+; Define the probability that the 'garbage collection' process is started
+; on every session initialization.
+; The probability is calculated by using gc_probability/gc_divisor,
+; e.g. 1/100 means there is a 1% chance that the GC process starts
+; on each request.
+
+; This is disabled in the Debian packages, due to the strict permissions
+; on /var/lib/php4.  Instead of setting this here, see the cronjob at
+; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
+session.gc_probability = 1
+session.gc_divisor     = 100
+
+; After this number of seconds, stored data will be seen as 'garbage' and
+; cleaned up by the garbage collection process.
+session.gc_maxlifetime = 1440
+
+; NOTE: If you are using the subdirectory option for storing session files
+;       (see session.save_path above), then garbage collection does *not*
+;       happen automatically.  You will need to do your own garbage 
+;       collection through a shell script, cron entry, or some other method. 
+;       For example, the following script would is the equivalent of
+;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
+;          cd /path/to/sessions; find -cmin +24 | xargs rm
+
+; PHP 4.2 and less have an undocumented feature/bug that allows you to
+; to initialize a session variable in the global scope, albeit register_globals
+; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
+; You can disable the feature and the warning separately. At this time,
+; the warning is only displayed, if bug_compat_42 is enabled.
+
+session.bug_compat_42 = 1
+session.bug_compat_warn = 1
+
+; Check HTTP Referer to invalidate externally stored URLs containing ids.
+; HTTP_REFERER has to contain this substring for the session to be
+; considered as valid.
+session.referer_check =
+
+; How many bytes to read from the file.
+session.entropy_length = 0
+
+; Specified here to create the session id.
+session.entropy_file =
+
+;session.entropy_length = 16
+
+;session.entropy_file = /dev/urandom
+
+; Set to {nocache,private,public,} to determine HTTP caching aspects
+; or leave this empty to avoid sending anti-caching headers.
+session.cache_limiter = nocache
+
+; Document expires after n minutes.
+session.cache_expire = 180
+
+; trans sid support is disabled by default.
+; Use of trans sid may risk your users security. 
+; Use this option with caution.
+; - User may send URL contains active session ID
+;   to other person via. email/irc/etc.
+; - URL that contains active session ID may be stored
+;   in publically accessible computer.
+; - User may access your site with the same session ID
+;   always using URL stored in browser's history or bookmarks.
+session.use_trans_sid = 0
+
+; The URL rewriter will look for URLs in a defined set of HTML tags.
+; form/fieldset are special; if you include them here, the rewriter will
+; add a hidden <input> field with the info which is otherwise appended
+; to URLs.  If you want XHTML conformity, remove the form entry.
+; Note that all valid entries require a "=", even if no value follows.
+url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
+
+[MSSQL]
+; Allow or prevent persistent links.
+mssql.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+mssql.max_persistent = -1
+
+; Maximum number of links (persistent+non persistent).  -1 means no limit.
+mssql.max_links = -1
+
+; Minimum error severity to display.
+mssql.min_error_severity = 10
+
+; Minimum message severity to display.
+mssql.min_message_severity = 10
+
+; Compatability mode with old versions of PHP 3.0.
+mssql.compatability_mode = Off
+
+; Connect timeout
+;mssql.connect_timeout = 5
+
+; Query timeout
+;mssql.timeout = 60
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textlimit = 4096
+
+; Valid range 0 - 2147483647.  Default = 4096.
+;mssql.textsize = 4096
+
+; Limits the number of records in each batch.  0 = all records in one batch.
+;mssql.batchsize = 0
+
+; Specify how datetime and datetim4 columns are returned
+; On => Returns data converted to SQL server settings
+; Off => Returns values as YYYY-MM-DD hh:mm:ss
+;mssql.datetimeconvert = On
+
+; Use NT authentication when connecting to the server
+mssql.secure_connection = Off
+
+; Specify max number of processes. Default = 25
+;mssql.max_procs = 25
+
+[Assertion]
+; Assert(expr); active by default.
+;assert.active = On
+
+; Issue a PHP warning for each failed assertion.
+;assert.warning = On
+
+; Don't bail out by default.
+;assert.bail = Off
+
+; User-function to be called if an assertion fails.
+;assert.callback = 0
+
+; Eval the expression with current error_reporting().  Set to true if you want
+; error_reporting(0) around the eval().
+;assert.quiet_eval = 0
+
+[Ingres II]
+; Allow or prevent persistent links.
+ingres.allow_persistent = On
+
+; Maximum number of persistent links.  -1 means no limit.
+ingres.max_persistent = -1
+
+; Maximum number of links, including persistents.  -1 means no limit.
+ingres.max_links = -1
+
+; Default database (format: [node_id::]dbname[/srv_class]).
+ingres.default_database =
+
+; Default user.
+ingres.default_user =
+
+; Default password.
+ingres.default_password =
+
+[Verisign Payflow Pro]
+; Default Payflow Pro server.
+pfpro.defaulthost = "test-payflow.verisign.com"
+
+; Default port to connect to.
+pfpro.defaultport = 443
+
+; Default timeout in seconds.
+pfpro.defaulttimeout = 30
+
+; Default proxy IP address (if required).
+;pfpro.proxyaddress =
+
+; Default proxy port.
+;pfpro.proxyport =
+
+; Default proxy logon.
+;pfpro.proxylogon =
+
+; Default proxy password.
+;pfpro.proxypassword =
+
+[com]
+; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
+;com.typelib_file = 
+; allow Distributed-COM calls
+;com.allow_dcom = true
+; autoregister constants of a components typlib on com_load()
+;com.autoregister_typelib = true
+; register constants casesensitive
+;com.autoregister_casesensitive = false
+; show warnings on duplicate constat registrations
+;com.autoregister_verbose = true
+
+[Printer]
+;printer.default_printer = ""
+
+[mbstring]
+; language for internal character representation.
+;mbstring.language = Japanese
+
+; internal/script encoding.
+; Some encoding cannot work as internal encoding.
+; (e.g. SJIS, BIG5, ISO-2022-*)
+;mbstring.internal_encoding = EUC-JP
+
+; http input encoding.
+;mbstring.http_input = auto
+
+; http output encoding. mb_output_handler must be
+; registered as output buffer to function
+;mbstring.http_output = SJIS
+
+; enable automatic encoding translation accoding to 
+; mbstring.internal_encoding setting. Input chars are
+; converted to internal encoding by setting this to On.
+; Note: Do _not_ use automatic encoding translation for
+;       portable libs/applications.
+;mbstring.encoding_translation = Off
+
+; automatic encoding detection order.
+; auto means 
+;mbstring.detect_order = auto
+
+; substitute_character used when character cannot be converted
+; one from another
+;mbstring.substitute_character = none;
+
+; overload(replace) single byte functions by mbstring functions.
+; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
+; etc. Possible values are 0,1,2,4 or combination of them.
+; For example, 7 for overload everything.
+; 0: No overload
+; 1: Overload mail() function
+; 2: Overload str*() functions
+; 4: Overload ereg*() functions
+mbstring.func_overload = 7
+
+[FrontBase]
+;fbsql.allow_persistent = On
+;fbsql.autocommit = On
+;fbsql.default_database = 
+;fbsql.default_database_password =
+;fbsql.default_host =
+;fbsql.default_password =
+;fbsql.default_user = "_SYSTEM"
+;fbsql.generate_warnings = Off
+;fbsql.max_connections = 128
+;fbsql.max_links = 128
+;fbsql.max_persistent = -1
+;fbsql.max_results = 128
+;fbsql.batchSize = 1000
+
+[Crack]
+; Modify the setting below to match the directory location of the cracklib
+; dictionary files.  Include the base filename, but not the file extension.
+; crack.default_dictionary = "c:\php\lib\cracklib_dict"
+
+[exif]
+; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
+; With mbstring support this will automatically be converted into the encoding
+; given by corresponding encode setting. When empty mbstring.internal_encoding 
+; is used. For the decode settings you can distinguish between motorola and 
+; intel byte order. A decode setting cannot be empty.
+;exif.encode_unicode = ISO-8859-15
+;exif.decode_unicode_motorola = UCS-2BE
+;exif.decode_unicode_intel    = UCS-2LE
+;exif.encode_jis = 
+;exif.decode_jis_motorola = JIS
+;exif.decode_jis_intel    = JIS
+
+; Local Variables:
+; tab-width: 4
+; End:
+extension=ldap.so
+extension=pgsql.so
+extension=imap.so
+extension=gd.so
Index: /sandbox/doc-expressolivre/arquivos/scripts/imap.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/imap.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/imap.sh	(revision 2245)
@@ -0,0 +1,23 @@
+
+# CYRUS
+cyrus () {
+	cp ./arqs-conf-rhel5/etc/imapd.conf /etc/
+	cp ./arqs-conf-rhel5/etc/cyrus.conf /etc/
+	sed -e "s/LDAP_DN/$LDAP_DN/g" ./arqs-conf-rhel5/etc/saslauthd.conf > /etc/saslauthd.conf
+	cp ./arqs-conf-rhel5/etc/sysconfig/saslauthd /etc/sysconfig/
+	cp -p ./arqs-conf-rhel5/usr/bin/cyradm_expresso /usr/bin/
+
+# Por algum motivo, ainda desconhecido para mim, esta chamada nÃ£o Ã© executada corretamente dentro da funÃ§Ã£o "cyrus"
+./arqs-conf-rhel5/cyrus.pl $LDAP_PWD
+
+	service saslauthd restart
+	chkconfig saslauthd on
+	sleep 4
+
+	service cyrus-imapd restart
+	chkconfig cyrus-imapd on
+
+	#./arqs-conf-rhel5/cyrus.pl $LDAP_PWD
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/scripts/php.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/php.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/php.sh	(revision 2245)
@@ -0,0 +1,20 @@
+
+# Especifico para instalacao do PHP de pacotes de terceiros, nao oficiais da distribuicao
+pacotes_php () {
+	dialog --yesno 'Os pacotes do PHP disponÃ­veis nesta distribuiÃ§Ã£o possuem versÃµes inferiores Ã s requisitadas pelo Expresso. O Expresso necessita do PHP-5.2.1 ou superior.\nPorÃ©m, este script poderÃ¡ configurar automaticamente um repositÃ³rio externo, de terceiros e sem suporte (neste caso, o REMI-Enterprise), para instalar versÃµes mais recentes do PHP.\n\nA equipe do Expresso Livre recomenda o uso deste repositÃ³rio e a instalaÃ§Ã£o dos novos pacotes, porÃ©m, nÃ£o nos responsabilizamos por qualquer dano. Caso vocÃª nÃ£o utilize os pacotes mais recentes do PHP, o Expresso nÃ£o irÃ¡ funcionar corretamente!!\n\nVocÃª deseja prosseguir, por sua conta e risco, a instalaÃ§Ã£o do PHP mais recente?' 20 70
+	# yes
+	if [ $? = 0 ]
+	then
+		# Utiliza o repositorio do Remi, que possui (em 10/09/09) o php-5.3.0
+		# http://blog.famillecollet.com/pages/Config-en
+		rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
+		wget http://rpms.famillecollet.com/remi-enterprise.repo -O /etc/yum.repos.d/remi-enterprise.repo
+		# Atualiza os pacotes...
+		yum --enablerepo=remi install php php-cli php-ldap php-pgsql php-imap php-mbstring php-gd libtool
+	else
+			
+		dialog --infobox 'Ok! A versÃ£o mais recente do PHP nÃ£o foi instalada!' 0 0
+	fi
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/scripts/http.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/http.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/http.sh	(revision 2245)
@@ -0,0 +1,39 @@
+
+# APACHE
+
+http-debian-etch ()
+{
+	http-debian-lenny
+}
+
+http-debian-lenny ()
+{
+	apt-get install -y apache2-mpm-prefork libapache2-mod-php5 apache2-utils php5 php5-common php5-dev php5-gd php5-imap php5-ldap php5-pgsql php5-cgi php5-cli
+	# Copia os arquivos do Expresso Livre	
+	expresso
+	chown -R www-data:www-data /var/www/expresso /home/expressolivre
+
+	# Copia a configuraÃ§Ã£o do servidor http
+	cp ./arqs-conf-rhel5/etc/httpd/conf/httpd.conf /etc/httpd/conf/
+	cp ./arqs-conf-rhel5/etc/httpd/conf.d/expresso.conf /etc/httpd/conf.d/
+	cp ./arqs-conf-rhel5/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/
+	cp ./arqs-conf-rhel5/etc/php.ini /etc/
+
+
+	#mkdir /php_sessions/ || { echo "DiretÃ³rio jÃ¡ existe. [OK]"; }
+	#chmod -R 777 /php_sessions/
+
+	service httpd restart
+	chkconfig httpd on
+}
+
+expresso ()
+{
+	cp -a `dirname `pwd`` /var/www/
+		
+	#TODO: Verificar erro:
+	sed -e "s/HEADER_PWD/$HEADER_PWD/g" ./generico/header.inc.php > /var/www/expresso/header.inc.php
+
+	mkdir /home/expressolivre
+	cp ./generico/home/expressolivre/* /home/expressolivre/
+}
Index: /sandbox/doc-expressolivre/arquivos/scripts/ini.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/ini.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/ini.sh	(revision 2245)
@@ -0,0 +1,36 @@
+
+ini_debian-etch ()
+{
+	ini_debian-lenny
+}
+
+ini_debian-lenny ()
+{
+	#set -e # Para caso de erro
+
+	# Realiza o update do APT
+	#aptitude update || { echo "Falha ao atualizar o APT!"; exit 1; }
+
+	# Instala o dialog e debconf-utils
+	#aptitude -y install debconf-utils || { echo "Falha ao instalar o pacote do debconf-utils!" ; exit 1; }
+
+	# Mudamos o debconf para critical, para que nÃ£o sejam feitas perguntas desnecessÃ¡rias.
+	#debconf-set-selections $ARQS/debconf.critical
+	# NAO PEGA VARIAVEIS DO ARQUIVO PRINCIPAL
+	echo "Teste: $ARQUIVOS"
+}
+
+ini_rhel5 ()
+{
+
+}
+
+ini_sles10 ()
+{
+	ini_sles11
+}
+
+ini_sles11 ()
+{
+
+}
Index: /sandbox/doc-expressolivre/arquivos/scripts/ldap.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/ldap.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/ldap.sh	(revision 2245)
@@ -0,0 +1,20 @@
+
+# OPENLDAP
+ldap () {
+	service ldap stop
+
+	rm -rf /var/lib/ldap/*
+	sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD_MD5/$LDAP_PWD_MD5/g" ./arqs-conf-rhel5/etc/openldap/slapd.conf > /etc/openldap/slapd.conf
+	cp ./arqs-conf-rhel5/etc/openldap/schema/* /etc/openldap/schema/
+	cp ./arqs-conf-rhel5/etc/openldap/DB_CONFIG /var/lib/ldap/
+	sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD_MD5/$LDAP_PWD_MD5/g" -e "s/ORG/$ORG/g" -e "s/DOMAIN/$DOMAIN/g" -e "s/LDAP_DC/$LDAP_DC/g" ./arqs-conf-rhel5/expresso.ldif > /tmp/expresso.ldif
+	slapadd -v -l /tmp/expresso.ldif
+	chown -R ldap.ldap /var/lib/ldap/
+
+	service ldap start
+	chkconfig ldap on
+
+	rm /tmp/expresso.ldif
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/scripts/tmp.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/tmp.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/tmp.sh	(revision 2245)
@@ -0,0 +1,62 @@
+pacotes ()
+{
+	# Instala os pacotes necessarios
+	dialog --yesno 'Deseja que o script instale automaticamente os pacotes disponÃ­veis desta distribuiÃ§Ã£o?' 7 70
+	# yes
+	if [ $? = 0 ]
+	then
+		dialog                                         					\
+			--title 'Aguarde'                           				\
+			--infobox '\nVerificando a instalaÃ§Ã£o dos pacotes necessÃ¡rios...'  	\
+			0 0
+			pacotes_debian
+	else
+		dialog				\
+   		--title 'Aviso'			\
+	   	--yesno 'Ok, nÃ£o serÃ¡ realizada a instalaÃ§Ã£o dos pacotes e isso poderÃ¡ fazer como que o Expresso Livre nÃ£o funcione!!!\n\nDeseja continuar assim mesmo?' \
+   		10 40
+		# no, sai do script
+		[ $? = 1 ] && exit 1
+	fi
+}
+
+pacotes_debian ()
+{
+	apt-get install -y apache2-mpm-prefork libapache2-mod-php5 apache2-utils php5 php5-common php5-dev php5-gd php5-imap php5-ldap php5-pgsql php5-cgi php5-cli \
+			    slapd ldap-utils db4.2-util \
+			    cyrus-admin-2.2 cyrus-clients-2.2 cyrus-common-2.2 cyrus-doc-2.2 cyrus-imapd-2.2 libcyrus-imap-perl22 \
+			    postfix postfix-ldap libsasl2-2 libsasl2-modules sasl2-bin nmap vim libmail-imapclient-perl libparse-recdescent-perl libterm-readkey-perl libterm-readline-perl-perl zip unzip graphviz lsb-base openssl ssl-cert || { echo "ImpossÃ­vel continuar, erro no nome dos pacotes"; exit 1; }
+
+}
+
+
+LC_TELEPHONE=pt_BR.UTF-8
+LC_CTYPE=pt_BR.UTF-8
+LANGUAGE=pt_BR:pt_PT:pt
+LC_MONETARY=pt_BR.UTF-8
+LC_ADDRESS=pt_BR.UTF-8
+LC_COLLATE=pt_BR.UTF-8
+LC_PAPER=pt_BR.UTF-8
+LC_NAME=pt_BR.UTF-8
+LC_NUMERIC=pt_BR.UTF-8
+SYSFONT=lat1-16
+LC_MEASUREMENT=pt_BR.UTF-8
+LC_TIME=pt_BR.UTF-8
+LANG=pt_BR.UTF-8
+LC_IDENTIFICATION=pt_BR.UTF-8
+LC_MESSAGES=pt_BR.UTF-8
+
+export LC_TELEPHONE LC_CTYPE LANGUAGE LC_MONETARY LC_ADDRESS LC_COLLATE LC_PAPER LC_NAME LC_NUMERIC SYSFONT LC_MEASUREMENT LC_TIME LANG LC_IDENTIFICATION LC_MESSAGES
+
+# Outros
+outros () {
+	# Deixa o SELinux permissivo
+	cp -f ./arqs-conf-rhel5/etc/selinux/config /etc/selinux/config
+	setenforce 0
+	# Desativa o sendmail
+	service sendmail stop
+	chkconfig --del sendmail
+	yum -y erase sendmail
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/scripts/smtp.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/smtp.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/smtp.sh	(revision 2245)
@@ -0,0 +1,14 @@
+
+# POSTFIX
+postfix () {
+	sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/DOMAIN/$DOMAIN/g" ./arqs-conf-rhel5/etc/postfix/main.cf > /etc/postfix/main.cf
+	sed -e "s/DOMAIN/$DOMAIN/g" ./arqs-conf-rhel5/etc/postfix/expresso-dominios > /etc/postfix/expresso-dominios
+	#cp ./arqs-conf-rhel5/etc/postfix/master.cf /etc/postfix/
+
+	postmap /etc/postfix/expresso-dominios
+
+	service postfix restart
+	chkconfig postfix on
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/scripts/bd.sh
===================================================================
--- /sandbox/doc-expressolivre/arquivos/scripts/bd.sh	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/scripts/bd.sh	(revision 2245)
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# POSTGRES
+postgres () {
+	service postgresql stop
+	service postgresql start
+	sleep 3
+	service postgresql stop
+
+	cp -f ./arqs-conf-rhel5/var/lib/pgsql/data/postgresql.conf /var/lib/pgsql/data/
+	cp -f ./arqs-conf-rhel5/var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/
+
+	service postgresql start
+
+	su - postgres -c 'dropdb expresso'  || { echo "Banco expresso nÃ£o existia. [OK]"; }
+	su - postgres -c 'createdb -E LATIN1 expresso'  || { echo "Problemas na criaÃ§Ã£o do banco expresso. [Falhou]"; exit 1;}
+
+	sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD/$LDAP_PWD/g" -e "s/ORG/$ORG/g" -e "s/DOMAIN/$DOMAIN/g" ./arqs-conf-rhel5/expresso.dump > /tmp/expresso.dump
+
+	service postgresql start
+	chkconfig postgresql on
+
+	su - postgres -c 'psql -f /tmp/expresso.dump expresso'
+
+	rm /tmp/expresso.dump
+}
+
+
Index: /sandbox/doc-expressolivre/arquivos/home/expressolivre/imapsync
===================================================================
--- /sandbox/doc-expressolivre/arquivos/home/expressolivre/imapsync	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/home/expressolivre/imapsync	(revision 2245)
@@ -0,0 +1,1358 @@
+#!/usr/bin/perl -w
+
+=head1 NAME 
+
+imapsync - IMAP synchronization, copy or migration
+tool. Synchronize mailboxes between two imap servers. Good
+at IMAP migration.
+
+$Revision: 1.156 $
+
+=head1 INSTALL
+
+ imapsync works fine under any Unix OS.
+ imapsync works fine under Windows 2000 (at least) and ActiveState's 5.8 Perl
+
+ Get imapsync at
+ http://www.linux-france.org/prj/imapsync/dist/
+
+ You'll find a compressed tarball called imapsync-x.xx.tgz
+ where x.xx is the version number. Untar the tarball where
+ you want :
+
+ tar xzvf  imapsync-x.xx.tgz
+
+ Go into the directory imapsync-x.xx and read the INSTALL
+ file.
+
+ The freshmeat record is http://freshmeat.net/projects/imapsync/
+
+=head1 SYNOPSIS
+
+  imapsync [options]
+
+  imapsync --help
+  imapsync
+
+  imapsync [--host1 server1]  [--port1 <num>]
+           [--user1 <string>] [--passfile1 <string>]
+           [--host2 server2]  [--port2 <num>]
+           [--user2 <string>] [--passfile2 <string>]
+           [--noauthmd5]
+           [--folder <string> --folder <string> ...]
+           [--include <regex>] [--exclude <regex>]
+           [--prefix2 <string>] [--prefix1 <string>] 
+           [--regextrans2 <regex> --regextrans2 <regex> ...]
+           [--sep1 <char>]
+           [--sep2 <char>]
+           [--justfolders] [--justfoldersizes] [--justconnect]
+           [--syncinternaldates]
+           [--buffersize  <int>]
+           [--syncacls]
+           [--regexmess <regex>] [--regexmess <regex>]
+           [--maxsize <int>]
+           [--maxage <int>]
+           [--minage <int>]
+           [--skipheader <regex>]
+           [--useheader <string>] [--useheader <string>]
+           [--skipsize]
+           [--delete] [--expunge] [--expunge1] [--expunge2]
+           [--subscribed] [--subscribe]
+           [--nofoldersizes]
+           [--dry]
+           [--debug] [--debugimap]
+           [--timeout <int>] [--fast]
+           [--version] [--help]
+  
+=cut
+# comment
+=pod
+
+=head1 DESCRIPTION
+
+The command imapsync is a tool allowing incremental and recursive
+imap transfer from one mailbox to another.
+
+We sometimes need to transfer mailboxes from one imap server to
+another. This is called migration.
+
+imapsync is the adequate tool because it reduces the amount
+of data transfered by not transfering a given message if it
+is already on both sides. Same headers, same message size
+and the transfert is done only once. All flags are
+preserved, unread will stay unread, read will stay read,
+deleted will stay deleted. You can stop the transfert at any
+time and restart it later, imapsync is adapted to a bad
+connection.
+
+You can decide to delete the messages from the source mailbox
+after a successful transfert (it is a good feature when migrating).
+In that case, use the --delete --expunge1 options.
+
+You can also just synchronize a mailbox A from another mailbox B
+in case you just want to keep a "live" copy of B in A.
+
+=head1 OPTIONS
+
+Invoke: imapsync --help
+
+=head1 HISTORY
+
+I wrote imapsync because an enterprise (basystemes) paid me to install
+a new imap server without loosing huge old mailboxes located on a far
+away remote imap server accessible by a low bandwith link. The tool
+imapcp (written in python) could not help me because I had to verify
+every mailbox was well transfered and delete it after a good
+transfert. imapsync started its life being a copy_folder.pl patch.
+The tool copy_folder.pl comes from the Mail-IMAPClient-2.1.3 perl
+module tarball source (in the examples/ directory of the tarball).
+
+=head1 EXAMPLE
+
+While working on imapsync parameters please run imapsync in
+dry mode (no modification induced) with the --dry
+option. Nothing bad can be done this way.
+
+To synchronize the imap account "buddy" on host
+"imap.src.fr" to the imap account "max" on host
+"imap.dest.fr" (the passwords are located in too files
+"/etc/secret1" for "buddy", "/etc/secret2" for "max") :
+
+ imapsync --host1 imap.src.fr  --user1 buddy --passfile1 /etc/secret1 \
+          --host2 imap.dest.fr --user2 max   --passfile2 /etc/secret2
+
+Then, you will have buddy's mailbox updated from max's
+mailbox.
+
+=head1 SECURITY
+
+You can use --password1 instead of --passfile1 to give the
+password but it is dangerous because any user on your host
+can see the password by using the 'ps auxwwww'
+command. Using a variable (like $PASSWORD1) is also
+dangerous because of the 'ps auxwwwwe' command. So, saving
+the password in a well protected file (600 or rw-------) is
+the best solution.
+
+imasync is not protected against sniffers on the network so
+the passwords are in plain text.
+
+=head1 EXIT STATUS
+
+imapsync will exit with a 0 status (return code) if everything went good.
+Otherwise, it exits with a non-zero status.
+
+So if you have a buggy internet connection, you can use this loop 
+in a Bourne shell:
+
+        while ! imapsync ...; do 
+              echo imapsync not complete
+        done
+
+=head1 AUTHOR
+
+Gilles LAMIRAL <lamiral@linux-france.org>
+
+Feedback good or bad is always welcome. The first you send
+me an email you will receive a confirmation request before I
+really read your message.
+
+The newsgroup comp.mail.imap is a good place to talk about
+imapsync. I read it when imapsync is concerned.
+
+=head1 LICENSE
+
+imapsync is free, gratis and open source software cover by
+the GNU General Public License. See the GPL file included in
+the distribution or the web site
+http://www.gnu.org/licenses/licenses.html
+
+=head1 BUGS
+
+No known serious bug.
+
+Multiple copies: Multiple copies of the emails on the
+destination server. Some IMAP servers (Domino for example)
+add some headers for each message transfered. The message is
+transfered again and again each time you run imapsync. This
+is bad of course. The explanation is that imapsync considers
+the message is not the same since headers have changed (one
+line added) and size too (the header part). You can look at
+the headers found by imapsync by using the --debug option
+(and search for the message on both part). The way to avoid
+this problem is by using options --skipheader and
+--skipsize, like this (avoid headers beginning whith X-):
+
+ imapsync ... --skipheader '^X-' --skipsize
+
+You can use --skipheader only one time; if you need to skip
+several different headers use the "or" perl regex caracter
+which is "|". Example:
+
+ imapsync ... --skipheader '^X-|^Status|^Bcc'
+
+Flags : with some IMAP servers the flags are not very well
+copied the first time.  Run imapsync twice if you want the
+flags set correctly.  (fixed since 1.28 release but wait for
+a time before removing those lines)
+
+Report any bugs to the author.
+
+=head1 IMAP SERVERS
+
+Failure stories reported with the following imap servers :
+
+ - MailEnable 1.54 (Proprietary) http://www.mailenable.com/
+ - DBMail 2.0.7 (GPL). But DBMail 1.2.1 works.
+   Patient and confident testers are welcome.
+
+Success stories reported with the following imap servers 
+(softwares names are in alphabetic order) : 
+
+ - BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
+ - CommunicatePro server (Redhat 8.0)
+ - Courier IMAP 1.5.1, 2.2.0, 2.1.1, 2.2.1 (GPL) 
+   (http://www.courier-mta.org/)
+ - Critical Path (7.0.020)
+ - Cyrus IMAP 1.5, 1.6, 2.1, 2.1.15, 2.1.16, 2.1.18 
+   2.2.1, 2.2.2-BETA, 2.2.10, 2.2.12, 2.3-alpha (OSI Approved)
+   (http://asg.web.cmu.edu/cyrus/)
+ - DBMail 1.2.1 (GPL) (http://www.dbmail.org/). 2.0.7 seems buggy.
+ - Dovecot 0.99.10.4  0.99.14 (LGPL) (http://www.dovecot.org/)
+ - Domino (Notes) 6.5, 5.0.6, 5.0.7
+ - Groupwise IMAP (Novell). Buggy so see the FAQ.
+ - iPlanet Messaging server 4.15, 5.1
+ - IMail 7.15 (Ipswitch/Win2003), 8.12
+ - MDaemon 7.0.1, 8.1
+ - MS Exchange Server 5.5
+ - Netscape Mail Server 3.6 (Wintel !)
+ - Netscape Messaging Server 4.15 Patch 7
+ - OpenWave
+ - Qualcomm Worldmail (NT)
+ - Samsung Contact IMAP server 8.5.0
+ - SunONE Messaging server 5.2, 6.0 (SUN JES - Java Enterprise System)
+ - UW-imap servers (imap-2000b) rijkkramer IMAP4rev1 2000.287
+   (RedHat uses UW like 2003.338rh) (OSI Approved) 
+   (http://www.washington.edu/imap/)
+ - UW - QMail v2.1
+
+Please report to the author any success or bad story with
+imapsync and don't forget to mention the IMAP server
+software names and version on both sides. This will help
+future users. To help the author maintaining this section
+report the two lines at the begining of the output if they
+are useful to know the softwares. Example:
+
+ From software :* OK louloutte Cyrus IMAP4 v1.5.19 server ready
+ To   software :* OK Courier-IMAP ready
+
+You can use option --justconnect to get those lines.
+Example :
+
+  imapsync --host1 imap.troc.org --host2 imap.trac.org --justconnect
+
+And please rate imapsync at http://freshmeat.net/projects/imapsync/
+
+=head1 HUGE MIGRATION
+
+
+Have a special attention on options 
+--subscribed
+--subscribe
+--delete
+--expunge
+--expunge1
+--expunge2
+--maxage
+--minage
+--maxsize
+--useheader
+
+If you have many mailboxes to migrate think about a little
+shell program. Write a file called file.csv (for example)
+containing users and passwords.
+The separator used in this example is ';'
+
+The file.csv file content is :
+
+user0001;password0001;user0002;password0002
+user0011;password0011;user0012;password0012
+...
+
+And the shell program is just :
+
+ { while IFS=';' read  u1 p1 u2 p2; do 
+	imapsync --user1 "$u1" --password1 "$p1" --user2 "$u2" --password2 "$p2" ...
+ done ; } < file.csv
+
+Welcome in shell programming !
+
+=head1 Hacking
+
+Feel free to hack imapsync as the GPL Licence permits it.
+
+=head1 Links
+
+Entries for imapsync:
+  http://www.imap.org/products/showall.php
+
+
+=head1 SIMILAR SOFTWARES
+
+  imap_tools  : http://www.athensfbc.com/imap_tools
+  offlineimap : http://gopher.quux.org:70/devel/offlineimap/
+  mailsync    : http://mailsync.sourceforge.net/
+  imapxfer    : http://www.washington.edu/imap/
+                part of the imap-utils from UW.
+  mailutil    : replace imapxfer in 
+                part of the imap-utils from UW.
+		http://www.gsp.com/cgi-bin/man.cgi?topic=mailutil
+  imaprepl    : http://www.bl0rg.net/software/
+                http://freshmeat.net/projects/imap-repl/
+  imap_migrate: http://freshmeat.net/projects/imapmigration/
+  imapcopy    : http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html
+  migrationtool http://sourceforge.net/projects/migrationtool/
+  pop2imap    : http://www.linux-france.org/prj/pop2imap/
+
+Feedback (good or bad) will be always welcome.
+
+=head1 AUTHOR
+
+Gilles LAMIRAL earn his living writing, installing,
+configuring and teaching free open and gratis
+softwares. Don't hesitate to pay him for that services.
+
+$Id: imapsync,v 1.156 2006/03/02 03:14:12 gilles Exp gilles $
+
+=cut
+
+
+++$|;
+use strict;
+use Getopt::Long;
+use Mail::IMAPClient;
+use Digest::MD5  qw(md5_base64);
+use Term::ReadKey;
+#use Digest::HMAC_MD5;
+
+eval { require 'usr/include/sysexits.ph' };
+
+
+my(
+        $rcs, $debug, $debugimap, $error,
+	$host1, $host2, $port1, $port2,
+	$user1, $user2, $password1, $password2, $passfile1, $passfile2,
+        @folder, $include, $exclude, 
+        $prefix1, $prefix2, 
+        @regextrans2, @regexmess,
+        $sep1, $sep2,
+	$syncinternaldates, $syncacls,
+        $fastio1, $fastio2, 
+	$maxsize, $maxage, $minage, 
+        $skipheader, @useheader,
+        $skipsize, $foldersizes, $buffersize,
+	$delete, $expunge, $expunge1, $expunge2, $dry,
+        $justfoldersizes,
+        $authmd5,
+        $subscribed, $subscribe,
+	$version, $VERSION, $help, 
+        $justconnect, $justfolders,
+        $fast,
+        $mess_size_total_trans,
+        $mess_size_total_skipped,
+        $mess_size_total_error,
+        $mess_trans, $mess_skipped,
+        $timeout,   # whr (ESS/PRW)
+	$timestart, $timeend, $timediff,
+        $timesize, $timebefore,
+);
+
+use vars qw ($opt_G); # missing code for this will be option.
+
+
+$rcs = ' $Id: imapsync,v 1.156 2006/03/02 03:14:12 gilles Exp gilles $ ';
+$rcs =~ m/,v (\d+\.\d+)/;
+$VERSION = ($1) ? $1 : "UNKNOWN";
+
+my $VERSION_IMAPClient = $Mail::IMAPClient::VERSION;
+
+check_lib_version() or 
+  die "Upgrade perl lib Mail::IMAPClient to release 2.2.9 at least\n";
+
+
+$mess_size_total_trans   = 0;
+$mess_size_total_skipped = 0;
+$mess_size_total_error   = 0;
+$mess_trans = $mess_skipped = 0;
+
+
+sub check_lib_version {
+	# I know this is ugly, I should write a sort function
+	if ($VERSION_IMAPClient =~ m/(\d+)\.(\d+)\.(\d+)/) {
+		$debug and print "VERSION_IMAPClient $1 $2 $3\n";
+		my($major,$minor,$sub) = ($1, $2, $3);
+		
+		return(1) if($major >=3);
+		return(0) if($major <=1);
+		return(1) if($minor >=3);
+		return(0) if($minor <=1);
+		return(1) if($sub >=8);
+		return(0) if($sub <=7);
+	}else{
+		return 0; # don't match regex => bad
+	}
+}
+
+$error=0;
+
+my $banner = join("", 
+		  '$RCSfile: imapsync,v $ ',
+		  '$Revision: 1.156 $ ',
+		  '$Date: 2006/03/02 03:14:12 $ ',
+		  "\n",
+		  "Mail::IMAPClient version used here is ",
+		  $VERSION_IMAPClient,"\n"
+		 );
+
+unless(defined(&_SYSEXITS_H)) {
+	# 64 on my linux box.
+	eval 'sub EX_USAGE () {64;}' unless defined(&EX_USAGE);
+}
+
+get_options();
+print $banner;
+
+sub missing_option {
+	my ($option) = @_;
+	die "$option option must be used, run $0 --help for help\n";
+}
+
+$host1 || missing_option("--host1") ;
+$port1 = (defined($port1)) ? $port1 : 143;
+
+$host2 || missing_option("--host2") ;
+$port2 = (defined($port2)) ? $port2 : 143;
+
+sub connect_imap {
+	my($host, $port, $debugimap) = @_;
+	my $imap = Mail::IMAPClient->new();
+	$imap->Server($host);
+	$imap->Port($port);
+	$imap->Debug($debugimap);
+	$imap->connect()
+	  or die "Can not open imap connection on [$host] : $@\n";	
+}
+
+if ($justconnect) {
+	my $from = ();
+	my $to = ();
+	
+	$from = connect_imap($host1, $port1);
+	print "From software : ", ($from->Report())[0];
+	print "From capability : ", join(" ", $from->capability()), "\n";
+	$to   = connect_imap($host2, $port2);
+	print "To   software : ", ($to->Report())[0];
+	print "To   capability : ", join(" ", $to->capability()), "\n";
+	$from->logout();
+	$to->logout();
+	exit(0);
+}
+	
+
+$user1 || missing_option("--user1");
+$user2 || missing_option("--user2");
+
+$authmd5 = (defined($authmd5)) ? $authmd5 : 1;
+
+$syncacls = (defined($syncacls)) ? $syncacls : 0;
+$foldersizes = (defined($foldersizes)) ? $foldersizes : 1;
+
+$fastio1 = (defined($fastio1)) ? $fastio1 : 1;
+$fastio2 = (defined($fastio2)) ? $fastio2 : 1;
+
+
+@useheader = ("ALL") unless (@useheader);
+
+print "From imap server [$host1] port [$port1] user [$user1]\n";
+print "To   imap server [$host2] port [$port2] user [$user2]\n";
+
+$password1 || $passfile1 || do {
+	print "What's the password for $user1\@$host1? ";
+	ReadMode 2;
+	$password1 = <>; chop $password1;
+	printf "\n"; ReadMode 0;
+};
+
+$password1 = (defined($passfile1)) ? firstline ($passfile1) : $password1;
+
+$password2 || $passfile2 || do {
+	print "What's the password for $user2\@$host2? ";
+	ReadMode 2;
+	$password2 = <>; chop $password2;
+	printf "\n"; ReadMode 0;
+};
+$password2 = (defined($passfile2)) ? firstline ($passfile2) : $password2;
+
+my $from = ();
+my $to = ();
+
+my $authmech = "CRAM-MD5";
+
+
+$timestart = time();
+$timebefore = $timestart;
+
+$fastio1 = 1;
+$fastio2 = 1;
+
+$debugimap and print "From connection\n";
+$from = login_imap($host1, $port1, $user1, $password1, $debugimap, $timeout, $fastio1);
+
+$debugimap and print "To  connection\n";
+$to = login_imap($host2, $port2, $user2, $password2, $debugimap, $timeout, $fastio2);
+
+# No history
+$from->Clear(2);
+$to->Clear(2);
+
+$debug and print "From Buffer I/O : ", $from->Buffer(), "\n";
+$debug and print "To   Buffer I/O : ", $to->Buffer(), "\n";
+
+	
+
+sub login_imap {
+	my($host, $port, $user, $password, 
+	   $debugimap, $timeout, $fastio) = @_;
+	my $imap = Mail::IMAPClient->new();
+	$imap->Server($host);
+	$imap->Port($port);
+	$imap->Fast_io($fastio);
+	$imap->Buffer($buffersize || 4096);
+	$imap->Uid(1);
+	$imap->Peek(1);
+	$imap->Debug($debugimap);
+	$imap->connect()
+	  or die "Can not open imap connection on [$host] with user [$user] : $@\n";
+	if ($timeout)    # whr (ESS/PRW)
+	  {
+		  $imap->Timeout($timeout);
+		  print "Setting imap timeout to $timeout\n";
+	  }
+
+	$imap->User($user);
+	$imap->Password($password);
+	md5auth($imap);
+	$imap->login() or die "Error login : [$host] with user [$user] : $@";
+	return($imap);
+}
+
+
+sub md5auth() {
+	my ($imap) = @_;
+	
+	unless ($authmd5) {
+		print "$authmech not wanted by you\n";
+		return;
+	}
+	if ($imap->has_capability($authmech) 
+	    or $imap->has_capability("AUTH=$authmech")) {
+		print "Server [", $imap->Server, 
+		  "] has capability $authmech\n";
+	}else{
+		print "Server [", $imap->Server, 
+		  "] has NOT capability $authmech\n";
+		return;
+	}
+	#print "EE", $imap->Authmechanism(), "\n";
+	if ($imap->Authmechanism($authmech)) {
+		print "Using $authmech authentification\n";
+	}else{
+		$imap->Authmechanism(undef);
+		print "Can NOT use $authmech authentification, using plain\n";
+	}
+	return;
+}
+
+
+
+
+print "From software : ", ($from->Report())[0];
+print "To   software : ", ($to->Report())[0];
+
+print "From capability : ", join(" ", $from->capability()), "\n";
+print "To   capability : ", join(" ", $to->capability()), "\n";
+
+die unless $from->IsAuthenticated();
+die unless   $to->IsAuthenticated();
+
+my (@f_folders, @t_folders, %fs_folders);
+
+# Make a hash of subscribed folders in source server.
+map { $fs_folders{$_}=1 } $from->subscribed();
+
+
+
+
+if (scalar(@folder)) {
+	# folders given by option --folder
+	@f_folders = @folder;
+}elsif ($subscribed) {
+	# option --subscribed
+	@f_folders = sort keys (%fs_folders);
+}else {
+	# no option, all folders
+	@f_folders = sort $from->folders();
+	# consider (optional) includes and excludes
+	if ($include) {
+		@f_folders = grep  /$include/,@f_folders;
+		print "Only including folders matching pattern '$include'\n";
+	}
+	if ($exclude) {
+		@f_folders = grep !/$exclude/,@f_folders;
+		print "Excluding folders matching pattern '$exclude'\n";
+	}
+}
+
+@t_folders = sort @{$to->folders()};
+
+my($f_sep,$t_sep); 
+# what are the private folders separators for each server ?
+
+
+$debug and print "Getting separators\n";
+$f_sep = get_separator($from, $sep1, "--sep1");
+$t_sep = get_separator($to, $sep2, "--sep2");
+
+#my $f_namespace = $from->namespace();
+#my $t_namespace = $to->namespace();
+#$debug and print "From namespace:\n", Data::Dumper->Dump([$f_namespace]);
+#$debug and print "To   namespace:\n", Data::Dumper->Dump([$t_namespace]);
+
+my($f_prefix,$t_prefix); 
+$f_prefix = get_prefix($from, $prefix1, "--prefix1");
+$t_prefix = get_prefix($to, $prefix2, "--prefix2");
+
+sub get_prefix {
+	my($imap, $prefix_in, $prefix_opt) = @_;
+	my($prefix_out);
+	
+	$debug and print "Getting prefix namespace\n";
+	if (defined($prefix_in)) {
+		print "Using [$prefix_in] given by $prefix_opt\n";
+		$prefix_out = $prefix_in;
+		return($prefix_out);
+	}
+	$debug and print "Calling namespace capability\n";
+	if ($imap->has_capability("namespace")) {
+		my $r_namespace = $imap->namespace();
+		$prefix_out = $r_namespace->[0][0][0];
+		return($prefix_out);
+	}else{
+		print 
+		  "No NAMESPACE capability in imap server ", 
+		    $imap->Server(),"\n",
+		      "Give the prefix namespace with the $prefix_opt option\n";
+		exit(1);
+	}
+}
+
+
+sub get_separator {
+	my($imap, $sep_in, $sep_opt) = @_;
+	my($sep_out);
+	
+	
+	if ($sep_in) {
+		print "Using [$sep_in] given by $sep_opt\n";
+		$sep_out = $sep_in;
+		return($sep_out);
+	}
+	$debug and print "Calling namespace capability\n";
+	if ($imap->has_capability("namespace")) {
+		$sep_out = $imap->separator();
+		return($sep_out);
+	}else{
+		print 
+		  "No NAMESPACE capability in imap server ", 
+		    $imap->Server(),"\n",
+		      "Give the separator caracter with the $sep_opt option\n";
+		exit(1);
+	}
+}
+
+
+print "From separator and prefix : [$f_sep][$f_prefix]\n";
+print "To   separator and prefix : [$t_sep][$t_prefix]\n";
+
+
+sub foldersizes {
+
+	my ($side, $imap, $folders_r) = @_;
+	my $tot = 0;
+	my $tmess = 0;
+	my @folders = @{$folders_r};
+	print "++++ Calculating sizes ++++\n";
+	foreach my $folder (@folders)     {
+		my $stot = 0;
+		my $smess = 0;
+		printf("$side Folder %-35s", "[$folder]");
+		unless ($imap->select($folder)) {
+			warn 
+			  "$side Folder $folder : Could not select ",
+			    $imap->LastError,  "\n";
+			$error++;
+			next;
+		}
+		if (defined($maxage) or defined($minage)) {
+			# The pb is fetch_hash() can only be applied on ALL messages
+			my @msgs = select_msgs($imap);
+			$smess = scalar(@msgs);
+			foreach my $m (@msgs) {
+				my $s = $imap->size($m)
+				  or warn "Could not find size of message $m: $@\n";
+				$stot += $s;
+			}
+		}else{
+			my $hashref = {};
+			$smess = $imap->message_count();
+			unless ($smess == 0) {
+				#$imap->Ranges(1);
+				$imap->fetch_hash("RFC822.SIZE",$hashref) or die "$@";
+				#$imap->Ranges(0);
+				#print map {$hashref->{$_}->{"RFC822.SIZE"}, " "} keys %$hashref;
+				map {$stot += $hashref->{$_}->{"RFC822.SIZE"}} keys %$hashref;
+			}
+		}
+		printf(" Size: %9s", $stot);
+		printf(" Messages: %5s\n", $smess);
+		$tot += $stot;
+		$tmess += $smess;
+	}
+	print "Total size: $tot\n";
+	print "Total messages: $tmess\n";
+	print "Time : ", timenext(), " s\n";
+}
+
+if ($foldersizes) {
+	foldersizes("From", $from, \@f_folders);
+	foldersizes("To  ", $to,   \@t_folders);
+}
+
+
+
+sub timenext {
+	my ($timenow, $timerel);
+	# $timebefore is global, beurk !
+	$timenow    = time;
+	$timerel    = $timenow - $timebefore;
+	$timebefore = $timenow;
+	return($timerel);
+}
+
+exit if ($justfoldersizes);
+
+# needed for setting flags
+my $tohasuidplus = $to->has_capability("UIDPLUS");
+
+
+
+print 
+  "From folders : ", map("[$_] ",@f_folders),"\n",
+  "To   folders : ", map("[$_] ",@t_folders),"\n";
+
+print 
+  "From subscribed folders : ", map("[$_] ", sort keys(%fs_folders)), "\n";
+
+sub separator_invert {
+	# The separator we hope we'll never encounter
+	my $o_sep="\000";
+
+	my($f_fold, $f_sep, $t_sep) = @_;
+
+	my $t_fold = $f_fold;
+	$t_fold =~ s@\Q$t_sep@$o_sep@g;
+	$t_fold =~ s@\Q$f_sep@$t_sep@g;
+	$t_fold =~ s@\Q$o_sep@$f_sep@g;
+	return($t_fold);
+}
+
+FOLDER: foreach my $f_fold (@f_folders) {
+	my $t_fold;
+	print "From Folder [$f_fold]\n";
+	
+	my $x_fold = $f_fold;
+	# first we remove the prefix
+	$x_fold =~ s/^$f_prefix//;
+	$debug and print "removed source prefix : [$x_fold]\n";
+	$t_fold = separator_invert($x_fold,$f_sep, $t_sep);
+	$debug and print "inverted   separators : [$t_fold]\n";
+	# Adding the prefix supplied by namespace or the --prefix2 option
+	$t_fold = $t_prefix . $t_fold unless($t_fold eq 'INBOX');
+	$debug and print "added   target prefix : [$t_fold]\n";
+
+	# Transforming the folder name by the --regextrans2 option(s)
+	foreach my $regextrans2 (@regextrans2) {
+		$debug and print "eval \$t_fold =~ $regextrans2\n";
+		eval("\$t_fold =~ $regextrans2");
+	}
+
+	print "To   Folder [$t_fold]\n";
+
+	unless ($from->select($f_fold)) {
+		warn 
+		"From Folder $f_fold : Could not select ",
+		$from->LastError,  "\n";
+		$error++;
+		next FOLDER;
+	}
+
+	unless ($to->exists($t_fold) or $to->select($t_fold)) { 
+		print "To   Folder $t_fold does not exist\n";
+		print "Creating folder [$t_fold]\n";
+		unless ($dry){
+			unless ($to->create($t_fold)){
+				warn "Couldn't create [$t_fold]",
+				$to->LastError,"\n";
+				$error++;
+				next FOLDER;
+			}
+		}else{
+			next FOLDER;
+		}
+	}
+	
+	if ($syncacls) {
+	  my $f_hash = $from->getacl($f_fold)
+	    or warn "Could not getacl for $f_fold: $@\n";
+	  my $t_hash = $to->getacl($t_fold)
+	    or warn "Could not getacl for $t_fold: $@\n";
+	  my %users = map({ ($_, 1) } (keys(%$f_hash), keys(%$t_hash)));
+	  foreach my $user (sort(keys(%users))) {
+	    my $acl = $f_hash->{$user} || "none";
+	    print "acl $user : [$acl]\n";
+	    next if ($f_hash->{$user} && $t_hash->{$user} &&
+		$f_hash->{$user} eq $t_hash->{$user});
+	    unless ($dry) {
+	      print "setting acl $t_fold $user $acl\n";
+	      $to->setacl($t_fold, $user, $acl)
+		or warn "Could not set acl: $@\n";
+	    }
+	  }
+	}
+	
+	unless ($to->select($t_fold)) { 
+		warn 
+		"To   Folder $t_fold : Could not select ",
+		$to->LastError, "\n";
+		$error++;
+		next FOLDER;
+	}
+	
+	if ($expunge){
+		print "Expunging $f_fold and $t_fold\n";
+		unless($dry) { $from->expunge() };
+		#unless($dry) { $to->expunge() };
+	}
+	
+	if ($subscribe and exists $fs_folders{$f_fold}) {
+		print "Subscribing to folder $t_fold on destination server\n";
+		unless($dry) { $to->subscribe($t_fold) };
+	}
+	
+	next FOLDER if ($justfolders);
+
+
+	my @f_msgs = select_msgs($from);
+
+
+
+	$debug and print "LIST FROM : ", scalar(@f_msgs), " messages [@f_msgs]\n";
+	# internal dates on "TO" are after the ones on "FROM"
+	# normally...
+	my @t_msgs = select_msgs($to);
+	
+	$debug and print "LIST TO   : ", scalar(@t_msgs), " messages [@t_msgs]\n";
+
+	my %f_hash = ();
+	my %t_hash = ();
+
+	print "++++ From [$f_fold] Parse 1 ++++\n";
+	
+	my $f_heads = $from->parse_headers($from->Range([@f_msgs]),@useheader) 
+	  if (@f_msgs) ;
+	$debug and print "Time headers: ", timenext(), " s\n";
+	my $f_size  = $from->fetch_hash("RFC822.SIZE") if (@f_msgs);
+	$debug and print "Time sizes  : ", timenext(), " s\n";
+	#my $f_flags = $from->flags(@f_msgs) ;
+	#print "Time flags  : ", timenext(), " s\n";
+	use Data::Dumper;
+	#print Data::Dumper->Dump([$f_heads]);
+	#print Data::Dumper->Dump([$f_flags]);
+	
+	foreach my $m (@f_msgs) {
+		parse_header_msg1($from, $m, $f_heads, $f_size, "F", \%f_hash);
+	}
+	$debug and print "Time headers: ", timenext(), " s\n";
+	
+	print "++++ To   [$t_fold] Parse 1 ++++\n";
+	my $t_heads =   $to->parse_headers($to->Range([@t_msgs]),@useheader) 
+	  if (@t_msgs);
+	$debug and print "Time headers: ", timenext(), " s\n";
+	my $t_size  =   $to->fetch_hash("RFC822.SIZE") if (@t_msgs);
+	$debug and print "Time sizes  : ", timenext(), " s\n";
+	#my $t_flags =   $to->flags(@t_msgs) ;
+	#print "Time flags  : ", timenext(), " s\n";
+	
+	foreach my $m (@t_msgs) {
+		parse_header_msg1($to, $m, $t_heads, $t_size, "T", \%t_hash);
+	}
+	$debug and print "Time headers: ", timenext(), " s\n";
+	#exit;
+
+	print "++++ Verifying [$f_fold] -> [$t_fold] ++++\n";
+	# messages in "from" that are not good in "to"
+	
+	my @f_hash_keys_sorted_by_uid 
+	  = sort {$f_hash{$a}{'m'} <=> $f_hash{$b}{'m'}} keys(%f_hash);
+	
+	#print map { $f_hash{$_}{'m'} . " "} @f_hash_keys_sorted_by_uid;
+	
+	MESS: foreach my $m_id (@f_hash_keys_sorted_by_uid) {
+		my $f_size = $f_hash{$m_id}{'s'};
+		my $f_msg = $f_hash{$m_id}{'m'};
+		# print ".";
+		if (defined $maxsize and $f_size > $maxsize) {
+			print "+ Skipping msg #$f_msg:$f_size in folder $f_fold (exceeds maxsize limit $maxsize bytes)\n";
+			$mess_size_total_skipped += $f_msg;
+			next MESS;
+		}
+		$debug and print "+ key     $m_id #$f_msg\n";
+		unless (exists($t_hash{$m_id})) {
+			print "+ NO msg #$f_msg [$m_id] in $t_fold\n";
+			# copy
+			print "+ Copying msg #$f_msg:$f_size to folder $t_fold\n";
+			my $string = $from->message_string($f_msg);
+			foreach my $regexmess (@regexmess) {
+				$debug and print "eval \$string =~ $regexmess\n";
+				eval("\$string =~ $regexmess");
+			}
+			$debug and print "F message content begin next line\n",
+			  $string,
+			    "F message content ended on previous line\n";
+			my $d = "";
+			if ($syncinternaldates) {
+				$d = $from->internaldate($f_msg);
+				$d = "\"$d\"";
+				$debug and print "internal date from 1: [$d]\n";
+			}
+			
+			my $flags_f_rv = $from->flags($f_msg);
+			my @flags_f;
+			my $flags_f;
+			
+			if (ref($flags_f_rv)) {
+				@flags_f = @{$flags_f_rv};
+				$flags_f = join(" ", @flags_f);
+			}else{
+				$flags_f = "";	
+			}
+			
+			#$flags_f = join(" ", @{$from->flags($f_msg)});
+			
+			# RFC 2060 : This flag can not be altered by the client
+			$flags_f =~ s@\\Recent@@g;
+			
+			my $new_id;
+			print "flags from : [$flags_f][$d]\n";
+			unless ($dry) {
+				unless($new_id = $to->append_string($t_fold,$string, $flags_f, $d)){
+					warn "Couldn't append msg #$f_msg (Subject:[".$from->subject($f_msg)."]) to folder $t_fold: ",
+					  $to->LastError, "\n";
+					$error++;
+					$mess_size_total_error += $f_size;
+					next MESS;
+					
+				}else{
+						# good
+					# $new_id is an id if the IMAP server has the 
+					# UIDPLUS capability else just a ref
+					print "Copied msg id [$f_msg] to folder $t_fold msg id [$new_id]\n";
+					$mess_size_total_trans += $f_size;
+					$mess_trans += 1;
+				}
+			}
+			next MESS;
+		}else{
+			$debug and print "Message id [$m_id] found in t:$t_fold\n";
+			$mess_size_total_skipped += $f_size;
+			$mess_skipped += 1;
+		}
+		
+		$fast and next MESS;
+		#$debug and print "MESSAGE $m_id\n"; 
+		my $t_size = $t_hash{$m_id}{'s'};
+		my $t_msg  = $t_hash{$m_id}{'m'};
+		
+		$debug and print "Setting flags\n"; 
+		my (@flags_f,@flags_t);
+		my $flags_f_rv = $from->flags($f_msg);
+		@flags_f = @{$flags_f_rv} if ref($flags_f_rv);
+		
+		# No flag \Recent here, no ?
+		
+		$to->store($t_msg,
+			   "+FLAGS (" . join(" ", @flags_f) . ")"
+			  ) unless ($dry) ;
+		
+		my $flags_t_rv = $to->flags($t_msg);
+		@flags_t = @{$flags_t_rv} if ref($flags_t_rv);
+		$debug and print 
+		  "flags from : @flags_f\n",
+		  "flags to   : @flags_t\n";
+		
+
+		$debug and do {
+			print "Looking dates\n"; 
+			my $d_f = $from->internaldate($f_msg);
+			my $d_t = $to->internaldate($t_msg);
+			print 
+			  "idate from : $d_f\n",
+			    "idate to   : $d_t\n";
+			#unless ($d_f eq $d_t) {
+			#	print "!!! Dates differ !!!\n";
+			#}
+		};
+		unless (($f_size == $t_size) or $skipsize) {
+			# Bad size
+			print 
+			"Message $m_id SZ_BAD  f:$f_msg:$f_size t:$t_msg:$t_size\n";
+			# delete in to and recopy ?
+			# NO recopy CODE HERE. to be written if needed.
+			$error++;
+			if ($opt_G){
+				print "Deleting msg f:#$t_msg in folder $t_fold\n";
+				$to->delete_message($t_msg) unless ($dry);
+			}
+		}else {
+	    		# Good 
+			$debug and print
+			"Message $m_id SZ_GOOD f:$f_msg:$f_size t:$t_msg:$t_size\n";
+			if($delete) {
+				print "Deleting msg #$f_msg in folder $f_fold\n";
+				$from->delete_message($f_msg) unless ($dry);
+				$from->expunge() if ($expunge and not $dry);
+			}
+		}
+	}
+	if ($expunge1){
+		print "Expunging source folder $f_fold\n";
+		unless($dry) { $from->expunge() };
+	}
+	if ($expunge2){
+		print "Expunging target folder $t_fold\n";
+		unless($dry) { $to->expunge() };
+	}
+
+print "Time : ", timenext(), " s\n";
+}
+$from->logout();
+$to->logout();
+
+$timeend = time();
+
+$timediff = $timeend - $timestart;
+
+stats();
+
+exit(1) if($error);
+
+sub select_msgs {
+	my ($imap) = @_;
+	my (@msgs,@max,@min,@union,@inter);
+	
+	unless (defined($maxage) or defined($minage)) {
+		@msgs = $imap->search("ALL");
+		return(@msgs);
+	}
+	if (defined($maxage)) {
+		@max = $imap->since(time - 86400 * $maxage);
+	}
+	if (defined($minage)) {
+		@min = $imap->before(time - 86400 * $minage);
+	}
+      SWITCH: {
+		unless(defined($minage)) {@msgs = @max; last SWITCH};
+		unless(defined($maxage)) {@msgs = @min; last SWITCH};
+		my (%union, %inter); 
+		foreach my $m (@min, @max) {$union{$m}++ && $inter{$m}++}
+		# normal case
+		if ($minage <= $maxage)  {@msgs = @inter; last SWITCH};
+		# just exclude messages between
+		if ($minage > $maxage)  {@msgs = @union; last SWITCH};
+		
+	}
+	return(@msgs);
+}
+
+
+sub stats {
+	print "++++ Statistics ++++\n";
+	print "Time                   : $timediff sec\n";
+	print "Messages transfered    : $mess_trans\n";
+	print "Messages skipped       : $mess_skipped\n";
+	print "Total bytes transfered : $mess_size_total_trans\n";
+	print "Total bytes skipped    : $mess_size_total_skipped\n";
+	print "Total bytes error      : $mess_size_total_error\n";
+	print "Detected $error errors\n";
+	print "Please, rate imapsync at http://freshmeat.net/projects/imapsync/\n";
+
+
+}
+
+
+sub get_options
+{
+	my $numopt = scalar(@ARGV);
+        my $opt_ret = GetOptions(
+                                   "debug!"       => \$debug,
+                                   "debugimap!"   => \$debugimap,
+                                   "host1=s"     => \$host1,
+                                   "host2=s"     => \$host2,
+                                   "port1=i"     => \$port1,
+                                   "port2=i"     => \$port2,
+                                   "user1=s"     => \$user1,
+                                   "user2=s"     => \$user2,
+                                   "password1=s" => \$password1,
+                                   "password2=s" => \$password2,
+                                   "passfile1=s" => \$passfile1,
+                                   "passfile2=s" => \$passfile2,
+				   "authmd5!"    => \$authmd5,
+                                   "sep1=s"      => \$sep1,
+                                   "sep2=s"      => \$sep2,
+				   "folder=s"    => \@folder,
+				   "include=s"   => \$include,
+				   "exclude=s"   => \$exclude,
+				   "prefix1=s"   => \$prefix1,
+				   "prefix2=s"   => \$prefix2,
+				   "regextrans2=s" => \@regextrans2,
+				   "regexmess=s" => \@regexmess,
+                                   "delete!"     => \$delete,
+                                   "syncinternaldates!" => \$syncinternaldates,
+                                   "syncacls!"   => \$syncacls,
+				   "maxsize=i"   => \$maxsize,
+				   "maxage=i"    => \$maxage,
+				   "minage=i"    => \$minage,
+				   "buffersize=i" => \$buffersize,
+				   "foldersizes!" => \$foldersizes,
+                                   "dry!"        => \$dry,
+                                   "expunge!"    => \$expunge,
+                                   "expunge1!"    => \$expunge1,
+                                   "expunge2!"    => \$expunge2,
+                                   "subscribed!" => \$subscribed,
+                                   "subscribe!"  => \$subscribe,
+                                   "justconnect!"=> \$justconnect,
+                                   "justfolders!"=> \$justfolders,
+				   "justfoldersizes!" => \$justfoldersizes,
+				   "fast!"       => \$fast,
+                                   "version"     => \$version,
+                                   "help"        => \$help,
+                                   "timeout=i"   => \$timeout,
+				   "skipheader=s" => \$skipheader,
+				   "useheader=s" => \@useheader,
+				   "skipsize!"   => \$skipsize,
+				   "fastio1!"     => \$fastio1,
+				   "fastio2!"     => \$fastio2,
+                                  );
+	
+        $debug and print "get options: [$opt_ret]\n";
+
+	# just the version
+        print "$VERSION\n" and exit if ($version) ;
+
+	# exit with --help option or no option at all
+        usage() and exit if ($help or ! $numopt) ;
+
+	# don't go on if options are not all known.
+        exit(EX_USAGE()) unless ($opt_ret) ;
+	
+	
+}
+
+
+sub parse_header_msg1 {
+	my ($imap, $m_uid, $s_heads, $s_size, $s, $s_hash) = @_;
+	
+	my $head = $s_heads->{$m_uid};
+	my $headnum =  scalar(keys(%$head));
+	$debug and print "Head NUM:", $headnum, "\n";
+	unless($headnum) { print "Warning : no header used or found \n"; }
+	my $headstr;
+	
+	foreach my $h (sort keys(%$head)){
+		foreach my $val (sort @{$head->{$h}}) {
+			# no 8-bit data in headers !
+			$val =~ s/[\x80-\xff]/X/g;
+			# remove the first blanks (dbmail bug ?)
+			$val =~ s/^\s+//;
+			# show stuff in debug mode
+			$debug and print "${s}H $h:", $val, "\n";
+			if ($skipheader and $h =~ m/$skipheader/) {
+				$debug and print "Skipping header $h\n";
+				next;
+			}
+			$headstr .= "$h:". $val;
+		}
+	}
+	#return unless ($headstr);
+	unless ($headstr){
+		# no header so taking everything
+		$headstr = $imap->message_string($m_uid);
+	}
+	my $size = $s_size->{$m_uid}->{"RFC822.SIZE"};
+	#return unless ($size);
+	$size = length($headstr) unless ($size);
+	my $m_md5 = md5_base64($headstr);	
+	$debug and print "$s msg $m_uid:$m_md5:$size\n";
+	my $key;
+        if ($skipsize) {
+                $key = "$m_md5";
+        }else {
+                $key = "$m_md5:$size";
+        }
+	$s_hash->{"$key"}{'5'} = $m_md5;
+	$s_hash->{"$key"}{'s'} = $size;
+	$s_hash->{"$key"}{'m'} = $m_uid;
+}
+
+
+sub  firstline {
+        # extract the first line of a file (without \n)
+
+        my($file) = @_;
+        my $line  = "";
+        
+        open FILE, $file or die("$! $file");
+        chomp($line = <FILE>);
+        close FILE;
+        $line = ($line) ? $line : "!EMPTY! $file";
+        return $line;   
+}
+
+sub usage {
+        print <<EOF;
+
+usage: $0 [options]
+
+Several options are mandatory. 
+
+--host1       <string> : "from" imap server. Mandatory.
+--port1       <int>    : port to connect. Default is 143.
+--user1       <string> : user to login.   Mandatory.
+--password1   <string> : password for the user1. Dangerous, use --passfile1
+--passfile1   <string> : password file for the user1. Contains the password.
+--host2       <string> : "destination" imap server. Mandatory.
+--port2       <int>    : port to connect. Default is 143.
+--user2       <string> : user to login.   Mandatory.
+--password2   <string> : password for the user2. Dangerous, use --passfile2
+--passfile2   <string> : password file for the user2. Contains the password.
+--noauthmd5            : don't use MD5 authentification.
+--authmd5              : use MD5 authentification.
+--folder      <string> : sync only this folder.
+--folder      <string> : and this one.
+--folder      <string> : and this one, etc.
+--include     <regex>  : only sync folders matching this regular expression
+                         (only effective if neither --folder nor --subscribed
+			  is specified). 
+--exclude     <regex>  : skips folders matching this regular expression
+                         (only effective if neither --folder nor --subscribed
+			  is specified). Several folders to avoid:
+			  --exclude 'fold1|fold2|f3' skips fold1, fold2 and f3.
+--prefix1     <string> : remove prefix to all destination folders 
+                         (usually INBOX. for cyrus imap servers)
+                         use --prefix1 if your source imap server does not
+                         have NAMESPACE capability.
+--prefix2     <string> : add prefix to all destination folders 
+                         (usually INBOX. for cyrus imap servers)
+                         use --prefix2 if your target imap server does not
+                         have NAMESPACE capability.
+--regextrans2 <regex>  : Apply the whole regex to each destination folders.
+--regextrans2 <regex>  : and this one. etc.
+                         When you play with the --regextrans2 option, first
+                         add also the safe options --dry --justfolders
+                         Then, when happy, remove --dry, remove --justfolders
+--regexmess   <regex>  : Apply the whole regex to each message before transfer.
+                         Exemple : 's/\\000/ /g' # to replace null by space.
+--regexmess   <regex>  : and this one.
+--regexmess   <regex>  : and this one, etc.
+--sep1        <string> : separator in case namespace is not supported.
+--sep2        <string> : idem.
+--delete               : delete messages in source imap server after
+                         a successful transfert. Useful in case you
+                         want to migrate from one server to another one.
+			 With imap, delete tags messages as deleted, they
+			 are not really deleted. See expunge.
+--expunge              : expunge messages on source account.
+                         expunge really deletes messages marked deleted.
+                         expunge is made at the begining on the 
+                         source server only. newly transfered messages
+                         are expunged if option --expunge is given.
+                         no expunge is done on destination account but
+                         it will change in future releases.
+--expunge1             : expunge messages on source account.
+--expunge2             : expunge messages on target account.
+--syncinternaldates    : sets the internal dates on host2 same as host1
+--buffersize  <int>    : sets the size of a block of I/O.
+--maxsize     <int>    : skip messages larger than <int> bytes
+--maxage      <int>    : skip messages older than <int> days.
+                         final stats (skipped) don't count older messages
+			 see also --minage
+--minage      <int>    : skip messages newer than <int> days.
+                         final stats (skipped) don't count newer messages
+                         You can do (+ are the messages selected):
+                         past|----maxage+++++++++++++++>now
+                         past|+++++++++++++++minage---->now
+                         past|----maxage+++++minage---->now (intersection)
+                         past|++++minage-----maxage++++>now (union)
+--skipheader  <regex>  : Don't take into account header keyword 
+                         matching <string> ex: --skipheader 'X.*'
+--useheader   <string> : Use this header to compare messages on both sides.
+                         Ex: Message-ID or Subject or Date.
+--useheader   <string>   and this one, etc.
+--skipsize             : Don't take message size into account.
+--dry                  : do nothing, just print what would be done.
+--subscribed           : transfer only subscribed folders.
+--subscribe            : subscribe to the folders transfered on the 
+                         "destination" server that are subscribed
+                         on the "source" server.
+--(no)foldersizes      : Calculate the size of each "From" folder in bytes
+                         and message counts. Meant to be used with
+                         --justfoldersizes. Turned on by default.
+--justfoldersizes      : exit after printed the folder sizes.
+--syncacls             : Synchronizes acls (Access Control Lists).
+--nosyncacls           : Does not synchronize acls. This is the default.
+--debug                : debug mode.
+--debugimap            : imap debug mode.
+--version              : print sotfware version.
+--justconnect          : just connect to both servers and print useful
+                         information. Need only --host1 and --host2 options.
+--justfolders          : just do things about folders (ignore messages).
+--fast                 : be faster (does not sync flags).
+--nofastio1            : don't use fastio with the "from" server.
+--nofastio2            : don't use fastio with the "destination" server.
+--timeout     <int>    : imap connect timeout.
+--help                 : print this.
+
+Example: to synchronise imap account "foo" on "imap.truc.org"
+                     to imap account "bar" on "imap.trac.org"
+
+$0 \\
+   --host1 imap.truc.org --user1 foo --passfile1 /etc/secret1 \\
+   --host2 imap.trac.org --user2 bar --passfile2 /etc/secret2
+
+
+ Mail::IMAPClient version is $Mail::IMAPClient::VERSION
+$rcs
+      imapsync copyleft is the GNU General Public License.
+      See http://www.gnu.org/copyleft/gpl.html
+EOF
+}
Index: /sandbox/doc-expressolivre/arquivos/workflow.dump
===================================================================
--- /sandbox/doc-expressolivre/arquivos/workflow.dump	(revision 2245)
+++ /sandbox/doc-expressolivre/arquivos/workflow.dump	(revision 2245)
@@ -0,0 +1,1019 @@
+--
+-- PostgreSQL database dump
+--
+
+SET client_encoding = 'LATIN1';
+SET standard_conforming_strings = off;
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+SET escape_string_warning = off;
+
+--
+-- Name: workflow; Type: DATABASE; Schema: -; Owner: postgres
+--
+
+CREATE DATABASE workflow WITH TEMPLATE = template0 ENCODING = 'LATIN1';
+
+
+ALTER DATABASE workflow OWNER TO postgres;
+
+CREATE USER admin_workflow WITH PASSWORD 'admin_workflow' NOCREATEDB NOCREATEUSER VALID UNTIL 'infinity';
+CREATE GROUP workflow;
+ALTER GROUP workflow ADD USER admin_workflow;
+GRANT workflow TO admin_workflow;
+CREATE USER admin_cds WITH PASSWORD 'admin_cds' NOCREATEDB NOCREATEUSER VALID UNTIL 'infinity';
+ALTER GROUP workflow ADD USER admin_cds;
+GRANT workflow TO admin_cds;
+
+\connect workflow
+
+SET client_encoding = 'LATIN1';
+SET standard_conforming_strings = off;
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+SET escape_string_warning = off;
+
+--
+-- Name: cds; Type: SCHEMA; Schema: -; Owner: admin_cds
+--
+
+CREATE SCHEMA cds;
+
+
+ALTER SCHEMA cds OWNER TO admin_cds;
+
+SET search_path = cds, pg_catalog;
+
+SET default_tablespace = '';
+
+SET default_with_oids = false;
+
+--
+-- Name: cdcollection; Type: TABLE; Schema: cds; Owner: admin_cds; Tablespace:
+--
+
+CREATE TABLE cdcollection (
+    cdid integer NOT NULL,
+    title character varying(200),
+    status character varying(40),
+    usuario character varying(200)
+);
+
+
+ALTER TABLE cds.cdcollection OWNER TO admin_cds;
+
+--
+-- Name: TABLE cdcollection; Type: COMMENT; Schema: cds; Owner: admin_cds
+--
+
+COMMENT ON TABLE cdcollection IS 'Exemplo de Empréstimo de CDs';
+
+
+SET search_path = public, pg_catalog;
+
+--
+-- Name: area; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE area (
+    organizacao_id integer NOT NULL,
+    area_id integer NOT NULL,
+    area_status_id integer NOT NULL,
+    areasup_organizacao_id integer,
+    superior_area_id integer,
+    centro_custo_id integer,
+    titular_funcionario_id integer,
+    substituto_funcionario_id integer,
+    sigla character varying(20) NOT NULL,
+    descricao character varying(100) NOT NULL,
+    ativa character varying(1) NOT NULL,
+    auxiliar_funcionario_id integer
+);
+
+
+ALTER TABLE public.area OWNER TO postgres;
+
+--
+-- Name: area_area_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE area_area_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.area_area_id_seq OWNER TO postgres;
+
+--
+-- Name: area_area_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE area_area_id_seq OWNED BY area.area_id;
+
+
+--
+-- Name: area_area_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('area_area_id_seq', 1, false);
+
+
+--
+-- Name: area_status; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE area_status (
+    area_status_id integer NOT NULL,
+    organizacao_id integer NOT NULL,
+    descricao character varying(50) NOT NULL,
+    nivel integer NOT NULL
+);
+
+
+ALTER TABLE public.area_status OWNER TO postgres;
+
+--
+-- Name: area_status_area_status_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE area_status_area_status_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.area_status_area_status_id_seq OWNER TO postgres;
+
+--
+-- Name: area_status_area_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE area_status_area_status_id_seq OWNED BY area_status.area_status_id;
+
+
+--
+-- Name: area_status_area_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('area_status_area_status_id_seq', 1, false);
+
+
+--
+-- Name: cargo; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE cargo (
+    cargo_id integer NOT NULL,
+    descricao character varying(150),
+    organizacao_id integer
+);
+
+
+ALTER TABLE public.cargo OWNER TO postgres;
+
+--
+-- Name: cargo_cargo_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE cargo_cargo_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.cargo_cargo_id_seq OWNER TO postgres;
+
+--
+-- Name: cargo_cargo_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE cargo_cargo_id_seq OWNED BY cargo.cargo_id;
+
+
+--
+-- Name: cargo_cargo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('cargo_cargo_id_seq', 1, false);
+
+
+--
+-- Name: centro_custo; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE centro_custo (
+    organizacao_id integer NOT NULL,
+    centro_custo_id integer NOT NULL,
+    nm_centro_custo integer NOT NULL,
+    grupo character varying(30),
+    descricao character varying(100) NOT NULL
+);
+
+
+ALTER TABLE public.centro_custo OWNER TO postgres;
+
+--
+-- Name: centro_custo_centro_custo_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE centro_custo_centro_custo_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.centro_custo_centro_custo_id_seq OWNER TO postgres;
+
+--
+-- Name: centro_custo_centro_custo_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE centro_custo_centro_custo_id_seq OWNED BY centro_custo.centro_custo_id;
+
+
+--
+-- Name: centro_custo_centro_custo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('centro_custo_centro_custo_id_seq', 1, false);
+
+
+--
+-- Name: funcionario; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE funcionario (
+    funcionario_id integer NOT NULL,
+    area_id integer NOT NULL,
+    localidade_id integer NOT NULL,
+    centro_custo_id integer,
+    organizacao_id integer NOT NULL,
+    funcionario_status_id integer NOT NULL,
+    cargo_id integer,
+    nivel smallint,
+    funcionario_categoria_id integer,
+    titulo character varying(30)
+);
+
+
+ALTER TABLE public.funcionario OWNER TO postgres;
+
+--
+-- Name: funcionario_categoria; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE funcionario_categoria (
+    funcionario_categoria_id integer NOT NULL,
+    descricao character varying(150),
+    organizacao_id integer
+);
+
+
+ALTER TABLE public.funcionario_categoria OWNER TO postgres;
+
+--
+-- Name: funcionario_categoria_funcionario_categoria_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE funcionario_categoria_funcionario_categoria_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.funcionario_categoria_funcionario_categoria_id_seq OWNER TO postgres;
+
+--
+-- Name: funcionario_categoria_funcionario_categoria_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE funcionario_categoria_funcionario_categoria_id_seq OWNED BY funcionario_categoria.funcionario_categoria_id;
+
+
+--
+-- Name: funcionario_categoria_funcionario_categoria_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('funcionario_categoria_funcionario_categoria_id_seq', 1, false);
+
+
+--
+-- Name: funcionario_status; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE funcionario_status (
+    funcionario_status_id integer NOT NULL,
+    descricao character varying(50) NOT NULL,
+    exibir character varying(1) NOT NULL,
+    organizacao_id integer NOT NULL
+);
+
+
+ALTER TABLE public.funcionario_status OWNER TO postgres;
+
+--
+-- Name: funcionario_status_funcionario_status_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE funcionario_status_funcionario_status_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.funcionario_status_funcionario_status_id_seq OWNER TO postgres;
+
+--
+-- Name: funcionario_status_funcionario_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE funcionario_status_funcionario_status_id_seq OWNED BY funcionario_status.funcionario_status_id;
+
+
+--
+-- Name: funcionario_status_funcionario_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('funcionario_status_funcionario_status_id_seq', 1, false);
+
+
+--
+-- Name: localidade; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE localidade (
+    organizacao_id integer NOT NULL,
+    localidade_id integer NOT NULL,
+    centro_custo_id integer,
+    descricao character varying(50) NOT NULL,
+    empresa character varying(100),
+    endereco character varying(100),
+    complemento character varying(50),
+    cep character varying(9),
+    bairro character varying(30),
+    cidade character varying(50),
+    uf character varying(2)
+);
+
+
+ALTER TABLE public.localidade OWNER TO postgres;
+
+--
+-- Name: localidade_localidade_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE localidade_localidade_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.localidade_localidade_id_seq OWNER TO postgres;
+
+--
+-- Name: localidade_localidade_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE localidade_localidade_id_seq OWNED BY localidade.localidade_id;
+
+
+--
+-- Name: localidade_localidade_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('localidade_localidade_id_seq', 1, false);
+
+
+--
+-- Name: organizacao; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
+--
+
+CREATE TABLE organizacao (
+    organizacao_id integer NOT NULL,
+    nome character varying(20) NOT NULL,
+    descricao character varying(100) NOT NULL,
+    url_imagem character varying(200),
+    ativa character varying(1) NOT NULL,
+    sitio character varying(100)
+);
+
+
+ALTER TABLE public.organizacao OWNER TO postgres;
+
+--
+-- Name: organizacao_organizacao_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE organizacao_organizacao_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.organizacao_organizacao_id_seq OWNER TO postgres;
+
+--
+-- Name: organizacao_organizacao_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE organizacao_organizacao_id_seq OWNED BY organizacao.organizacao_id;
+
+
+--
+-- Name: organizacao_organizacao_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('organizacao_organizacao_id_seq', 1, false);
+
+
+--
+-- Name: telefone; Type: TABLE; Schema: public; Owner: postgres; Tablespace: 
+--
+
+CREATE TABLE telefone (
+    telefone_id integer NOT NULL,
+    descricao character varying(50) NOT NULL,
+    numero character varying(50) NOT NULL,
+    organizacao_id integer NOT NULL
+);
+
+
+ALTER TABLE public.telefone OWNER TO postgres;
+
+--
+-- Name: telefone_telefone_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE telefone_telefone_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.telefone_telefone_id_seq OWNER TO postgres;
+
+--
+-- Name: telefone_telefone_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+--
+
+ALTER SEQUENCE telefone_telefone_id_seq OWNED BY telefone.telefone_id;
+
+
+--
+-- Name: telefone_telefone_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('telefone_telefone_id_seq', 1, false);
+
+
+--
+-- Name: telefone_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE telefone ALTER COLUMN telefone_id SET DEFAULT nextval('telefone_telefone_id_seq'::regclass);
+
+
+--
+-- Name: telefone_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace: 
+--
+
+ALTER TABLE ONLY telefone
+    ADD CONSTRAINT telefone_pkey PRIMARY KEY (telefone_id);
+
+
+--
+-- Name: area_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE area ALTER COLUMN area_id SET DEFAULT nextval('area_area_id_seq'::regclass);
+
+
+--
+-- Name: area_status_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE area_status ALTER COLUMN area_status_id SET DEFAULT nextval('area_status_area_status_id_seq'::regclass);
+
+
+--
+-- Name: cargo_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE cargo ALTER COLUMN cargo_id SET DEFAULT nextval('cargo_cargo_id_seq'::regclass);
+
+
+--
+-- Name: centro_custo_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE centro_custo ALTER COLUMN centro_custo_id SET DEFAULT nextval('centro_custo_centro_custo_id_seq'::regclass);
+
+
+--
+-- Name: funcionario_categoria_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE funcionario_categoria ALTER COLUMN funcionario_categoria_id SET DEFAULT nextval('funcionario_categoria_funcionario_categoria_id_seq'::regclass);
+
+
+--
+-- Name: funcionario_status_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE funcionario_status ALTER COLUMN funcionario_status_id SET DEFAULT nextval('funcionario_status_funcionario_status_id_seq'::regclass);
+
+
+--
+-- Name: localidade_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE localidade ALTER COLUMN localidade_id SET DEFAULT nextval('localidade_localidade_id_seq'::regclass);
+
+
+--
+-- Name: organizacao_id; Type: DEFAULT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE organizacao ALTER COLUMN organizacao_id SET DEFAULT nextval('organizacao_organizacao_id_seq'::regclass);
+
+
+SET search_path = cds, pg_catalog;
+
+--
+-- Data for Name: cdcollection; Type: TABLE DATA; Schema: cds; Owner: admin_cds
+--
+
+INSERT INTO cdcollection VALUES (1, 'Compact Disc 1', 'disponivel', NULL);
+INSERT INTO cdcollection VALUES (2, 'Compact Disc 2', 'disponivel', NULL);
+INSERT INTO cdcollection VALUES (3, 'Compact Disc 3', 'disponivel', NULL);
+
+
+SET search_path = cds, pg_catalog;
+
+--
+-- Name: cdcollection_pkey; Type: CONSTRAINT; Schema: cds; Owner: admin_cds; Tablespace:
+--
+
+ALTER TABLE ONLY cdcollection
+    ADD CONSTRAINT cdcollection_pkey PRIMARY KEY (cdid);
+
+
+SET search_path = public, pg_catalog;
+
+--
+-- Name: area_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT area_pkey PRIMARY KEY (organizacao_id, area_id);
+
+
+--
+-- Name: areastatus_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY area_status
+    ADD CONSTRAINT areastatus_pkey PRIMARY KEY (area_status_id, organizacao_id);
+
+
+--
+-- Name: centrocusto_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY centro_custo
+    ADD CONSTRAINT centrocusto_pkey PRIMARY KEY (organizacao_id, centro_custo_id);
+
+
+--
+-- Name: funcionario_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY funcionario
+    ADD CONSTRAINT funcionario_pkey PRIMARY KEY (funcionario_id);
+
+
+--
+-- Name: funcionario_status_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY funcionario_status
+    ADD CONSTRAINT funcionario_status_pkey PRIMARY KEY (funcionario_status_id);
+
+
+--
+-- Name: localidade_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY localidade
+    ADD CONSTRAINT localidade_pkey PRIMARY KEY (organizacao_id, localidade_id);
+
+
+--
+-- Name: organizacao_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
+--
+
+ALTER TABLE ONLY organizacao
+    ADD CONSTRAINT organizacao_pkey PRIMARY KEY (organizacao_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY funcionario_status
+    ADD CONSTRAINT "$1" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area_status
+    ADD CONSTRAINT "$1" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY centro_custo
+    ADD CONSTRAINT "$1" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY localidade
+    ADD CONSTRAINT "$1" FOREIGN KEY (centro_custo_id, organizacao_id) REFERENCES centro_custo(centro_custo_id, organizacao_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY funcionario
+    ADD CONSTRAINT "$1" FOREIGN KEY (organizacao_id, centro_custo_id) REFERENCES centro_custo(organizacao_id, centro_custo_id);
+
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$1" FOREIGN KEY (superior_area_id, areasup_organizacao_id) REFERENCES area(area_id, organizacao_id);
+
+
+--
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY localidade
+    ADD CONSTRAINT "$2" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY funcionario
+    ADD CONSTRAINT "$2" FOREIGN KEY (organizacao_id, localidade_id) REFERENCES localidade(organizacao_id, localidade_id);
+
+
+--
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$2" FOREIGN KEY (centro_custo_id, organizacao_id) REFERENCES centro_custo(centro_custo_id, organizacao_id);
+
+
+--
+-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY funcionario
+    ADD CONSTRAINT "$3" FOREIGN KEY (organizacao_id, area_id) REFERENCES area(organizacao_id, area_id);
+
+
+--
+-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$3" FOREIGN KEY (titular_funcionario_id) REFERENCES funcionario(funcionario_id);
+
+
+--
+-- Name: $4; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY funcionario
+    ADD CONSTRAINT "$4" FOREIGN KEY (funcionario_status_id) REFERENCES funcionario_status(funcionario_status_id);
+
+
+--
+-- Name: $4; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$4" FOREIGN KEY (substituto_funcionario_id) REFERENCES funcionario(funcionario_id);
+
+
+--
+-- Name: $5; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$5" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: $6; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$6" FOREIGN KEY (area_status_id, organizacao_id) REFERENCES area_status(area_status_id, organizacao_id);
+
+
+--
+-- Name: $7; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY area
+    ADD CONSTRAINT "$7" FOREIGN KEY (auxiliar_funcionario_id) REFERENCES funcionario(funcionario_id);
+
+--
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY telefone
+    ADD CONSTRAINT "$1" FOREIGN KEY (organizacao_id) REFERENCES organizacao(organizacao_id);
+
+
+--
+-- Name: cds; Type: ACL; Schema: -; Owner: admin_cds
+--
+
+REVOKE ALL ON SCHEMA cds FROM PUBLIC;
+REVOKE ALL ON SCHEMA cds FROM admin_cds;
+GRANT ALL ON SCHEMA cds TO admin_cds;
+GRANT ALL ON SCHEMA cds TO postgres;
+
+
+--
+-- Name: public; Type: ACL; Schema: -; Owner: postgres
+--
+
+REVOKE ALL ON SCHEMA public FROM PUBLIC;
+REVOKE ALL ON SCHEMA public FROM postgres;
+GRANT ALL ON SCHEMA public TO postgres;
+GRANT ALL ON SCHEMA public TO PUBLIC;
+
+
+SET search_path = cds, pg_catalog;
+
+--
+-- Name: cdcollection; Type: ACL; Schema: cds; Owner: admin_cds
+--
+
+REVOKE ALL ON TABLE cdcollection FROM PUBLIC;
+REVOKE ALL ON TABLE cdcollection FROM admin_cds;
+GRANT ALL ON TABLE cdcollection TO admin_cds;
+GRANT ALL ON TABLE cdcollection TO postgres WITH GRANT OPTION;
+
+
+SET search_path = public, pg_catalog;
+
+--
+-- Name: area; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE area FROM PUBLIC;
+REVOKE ALL ON TABLE area FROM postgres;
+GRANT ALL ON TABLE area TO postgres;
+GRANT ALL ON TABLE area TO admin_workflow;
+GRANT SELECT ON TABLE area TO PUBLIC;
+
+
+--
+-- Name: area_area_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE area_area_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE area_area_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE area_area_id_seq TO postgres;
+GRANT ALL ON SEQUENCE area_area_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE area_area_id_seq TO PUBLIC;
+
+
+--
+-- Name: area_status; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE area_status FROM PUBLIC;
+REVOKE ALL ON TABLE area_status FROM postgres;
+GRANT ALL ON TABLE area_status TO postgres;
+GRANT ALL ON TABLE area_status TO admin_workflow;
+GRANT SELECT ON TABLE area_status TO PUBLIC;
+
+
+--
+-- Name: area_status_area_status_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE area_status_area_status_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE area_status_area_status_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE area_status_area_status_id_seq TO postgres;
+GRANT ALL ON SEQUENCE area_status_area_status_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE area_status_area_status_id_seq TO PUBLIC;
+
+
+--
+-- Name: cargo; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE cargo FROM PUBLIC;
+REVOKE ALL ON TABLE cargo FROM postgres;
+GRANT ALL ON TABLE cargo TO postgres;
+GRANT ALL ON TABLE cargo TO admin_workflow;
+GRANT SELECT ON TABLE cargo TO PUBLIC;
+
+
+--
+-- Name: cargo_cargo_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE cargo_cargo_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE cargo_cargo_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE cargo_cargo_id_seq TO postgres;
+GRANT ALL ON SEQUENCE cargo_cargo_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE cargo_cargo_id_seq TO PUBLIC;
+
+
+--
+-- Name: centro_custo; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE centro_custo FROM PUBLIC;
+REVOKE ALL ON TABLE centro_custo FROM postgres;
+GRANT ALL ON TABLE centro_custo TO postgres;
+GRANT ALL ON TABLE centro_custo TO admin_workflow;
+GRANT SELECT ON TABLE centro_custo TO PUBLIC;
+
+
+--
+-- Name: centro_custo_centro_custo_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE centro_custo_centro_custo_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE centro_custo_centro_custo_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE centro_custo_centro_custo_id_seq TO postgres;
+GRANT ALL ON SEQUENCE centro_custo_centro_custo_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE centro_custo_centro_custo_id_seq TO PUBLIC;
+
+
+--
+-- Name: funcionario; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE funcionario FROM PUBLIC;
+REVOKE ALL ON TABLE funcionario FROM postgres;
+GRANT ALL ON TABLE funcionario TO postgres;
+GRANT ALL ON TABLE funcionario TO admin_workflow;
+GRANT SELECT ON TABLE funcionario TO PUBLIC;
+
+
+--
+-- Name: funcionario_categoria; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE funcionario_categoria FROM PUBLIC;
+REVOKE ALL ON TABLE funcionario_categoria FROM postgres;
+GRANT ALL ON TABLE funcionario_categoria TO postgres;
+GRANT ALL ON TABLE funcionario_categoria TO admin_workflow;
+GRANT SELECT ON TABLE funcionario_categoria TO PUBLIC;
+
+
+--
+-- Name: funcionario_categoria_funcionario_categoria_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE funcionario_categoria_funcionario_categoria_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE funcionario_categoria_funcionario_categoria_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE funcionario_categoria_funcionario_categoria_id_seq TO postgres;
+GRANT ALL ON SEQUENCE funcionario_categoria_funcionario_categoria_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE funcionario_categoria_funcionario_categoria_id_seq TO PUBLIC;
+
+
+--
+-- Name: funcionario_status; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE funcionario_status FROM PUBLIC;
+REVOKE ALL ON TABLE funcionario_status FROM postgres;
+GRANT ALL ON TABLE funcionario_status TO postgres;
+GRANT ALL ON TABLE funcionario_status TO admin_workflow;
+GRANT SELECT ON TABLE funcionario_status TO PUBLIC;
+
+
+--
+-- Name: funcionario_status_funcionario_status_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE funcionario_status_funcionario_status_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE funcionario_status_funcionario_status_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE funcionario_status_funcionario_status_id_seq TO postgres;
+GRANT ALL ON SEQUENCE funcionario_status_funcionario_status_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE funcionario_status_funcionario_status_id_seq TO PUBLIC;
+
+
+--
+-- Name: localidade; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE localidade FROM PUBLIC;
+REVOKE ALL ON TABLE localidade FROM postgres;
+GRANT ALL ON TABLE localidade TO postgres;
+GRANT ALL ON TABLE localidade TO admin_workflow;
+GRANT SELECT ON TABLE localidade TO PUBLIC;
+
+
+--
+-- Name: localidade_localidade_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE localidade_localidade_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE localidade_localidade_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE localidade_localidade_id_seq TO postgres;
+GRANT ALL ON SEQUENCE localidade_localidade_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE localidade_localidade_id_seq TO PUBLIC;
+
+
+--
+-- Name: organizacao; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE organizacao FROM PUBLIC;
+REVOKE ALL ON TABLE organizacao FROM postgres;
+GRANT ALL ON TABLE organizacao TO postgres;
+GRANT ALL ON TABLE organizacao TO admin_workflow;
+GRANT SELECT ON TABLE organizacao TO PUBLIC;
+
+
+--
+-- Name: organizacao_organizacao_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE organizacao_organizacao_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE organizacao_organizacao_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE organizacao_organizacao_id_seq TO postgres;
+GRANT ALL ON SEQUENCE organizacao_organizacao_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE organizacao_organizacao_id_seq TO PUBLIC;
+
+
+--
+-- Name: telefone; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON TABLE telefone FROM PUBLIC;
+REVOKE ALL ON TABLE telefone FROM postgres;
+GRANT ALL ON TABLE telefone TO postgres;
+GRANT ALL ON TABLE telefone TO admin_workflow;
+GRANT SELECT ON TABLE telefone TO PUBLIC;
+
+
+--
+-- Name: telefone_telefone_id_seq; Type: ACL; Schema: public; Owner: postgres
+--
+
+REVOKE ALL ON SEQUENCE telefone_telefone_id_seq FROM PUBLIC;
+REVOKE ALL ON SEQUENCE telefone_telefone_id_seq FROM postgres;
+GRANT ALL ON SEQUENCE telefone_telefone_id_seq TO postgres;
+GRANT ALL ON SEQUENCE telefone_telefone_id_seq TO admin_workflow;
+GRANT SELECT ON SEQUENCE telefone_telefone_id_seq TO PUBLIC;
+
+
+--
+-- PostgreSQL database dump complete
+--
+
