Answers.Body: <p>For anyone with the same issue- I was able to fix the issue by setting the execution time as infinite and then waiting for an hour.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T06:32:28.870Z
Answers.LastActivityDate: 2019-06-20T06:32:28.870Z
Answers.UserDisplayName: syntaxanalyst
Body: <p>I attempted to install the newest version of Craft and received this error in my logs:</p>
  
  <pre><code>PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\craft-cms\vendor\yiisoft\yii2\db\Command.php on line 1292
  </code></pre>
  
  <p>I'm unsure of the cause of this error, but the the lines around 1292 in the <code>command.php</code> file seem to be an exception handler for database transactions.</p>
  
  <p>I don't achieve a different result after lengthening the execution time. I've tried setting very lenient firewalls and administrator rights. I've also tried uninstalling and reinstalling all of the files. I still receive the same error every time.</p>
  
  <p>Any ideas to fix this issue? I haven't found another post about this issue online, so any help would be very much appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-19T18:16:49.077Z
Comments.Text: Are you trying to install Craft via command line? Or via the browser?
Comments.UserDisplayName: Lindsey D
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-19T19:23:39.147Z
Comments.Text: The PHP execution the browser uses is a different one than the PHP executable the console uses and therefore they have different php.ini files.  Make sure you're editing the correct one when bumping the `max_execution_time` setting.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-20T06:29:23.517Z
Comments.Text: I installed via the command line.
  Thank you both for your responses. I was able to fix the issue by maximizing the execution time.
Comments.UserDisplayName: syntaxanalyst
Tags: <craft3><php><error><install><yii>
Title: Fatal PHP error upon installation
ThreadText: # Fatal PHP error upon installation
  
  (Asked by: username_0 on 2019-06-19)
  
  I attempted to install the newest version of Craft and received this error in my logs:
  
  ```
  PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\craft-cms\vendor\yiisoft\yii2\db\Command.php on line 1292
  
  ```
  
  I'm unsure of the cause of this error, but the the lines around 1292 in the `command.php` file seem to be an exception handler for database transactions.
  
  I don't achieve a different result after lengthening the execution time. I've tried setting very lenient firewalls and administrator rights. I've also tried uninstalling and reinstalling all of the files. I still receive the same error every time.
  
  Any ideas to fix this issue? I haven't found another post about this issue online, so any help would be very much appreciated.
  
  **Tags:** craft3, php, error, install, yii
  
  > **Comments:**
  > **username_1**: Are you trying to install Craft via command line? Or via the browser?  
  > **username_2**: The PHP execution the browser uses is a different one than the PHP executable the console uses and therefore they have different php.ini files.  Make sure you're editing the correct one when bumping the `max_execution_time` setting.  
  > **username_0**: I installed via the command line. Thank you both for your responses. I was able to fix the issue by maximizing the execution time.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-06-20. Score: 0 | Accepted answer
  
  For anyone with the same issue- I was able to fix the issue by setting the execution time as infinite and then waiting for an hour.
  
  
  ---
  
  