Welcome Guest, Not a member yet? Register   Sign In
Shared Hosting to VPS
#10

(This post was last modified: 05-29-2024, 07:15 AM by HarmW94.)

Very strange. Didn't fit it out yet..

My .env file:

Code:
CI_ENVIRONMENT = production

#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------

app.baseURL = ''
app.forceGlobalSecureRequests = true
# app.CSPEnabled = false

#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------

# database.default.hostname =
# database.default.database =
# database.default.username =
# database.default.pa sssword =
# database.default.DBDriver = MySQLi
# database.default.DBPrefix =
# database.default.port = 3306

# database.tests.hostname = localhost
# database.tests.database = ci4_test
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
# database.tests.port = 3306

The database.php;
Code:
/**
     * The default database connection.
     */
    public array $default = [
        'DSN'          => '',
        'hostname'     => 'localhost',
        'username'     => '//',
        'password'     => '//',
        'database'     => '//',
        'DBDriver'     => 'MySQLi',
        'DBPrefix'     => '',
        'pConnect'     => false,
        'DBDebug'      => true,
        'charset'      => 'utf8mb4',
        'DBCollat'     => 'utf8mb4_unicode_ci',
        'swapPre'      => '',
        'encrypt'      => false,
        'compress'     => false,
        'strictOn'     => true,
        'failover'     => [],
        'port'         => 3306,
        'numberNative' => false,
    ];

(Deleted sensitive data)
<?php echo "Programming and perfectionism sucks sometimes..."; ?>
Reply


Messages In This Thread
Shared Hosting to VPS - by HarmW94 - 05-23-2024, 09:27 AM
RE: Shared Hosting to VPS - by captain-sensible - 05-23-2024, 09:46 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-23-2024, 10:46 AM
RE: Shared Hosting to VPS - by kenjis - 05-23-2024, 02:37 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-24-2024, 04:31 AM
RE: Shared Hosting to VPS - by kenjis - 05-24-2024, 07:57 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-25-2024, 04:17 PM
RE: Shared Hosting to VPS - by JustJohnQ - 05-25-2024, 10:33 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-25-2024, 10:53 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-29-2024, 07:14 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-30-2024, 03:32 AM
RE: Shared Hosting to VPS - by kenjis - 05-30-2024, 04:24 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-30-2024, 05:44 AM
RE: Shared Hosting to VPS - by kenjis - 05-30-2024, 05:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB