Answers.Body: <p>I have had a similar issue when using MAMP on OSX. The "solution" was to switch MAMP to use Module mode (all hosts use the same PHP version) rather than FastCGI mode (where you can run different PHP versions per host).</p>
  
  <p>I have no clue why, but switching it allows the installation to complete. I am then able to switch it back to Fast CGI mode and everything works (although the issue sometimes occurs when installing/updating plugins).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T15:09:35.917Z
Answers.Text: Hmm, I have no idea how to do that in AMPPS. I see there's an option for mod_cgi, but switching that to off didn't really do much
Answers.UserDisplayName: Kenny Bones
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T16:14:48.853Z
Answers.Text: It was the max_execution_time being set too low.. Man I should have known
Answers.UserDisplayName: Kenny Bones
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T14:56:24.383Z
Answers.LastActivityDate: 2018-04-17T14:56:24.383Z
Answers.UserDisplayName: foamcow
Answers.Body: <p>I managed to get it to work. Seems like it was the <code>max_execution_time</code> being set to 30 that was way too low... </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T16:03:32.503Z
Answers.LastActivityDate: 2018-04-17T16:03:32.503Z
Answers.UserDisplayName: Kenny Bones
Answers.Body: <p>My issue was the database settings. I needed to change my db to: Default Collation: utf8_unicode_ci.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-28T15:10:07.747Z
Answers.LastActivityDate: 2019-03-28T16:57:50.633Z
Answers.LastEditDate: 2019-03-28T16:57:50.633Z
Answers.UserDisplayName: LWebb
Body: <p>Using Ampps on Windows, I'm trying to install a fresh Craft 3.0 and I've followed the steps and everything seems to be working. Until the very last step, where Craft says "Oops something went wrong". Checking the console log I see the ajax call gets a 500 internal server error as response. </p>
  
  <p>I can see that the database is getting filled up with tables etc so it seems Craft has a working connection to the database. I also tried to set devmode to True in general.php. When doing that I get the following when trying to access mysite.local/admin</p>
  
  <pre><code>An Error occurred while handling another error:
  yii\web\ServerErrorHttpException: The info table is missing its row in D:\Git\festningen\vendor\craftcms\cms\src\base\ApplicationTrait.php:494
  </code></pre>
  
  <p>Is it a permission error? I can access files and folders in the web directory, and htaccess file looks normal:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
  
      # Send would-be 404 requests to Craft
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
      RewriteRule (.+) index.php?p=$1 [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I've also tried setting permissions on the folders, giving the users group full permissions. With no luck. </p>
  
  <p>Any idea?</p>
  
Tags: <craft3><error><install>
Title: Installing Craft 3 - Internal server error
ThreadText: # Installing Craft 3 - Internal server error
  
  (Asked by: username_0 on 2018-04-17)
  
  Using Ampps on Windows, I'm trying to install a fresh Craft 3.0 and I've followed the steps and everything seems to be working. Until the very last step, where Craft says "Oops something went wrong". Checking the console log I see the ajax call gets a 500 internal server error as response.
  
  I can see that the database is getting filled up with tables etc so it seems Craft has a working connection to the database. I also tried to set devmode to True in general.php. When doing that I get the following when trying to access mysite.local/admin
  
  ```
  An Error occurred while handling another error:
  yii\web\ServerErrorHttpException: The info table is missing its row in D:\Git\festningen\vendor\craftcms\cms\src\base\ApplicationTrait.php:494
  
  ```
  
  Is it a permission error? I can access files and folders in the web directory, and htaccess file looks normal:
  
  ```
  <IfModule mod_rewrite.c>
      RewriteEngine On
  
      # Send would-be 404 requests to Craft
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
      RewriteRule (.+) index.php?p=$1 [QSA,L]
  </IfModule>
  
  ```
  
  I've also tried setting permissions on the folders, giving the users group full permissions. With no luck.
  
  Any idea?
  
  **Tags:** craft3, error, install
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2018-04-17. Score: 2
  
  I have had a similar issue when using MAMP on OSX. The "solution" was to switch MAMP to use Module mode (all hosts use the same PHP version) rather than FastCGI mode (where you can run different PHP versions per host).
  
  I have no clue why, but switching it allows the installation to complete. I am then able to switch it back to Fast CGI mode and everything works (although the issue sometimes occurs when installing/updating plugins).
  
  > **Comments:**
  > **username_0**: Hmm, I have no idea how to do that in AMPPS. I see there's an option for mod_cgi, but switching that to off didn't really do much  
  > **username_0**: It was the max_execution_time being set too low.. Man I should have known  
  
  ---
  
  ### Answer by username_0 on 2018-04-17. Score: 1
  
  I managed to get it to work. Seems like it was the `max_execution_time` being set to 30 that was way too low...
  
  
  ---
  
  ### Answer by username_2 on 2019-03-28. Score: 1
  
  My issue was the database settings. I needed to change my db to: Default Collation: utf8\_unicode\_ci.
  
  
  ---
  
  