24 lines
751 B
Plaintext
24 lines
751 B
Plaintext
<?php
|
|
// Copy to /home/bitrix/www/bitrix/php_interface/dbconn.php and fill credentials.
|
|
// Key points vs stock VM file: BX_CRONTAB_SUPPORT, tmp dirs, utf8, umask.
|
|
|
|
define('BX_CRONTAB_SUPPORT', true);
|
|
define('DELAY_DB_CONNECT', true);
|
|
define('BX_UTF', true);
|
|
|
|
define("BX_FILE_PERMISSIONS", 0644);
|
|
define("BX_DIR_PERMISSIONS", 0755);
|
|
@umask(~(BX_FILE_PERMISSIONS | BX_DIR_PERMISSIONS) & 0777);
|
|
|
|
define("BX_TEMPORARY_FILES_DIRECTORY", "/tmp");
|
|
define("TMPDIR", "/tmp/php/upload");
|
|
|
|
$DBType = "mysql";
|
|
$DBHost = "localhost"; // unix socket, no TCP
|
|
$DBName = "sitemanager";
|
|
$DBLogin = "bitrix";
|
|
$DBPassword = "__DB_PASS__";
|
|
|
|
// Session temp dirs (php-side save_path also set in fpm pool)
|
|
session_save_path("/tmp/php_sessions/www");
|