title: trying to start a server, getting database error without using a database
body: <p>coming back to symfony after a few years away from coding to build a new personal app</p>
  <p>running symfony 6 installed through composer php 8.1.0</p>
  <p>i am trying to setup a SSO callback from an external site and for some reason my server just gave up playing fair.</p>
  <p>im getting</p>
  <pre><code>C:\..\Project&gt;symfony server:start
  Following Web Server log file (C:\Users\..\.symfony5\log\63f5f632f2ca1b767b847bd4cd24278735521026.log)
  Following PHP-CGI log file (C:\Users\..\.symfony5\log\63f5f632f2ca1b767b847bd4cd24278735521026\79ca75f9e90b4126a5955a33ea6a41ec5e854698.log)
                                                                                                                          
   [WARNING] The local web server is optimized for local development and MUST never be used in a production setup.        
                                                                                                                          
  
                                                                                                                          
   [OK] Web server listening                                                                                              
        The Web server is using PHP CGI 8.1.0                                                                             
        https://127.0.0.1:8000                                                                                            
                                                                                                                          
  
  [Web Server ] Aug 22 16:48:10 |DEBUG  | PHP    Reloading PHP versions
  [Web Server ] Aug 22 16:48:20 |DEBUG  | PHP    Using PHP version 8.1.0 (from default version in $PATH)
  [Application] Aug 21 20:39:34 |INFO   | DOCTRI Connecting with parameters array{&quot;url&quot;:&quot;&lt;redacted&gt;&quot;,&quot;driver&quot;:&quot;pdo_pgsql&quot;,&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;port&quot;:5432,&quot;user&quot;:&quot;app&quot;,&quot;password&quot;:&quot;&lt;redac
  ted&gt;&quot;,&quot;driverOptions&quot;:[],&quot;defaultTableOptions&quot;:[],&quot;dbname&quot;:&quot;app&quot;,&quot;serverVersion&quot;:&quot;14&quot;,&quot;charset&quot;:&quot;utf8&quot;} params={&quot;charset&quot;:&quot;utf8&quot;,&quot;dbname&quot;:&quot;app&quot;,&quot;defaultTableOptions&quot;:[],&quot;driver&quot;:&quot;pdo
  _pgsql&quot;,&quot;driverOptions&quot;:[],&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;password&quot;:&quot;\u003credacted\u003e&quot;,&quot;port&quot;:5432,&quot;serverVersion&quot;:&quot;14&quot;,&quot;url&quot;:&quot;\u003credacted\u003e&quot;,&quot;user&quot;:&quot;app&quot;}
  [Application] Aug 21 20:39:34 |ERROR  | APP    error while trying to collect executed migrations
  [Application] Aug 21 20:39:34 |INFO   | DOCTRI Connecting with parameters array{&quot;url&quot;:&quot;&lt;redacted&gt;&quot;,&quot;driver&quot;:&quot;pdo_pgsql&quot;,&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;port&quot;:5432,&quot;user&quot;:&quot;app&quot;,&quot;password&quot;:&quot;&lt;redac
  ted&gt;&quot;,&quot;driverOptions&quot;:[],&quot;defaultTableOptions&quot;:[],&quot;dbname&quot;:&quot;app&quot;,&quot;serverVersion&quot;:&quot;14&quot;,&quot;charset&quot;:&quot;utf8&quot;} params={&quot;charset&quot;:&quot;utf8&quot;,&quot;dbname&quot;:&quot;app&quot;,&quot;defaultTableOptions&quot;:[],&quot;driver&quot;:&quot;pdo
  _pgsql&quot;,&quot;driverOptions&quot;:[],&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;password&quot;:&quot;\u003credacted\u003e&quot;,&quot;port&quot;:5432,&quot;serverVersion&quot;:&quot;14&quot;,&quot;url&quot;:&quot;\u003credacted\u003e&quot;,&quot;user&quot;:&quot;app&quot;}
  [Application] Aug 21 20:39:34 |ERROR  | APP    error while trying to collect executed migrations
  [Application] Aug 21 20:39:39 |INFO   | REQUES Matched route &quot;app_main_login&quot;. method=&quot;GET&quot; request_uri=&quot;http://localhost:8000/login&quot; route=&quot;app_main_login&quot; route_parameters={&quot;_contr
  oller&quot;:&quot;App\\Controller\\MainController::Login&quot;,&quot;_route&quot;:&quot;app_main_login&quot;}
  [Application] Aug 21 20:39:39 |DEBUG  | SECURI Checking for authenticator support. authenticators=0 firewall_name=&quot;main&quot;
  [Application] Aug 21 20:39:39 |DEBUG  | PHP    User Warning: Configure the &quot;curl.cainfo&quot;, &quot;openssl.cafile&quot; or &quot;openssl.capath&quot; php.ini setting to enable the CurlHttpClient
  [Application] Aug 21 20:39:39 |DEBUG  | PHP    User Notice: Upgrade the curl extension or run &quot;composer require amphp/http-client&quot; to perform async HTTP operations, including full HT
  TP/2 support
  [Application] Aug 21 20:39:40 |INFO   | DOCTRI Connecting with parameters array{&quot;url&quot;:&quot;&lt;redacted&gt;&quot;,&quot;driver&quot;:&quot;pdo_pgsql&quot;,&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;port&quot;:5432,&quot;user&quot;:&quot;app&quot;,&quot;password&quot;:&quot;&lt;redac
  ted&gt;&quot;,&quot;driverOptions&quot;:[],&quot;defaultTableOptions&quot;:[],&quot;dbname&quot;:&quot;app&quot;,&quot;serverVersion&quot;:&quot;14&quot;,&quot;charset&quot;:&quot;utf8&quot;} params={&quot;charset&quot;:&quot;utf8&quot;,&quot;dbname&quot;:&quot;app&quot;,&quot;defaultTableOptions&quot;:[],&quot;driver&quot;:&quot;pdo
  _pgsql&quot;,&quot;driverOptions&quot;:[],&quot;host&quot;:&quot;127.0.0.1&quot;,&quot;password&quot;:&quot;\u003credacted\u003e&quot;,&quot;port&quot;:5432,&quot;serverVersion&quot;:&quot;14&quot;,&quot;url&quot;:&quot;\u003credacted\u003e&quot;,&quot;user&quot;:&quot;app&quot;}
  [Application] Aug 21 20:39:40 |ERROR  | APP    error while trying to collect executed migrations
  [Web Server ] Aug 22 16:48:20 |INFO   | PHP    listening path=&quot;C:\\wamp64\\bin\\php\\php8.1.0\\php-cgi.exe&quot; php=&quot;8.1.0&quot; port=50289
  
  
  </code></pre>
  <p>but nowhere in my app is doctrine set up, i have no database running, have commented out the variables in .env im not making tables, have no migrations planned.
  it worked just fine until i made my first SSO redirect, the login happened as expected but on return to my site it had stalled with the above error, now any time i restart i just get that error and it stalls again, i cant find anything online so either its a very niche error, or its so basic anyone should be able to fix it. i have tried to revert my controller to back before the error occurred with no fix.</p>
  <p>any advice would be appreciated, if you need to see any of my code let me know, i haven't included it because i basically only have the login redirect page setup, nothing really to show.</p>
  <p>RE: removing doctrine, i do intent to add databases, i just don't want to jump through those hoops until i have data to store, this is my first time using an external service for login so im troubleshooting that first.</p>
  <p>UPDATE: So it started responding, the server came to life and did stuff, then promptly stopped working on my callback from external login, restarting the server didn't help the hang continued to happen, but restarting my computer did, my powers of deduction (and turning everything off and on again) have led me to realize the callback is the problem, as im not yet handling it correctly it is breaking everything somewhere deep down that logs are not even available. so before I try it again i need to handle my stuff properly.</p>