D7 running, D9 phpinfo ok
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// $Id: default.settings.php,v 1.51 2010/10/11 23:49:48 dries Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
@@ -23,19 +22,19 @@
|
||||
* http://www.drupal.org/mysite/test/, the 'settings.php'
|
||||
* is searched in the following directories:
|
||||
*
|
||||
* 1. sites/www.drupal.org.mysite.test
|
||||
* 2. sites/drupal.org.mysite.test
|
||||
* 3. sites/org.mysite.test
|
||||
* - sites/www.drupal.org.mysite.test
|
||||
* - sites/drupal.org.mysite.test
|
||||
* - sites/org.mysite.test
|
||||
*
|
||||
* 4. sites/www.drupal.org.mysite
|
||||
* 5. sites/drupal.org.mysite
|
||||
* 6. sites/org.mysite
|
||||
* - sites/www.drupal.org.mysite
|
||||
* - sites/drupal.org.mysite
|
||||
* - sites/org.mysite
|
||||
*
|
||||
* 7. sites/www.drupal.org
|
||||
* 8. sites/drupal.org
|
||||
* 9. sites/org
|
||||
* - sites/www.drupal.org
|
||||
* - sites/drupal.org
|
||||
* - sites/org
|
||||
*
|
||||
* 10. sites/default
|
||||
* - sites/default
|
||||
*
|
||||
* If you are installing on a non-standard port number, prefix the
|
||||
* hostname with that number. For example,
|
||||
@@ -154,6 +153,29 @@
|
||||
* @endcode
|
||||
* NOTE: MySQL and SQLite's definition of a schema is a database.
|
||||
*
|
||||
* Advanced users can add or override initial commands to execute when
|
||||
* connecting to the database server, as well as PDO connection settings. For
|
||||
* example, to enable MySQL SELECT queries to exceed the max_join_size system
|
||||
* variable, and to reduce the database connection timeout to 5 seconds:
|
||||
*
|
||||
* @code
|
||||
* $databases['default']['default'] = array(
|
||||
* 'init_commands' => array(
|
||||
* 'big_selects' => 'SET SQL_BIG_SELECTS=1',
|
||||
* ),
|
||||
* 'pdo' => array(
|
||||
* PDO::ATTR_TIMEOUT => 5,
|
||||
* ),
|
||||
* );
|
||||
* @endcode
|
||||
*
|
||||
* WARNING: These defaults are designed for database portability. Changing them
|
||||
* may cause unexpected behavior, including potential data loss.
|
||||
*
|
||||
* @see DatabaseConnection_mysql::__construct
|
||||
* @see DatabaseConnection_pgsql::__construct
|
||||
* @see DatabaseConnection_sqlite::__construct
|
||||
*
|
||||
* Database configuration format:
|
||||
* @code
|
||||
* $databases['default']['default'] = array(
|
||||
@@ -178,15 +200,21 @@
|
||||
* );
|
||||
* @endcode
|
||||
*/
|
||||
$databases['default']['default'] = array(
|
||||
'driver' => 'mysql',
|
||||
'database' => 'materio_base_d7',
|
||||
'username' => 'root',
|
||||
'password' => 'materio',
|
||||
'host' => 'mysql',
|
||||
'prefix' => '',
|
||||
'collation' => 'utf8_general_ci',
|
||||
);
|
||||
$databases = array (
|
||||
'default' =>
|
||||
array (
|
||||
'default' =>
|
||||
array (
|
||||
'database' => 'popsu_d7',
|
||||
'username' => 'root',
|
||||
'password' => 'popsu',
|
||||
'host' => 'mysql_d7',
|
||||
'port' => '',
|
||||
'driver' => 'mysql',
|
||||
'prefix' => 'dbprefix_',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Access control for update.php script.
|
||||
@@ -205,10 +233,10 @@ $update_free_access = FALSE;
|
||||
* Salt for one-time login links and cancel links, form tokens, etc.
|
||||
*
|
||||
* This variable will be set to a random value by the installer. All one-time
|
||||
* login links will be invalidated if the value is changed. Note that this
|
||||
* variable must have the same value on every web server. If this variable is
|
||||
* empty, a hash of the serialized database credentials will be used as a
|
||||
* fallback salt.
|
||||
* login links will be invalidated if the value is changed. Note that if your
|
||||
* site is deployed on a cluster of web servers, you must ensure that this
|
||||
* variable has the same value on each server. If this variable is empty, a hash
|
||||
* of the serialized database credentials will be used as a fallback salt.
|
||||
*
|
||||
* For enhanced security, you may set this variable to a value using the
|
||||
* contents of a file outside your docroot that is never saved together
|
||||
@@ -218,7 +246,7 @@ $update_free_access = FALSE;
|
||||
* $drupal_hash_salt = file_get_contents('/home/example/salt.txt');
|
||||
*
|
||||
*/
|
||||
$drupal_hash_salt = '';
|
||||
$drupal_hash_salt = '0Zxsn2w4iHq1rq-nN7QvU-qaoGU8MaycbJciaHqLJGk';
|
||||
|
||||
/**
|
||||
* Base URL (optional).
|
||||
@@ -240,7 +268,7 @@ $drupal_hash_salt = '';
|
||||
* It is not allowed to have a trailing slash; Drupal will add it
|
||||
* for you.
|
||||
*/
|
||||
// $base_url = 'http://dev.materio.com'; // NO trailing slash!
|
||||
# $base_url = 'http://www.example.com'; // NO trailing slash!
|
||||
|
||||
/**
|
||||
* PHP settings:
|
||||
@@ -248,7 +276,7 @@ $drupal_hash_salt = '';
|
||||
* To see what PHP settings are possible, including whether they can be set at
|
||||
* runtime (by using ini_set()), read the PHP documentation:
|
||||
* http://www.php.net/manual/en/ini.list.php
|
||||
* See drupal_initialize_variables() in includes/bootstrap.inc for required
|
||||
* See drupal_environment_initialize() in includes/bootstrap.inc for required
|
||||
* runtime settings and the .htaccess file for non-runtime settings. Settings
|
||||
* defined there should not be duplicated here so as to avoid conflict issues.
|
||||
*/
|
||||
@@ -290,13 +318,14 @@ ini_set('session.cookie_lifetime', 2000000);
|
||||
|
||||
/**
|
||||
* Drupal automatically generates a unique session cookie name for each site
|
||||
* based on on its full domain name. If you have multiple domains pointing at
|
||||
* the same Drupal site, you can either redirect them all to a single domain
|
||||
* (see comment in .htaccess), or uncomment the line below and specify their
|
||||
* shared base domain. Doing so assures that users remain logged in as they
|
||||
* cross between your various domains.
|
||||
* based on its full domain name. If you have multiple domains pointing at the
|
||||
* same Drupal site, you can either redirect them all to a single domain (see
|
||||
* comment in .htaccess), or uncomment the line below and specify their shared
|
||||
* base domain. Doing so assures that users remain logged in as they cross
|
||||
* between your various domains. Make sure to always start the $cookie_domain
|
||||
* with a leading dot, as per RFC 2109.
|
||||
*/
|
||||
$cookie_domain = 'dev.materio.com';
|
||||
# $cookie_domain = '.example.com';
|
||||
|
||||
/**
|
||||
* Variable overrides:
|
||||
@@ -315,7 +344,7 @@ $cookie_domain = 'dev.materio.com';
|
||||
* - anonymous: Defines the human-readable name of anonymous users.
|
||||
* Remove the leading hash signs to enable.
|
||||
*/
|
||||
$conf['site_name'] = "materiO'";
|
||||
# $conf['site_name'] = 'My Drupal site';
|
||||
# $conf['theme_default'] = 'garland';
|
||||
# $conf['anonymous'] = 'Visitor';
|
||||
|
||||
@@ -330,42 +359,50 @@ $cookie_domain = 'dev.materio.com';
|
||||
# $conf['maintenance_theme'] = 'bartik';
|
||||
|
||||
/**
|
||||
* Enable this setting to determine the correct IP address of the remote
|
||||
* client by examining information stored in the X-Forwarded-For headers.
|
||||
* X-Forwarded-For headers are a standard mechanism for identifying client
|
||||
* systems connecting through a reverse proxy server, such as Squid or
|
||||
* Pound. Reverse proxy servers are often used to enhance the performance
|
||||
* Reverse Proxy Configuration:
|
||||
*
|
||||
* Reverse proxy servers are often used to enhance the performance
|
||||
* of heavily visited sites and may also provide other site caching,
|
||||
* security or encryption benefits. If this Drupal installation operates
|
||||
* behind a reverse proxy, this setting should be enabled so that correct
|
||||
* IP address information is captured in Drupal's session management,
|
||||
* logging, statistics and access management systems; if you are unsure
|
||||
* about this setting, do not have a reverse proxy, or Drupal operates in
|
||||
* a shared hosting environment, this setting should remain commented out.
|
||||
* security, or encryption benefits. In an environment where Drupal
|
||||
* is behind a reverse proxy, the real IP address of the client should
|
||||
* be determined such that the correct client IP address is available
|
||||
* to Drupal's logging, statistics, and access management systems. In
|
||||
* the most simple scenario, the proxy server will add an
|
||||
* X-Forwarded-For header to the request that contains the client IP
|
||||
* address. However, HTTP headers are vulnerable to spoofing, where a
|
||||
* malicious client could bypass restrictions by setting the
|
||||
* X-Forwarded-For header directly. Therefore, Drupal's proxy
|
||||
* configuration requires the IP addresses of all remote proxies to be
|
||||
* specified in $conf['reverse_proxy_addresses'] to work correctly.
|
||||
*
|
||||
* Enable this setting to get Drupal to determine the client IP from
|
||||
* the X-Forwarded-For header (or $conf['reverse_proxy_header'] if set).
|
||||
* If you are unsure about this setting, do not have a reverse proxy,
|
||||
* or Drupal operates in a shared hosting environment, this setting
|
||||
* should remain commented out.
|
||||
*
|
||||
* In order for this setting to be used you must specify every possible
|
||||
* reverse proxy IP address in $conf['reverse_proxy_addresses'].
|
||||
* If a complete list of reverse proxies is not available in your
|
||||
* environment (for example, if you use a CDN) you may set the
|
||||
* $_SERVER['REMOTE_ADDR'] variable directly in settings.php.
|
||||
* Be aware, however, that it is likely that this would allow IP
|
||||
* address spoofing unless more advanced precautions are taken.
|
||||
*/
|
||||
# $conf['reverse_proxy'] = TRUE;
|
||||
|
||||
/**
|
||||
* Set this value if your proxy server sends the client IP in a header other
|
||||
* than X-Forwarded-For.
|
||||
*
|
||||
* The "X-Forwarded-For" header is a comma+space separated list of IP addresses,
|
||||
* only the last one (the left-most) will be used.
|
||||
*/
|
||||
# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
|
||||
|
||||
/**
|
||||
* reverse_proxy accepts an array of IP addresses.
|
||||
*
|
||||
* Each element of this array is the IP address of any of your reverse
|
||||
* proxies. Filling this array Drupal will trust the information stored
|
||||
* in the X-Forwarded-For headers only if Remote IP address is one of
|
||||
* these, that is the request reaches the web server from one of your
|
||||
* reverse proxies. Otherwise, the client could directly connect to
|
||||
* your web server spoofing the X-Forwarded-For headers.
|
||||
* Specify every reverse proxy IP address in your environment.
|
||||
* This setting is required if $conf['reverse_proxy'] is TRUE.
|
||||
*/
|
||||
# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...);
|
||||
|
||||
/**
|
||||
* Set this value if your proxy server sends the client IP in a header
|
||||
* other than X-Forwarded-For.
|
||||
*/
|
||||
# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
|
||||
|
||||
/**
|
||||
* Page caching:
|
||||
*
|
||||
@@ -377,8 +414,7 @@ $cookie_domain = 'dev.materio.com';
|
||||
* the cache. If the site has mostly anonymous users except a few known
|
||||
* editors/administrators, the Vary header can be omitted. This allows for
|
||||
* better caching in HTTP proxies (including reverse proxies), i.e. even if
|
||||
* clients send different cookies, they still get content served from the cache
|
||||
* if aggressive caching is enabled and the minimum cache time is non-zero.
|
||||
* clients send different cookies, they still get content served from the cache.
|
||||
* However, authenticated users should access the site directly (i.e. not use an
|
||||
* HTTP proxy, and bypass the reverse proxy if one is used) in order to avoid
|
||||
* getting cached pages from the proxy.
|
||||
@@ -437,6 +473,42 @@ $cookie_domain = 'dev.materio.com';
|
||||
# 'a.b.c.d',
|
||||
# );
|
||||
|
||||
/**
|
||||
* Fast 404 pages:
|
||||
*
|
||||
* Drupal can generate fully themed 404 pages. However, some of these responses
|
||||
* are for images or other resource files that are not displayed to the user.
|
||||
* This can waste bandwidth, and also generate server load.
|
||||
*
|
||||
* The options below return a simple, fast 404 page for URLs matching a
|
||||
* specific pattern:
|
||||
* - 404_fast_paths_exclude: A regular expression to match paths to exclude,
|
||||
* such as images generated by image styles, or dynamically-resized images.
|
||||
* If you need to add more paths, you can add '|path' to the expression.
|
||||
* - 404_fast_paths: A regular expression to match paths that should return a
|
||||
* simple 404 page, rather than the fully themed 404 page. If you don't have
|
||||
* any aliases ending in htm or html you can add '|s?html?' to the expression.
|
||||
* - 404_fast_html: The html to return for simple 404 pages.
|
||||
*
|
||||
* Add leading hash signs if you would like to disable this functionality.
|
||||
*/
|
||||
$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//';
|
||||
$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i';
|
||||
$conf['404_fast_html'] = '<html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>';
|
||||
|
||||
/**
|
||||
* By default, fast 404s are returned as part of the normal page request
|
||||
* process, which will properly serve valid pages that happen to match and will
|
||||
* also log actual 404s to the Drupal log. Alternatively you can choose to
|
||||
* return a 404 now by uncommenting the following line. This will reduce server
|
||||
* load, but will cause even valid pages that happen to match the pattern to
|
||||
* return 404s, rather than the actual page. It will also prevent the Drupal
|
||||
* system log entry. Ensure you understand the effects of this before enabling.
|
||||
*
|
||||
* To enable this functionality, remove the leading hash sign below.
|
||||
*/
|
||||
# drupal_fast_404();
|
||||
|
||||
/**
|
||||
* Authorized file system operations:
|
||||
*
|
||||
@@ -452,32 +524,3 @@ $cookie_domain = 'dev.materio.com';
|
||||
* Remove the leading hash signs to disable.
|
||||
*/
|
||||
# $conf['allow_authorize_operations'] = FALSE;
|
||||
|
||||
// $conf['cache'] = 0;
|
||||
$conf['preprocess_js'] = 0;
|
||||
$conf['preprocess_css'] = 0;
|
||||
|
||||
$conf['session_limit_max'] = 10;
|
||||
|
||||
$conf['maillog_send'] = 0;
|
||||
$conf['enforce_limit'] = 'no';
|
||||
|
||||
|
||||
$conf['search_api_solr_overrides'] = array(
|
||||
'materio_solr3_en' => array(
|
||||
'name' => t('Materio EN Solr Server (Overridden)'),
|
||||
'options' => array(
|
||||
'host' => 'solr',
|
||||
'port' => 8983,
|
||||
'path' => '/solr/materio_base_en',
|
||||
),
|
||||
),
|
||||
'materio_solr3_fr' => array(
|
||||
'name' => t('Materio FR Solr Server (Overridden)'),
|
||||
'options' => array(
|
||||
'host' => 'solr',
|
||||
'port' => 8983,
|
||||
'path' => '/solr/materio_base_fr',
|
||||
),
|
||||
),
|
||||
);
|
18
ressources/xdebug.ini
Normal file
18
ressources/xdebug.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
[xdebug]
|
||||
xdebug.remote_enable=1
|
||||
;Should use host.docker.internal but not working on linux
|
||||
xdebug.remote_host=172.20.0.1
|
||||
;Not working on docker context
|
||||
xdebug.remote_connect_back=0
|
||||
;9000 is already bound by php-fpm
|
||||
xdebug.remote_port=9001
|
||||
xdebug.remote_handler=dbgp
|
||||
xdebug.remote_mode=req
|
||||
xdebug.remote_autostart=true
|
||||
; ?=XDEBUG_SESSION_START=1
|
||||
;Log file is mounted on volume so you can follow it
|
||||
xdebug.remote_log=/var/log/xdebug-error.log
|
||||
xdebug.profiler_enable_trigger=1
|
||||
xdebug.profiler_enable=0
|
||||
xdebug.profiler_output_dir=/var/log/
|
||||
; Example: http://localhost:8080/test?XDEBUG_PROFILE=1
|
Reference in New Issue
Block a user