Senin, 01 April 2019 Tambah Komentar Edit Show
untuk mengatasi Fatal error Connection timed out pada PHP, sebetulnya bisa kita atasi tanpa harus mengkonfigurasi ulang file PHP.ini.. Kita tinggal tambahkan sedikit koding saja di dalam file controller kita, syntax nya adalah seperti ini : Simple kan? semoga membantu.. Define additional database driver optionsAdditional driver options for the database connection, e.g. to enable SSL encryption in MySQL or specify a custom wait timeout on a cheap hoster. Code Sample
Define sqlite3 journal modesqlite3 journal mode can be specified using this configuration parameter - can be 'WAL' or 'DELETE' see for more details https://www.sqlite.org/wal.html Code Sample
Define MySQL 3/4 byte character handlingDuring setup, if requirements are met (see below), this setting is set to true and MySQL can handle 4 byte characters instead of 3 byte characters. If you want to convert an existing 3-byte setup into a 4-byte setup please set the parameters in MySQL as mentioned below and
run the migration command: Consult the documentation for more details. MySQL requires a special setup for longer indexes (> 767 bytes) which are needed:
Tables will be created with * character set: utf8mb4 * collation: utf8mb4_bin * row_format: compressed Code Sample
Force a specific database platform classFalse means that autodetection will take place. E.g. to fix MariaDB 1.2.7+ taken for MySQL 'db.platform' ⇒ '\Doctrine\DBAL\Platforms\MariaDb1027Platform', Code SampleDefine supported database typesDatabase types that are supported for installation. Available: - sqlite (SQLite3 - Not in Enterprise Edition) - mysql (MySQL) - pgsql (PostgreSQL) - oci (Oracle - Enterprise Edition Only) Code Sample
Define the location for temporary filesOverride where ownCloud stores temporary files. Useful in situations where the system temporary directory is on a limited space ramdisk or is otherwise restricted, or if external storages which do not support streaming are in use. The Web server user must have write access to this directory. Code Sample
Define the hashing costThe hashing cost used by hashes generated by ownCloud. Using a higher value requires more time and CPU power to calculate the hashes. As this number grows, the amount of work (typically CPU time or memory) necessary to compute the hash increases exponentially. Code SampleDefine blacklisted filesBlacklist a specific file or files and disallow the upload
of files with this name.
Code Sample
Define blacklisted files regular expression(s)Blacklist files that match any of the given regular expressions and disallow the upload of those files. The matching is case-insensitive.
Code Sample
Define excluded directoriesExclude specific directory names and disallow scanning, creating and renaming using these names. The matching is case-insensitive. Excluded directory names are queried at any path part like at the beginning, in the middle or at the end and will not be further processed if found. Please see the documentation for details and examples. Use when the storage backend supports, e.g. snapshot directories to be excluded.
Code Sample
Define excluded directories regular expression(s)Exclude directory names that match any of the given regular expressions and disallow scanning, creating and renaming using these names. The matching is case-insensitive. Excluded directory names are queried at any path part like at the beginning, in the middle or at the end and will not be further processed if found. Please see the documentation for details and examples. Use when the storage backend supports, e.g. snapshot directories to be excluded.
Code Sample
Define files that are excluded from integrity checkingExclude files from the integrity checker command Code Sample
Define apps or themes that are excluded from integrity checkingThe list of apps that are allowed and must not have a signature.json file present. Besides ownCloud apps, this is particularly useful when creating ownCloud themes, because themes are treated as apps. The app is identified with it´s app-id. The app-id can be identified by the foldername of the app in your apps directory. The following example allows app-1 and theme-2 to have no signature.json file. Code Sample
Define a default folder for shared files and folders other than rootCode SampleDefine the default cipher for encrypting filesCurrently AES-128-CFB and AES-256-CFB are supported. Code Sample
Define the file format for encrypting filesDefine if encrypted files will be written in the old format ( With binary, only new files are written in the binary format, existing encrypted files in the old format stay readable. This guarantees a smooth transition. Code Sample
Define the minimum supported ownCloud desktop client versionDefine the minimum ownCloud desktop client version that is allowed to sync with this server instance. All connections made from earlier clients will be denied by the server. As shipped, the value here is the oldest desktop client that is technically compatible with the server. The version number seen here does not imply official support or test coverage on behalf of ownCloud.
Code Sample
Define the suggested poll interval for clientsSpecifies how often clients should poll the server for changes. The value is in milliseconds. The value is not enforced. Clients may use this value to decide how frequently to check the server for changes. Code SampleDefine whether to include external storage in quota calculationEXPERIMENTAL: option whether to include external storage in quota calculation, defaults to false. Code Sample
Define how often filesystem changes are detectedSpecifies how often the local filesystem (the ownCloud data/ directory, and NFS mounts in data/) is checked for changes made outside ownCloud. This does not apply to external storages. → Never check the filesystem for outside changes, provides a performance increase when it’s certain that no changes are made directly to the filesystem → Check each file or folder at most once per request, recommended for general use if outside changes might happen. Code Sample
Define unsuccessful mountpoint rename attemptsThis config value avoids infinite loops for seldom cases where a file renaming conflict between different share backends could occur. The value defines how many unsuccessful mountpoint rename attempts are allowed. e.g. target mountpoint name could be claimed as unused by the filesystem but renaming to this target name will fail due to some other reasons like database constraints. Change this value only under supervision of ownCloud support. Code Sample
Define where part files are locatedBy default ownCloud will store the part files created during upload in the same storage as the upload target. Setting this to false will store the part files in the root of the user’s folder which might be required to work with certain external storage setups that have limited rename capabilities. Note that setting this to false causes issues with the following apps: Encryption, Document classification, Anti-Virus and Ransomware Protection. Code Sample
Prevent cache changes due to changes in the filesystemWhen Code Sample
Define ownClouds internal secretSecret used by ownCloud for various purposes, e.g. to encrypt data. If you lose this string there will be data corruption. Code SampleDefine list of trusted proxy serversIf you configure these also consider setting Code Sample
Headers that should be trusted as client IP address in combination with If set incorrectly, a client can spoof their IP address as visible to ownCloud, bypassing access controls and making logs useless! If not set, defaults to 'HTTP_X_FORWARDED_FOR'. Code Sample
Define the maximum filesize for animated GIF´sMax file size for animating gifs on public-sharing-site. If the gif is bigger, it’ll show a static preview. Value represents the maximum filesize in megabytes. Default is Code Sample
Enable transactional file lockingTransactional file locking is enabled by default. Prevents concurrent processes from accessing the same files at the same time. Can help prevent side effects that would be caused by concurrent operations. Mainly relevant for very large installations with many users working with shared files. Code Sample
Define the TTL for file lockingSet the lock’s time-to-live in seconds. Any lock older than this will be automatically cleaned up. If not set this defaults to either 1 hour or the php max_execution_time, whichever is higher. Code Sample
Define the memory caching backend for file lockingBecause most memcache backends can clean values without warning, using redis is highly recommended to avoid data loss. Code Sample
Disable the web based updaterThe web based updater is enabled by default. Code Sample
Define whether or not to enable automatic update of market appsSet to Code Sample
Enable debugging mode for this ownCloud instanceOnly enable this for local development and not in production environments This will disable the minifier and outputs some additional debug information WARNING: Be warned that, if you set this to Code SampleDefine the data-fingerprint of the current data servedThis is a property used by the clients to find out if a backup has been restored on the server. Once a backup is restored run sudo -u www-data ./occ maintenance:data-fingerprint To set this to a new value. Updating/Deleting this value can make connected clients stall until the user has resolved conflicts. Code Sample
Define if you have copied the sample configurationThis entry is just here to show a warning in case somebody copied the sample configuration.
If you, brave person, have read until here be aware that you should not modify ANY settings in this file without reading the documentation. Code Sample
Enable or disable the files_external local mount optionSet this property to true if you want to enable the files_external local mount option. Default: Code Sample
Enable or disable debug logging for SMB accessSet this property to true if you want to enable debug logging for SMB access. Code Sample
Enable or disable async DAV extensionsCode Sample
Enable propfind depth infinity requestsTell the clients whether Code Sample
Decide whether show or not the grace period popup. There is no change in the behaviour of the grace period. Code Sample
Link to get a demo key during active grace periodThe admin will be directed to that web page when they click on the "get a demo key" link in the grace period popup. It’s expected that the web page contains instructions on how to get a valid demo key to be used in the ownCloud server. If this key isn’t present, ownCloud’s default will be used. Code Sample |