# Installer fails (PDOStatement.php)

**URL:** <https://forum.mautic.org/t/installer-fails-pdostatement-php/2030>\
**Category:** Product Support\
**Created:** [July 7, 2015, 3:40pm UTC](https://forum.mautic.org/t/installer-fails-pdostatement-php/2030 "2015-07-07T15:40:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![happy](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@happy](https://forum.mautic.org/u/happy)\
**Post date:** [July 7, 2015, 3:40pm UTC](https://forum.mautic.org/t/installer-fails-pdostatement-php/2030/1 "2015-07-07T15:40:04Z")

</div>

Hi,  
  
  
  
during install I got an error at first step:  
  
[http://mautic1.geodrop.com/installer/step/1](http://mautic1.geodrop.com/installer/step/1)  
  
  
  
The mautic error log report this:  
  
[07-Jul-2015 16:12:49 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:mauticvendordoctrinedballibDoctrineDBALDriverPDOStatement.php on line 35  
  
  
  
I have this configuration:  
  
Win 8.1 Home 64bit  
  
XAMPP with Apache2, mysql Ver 14.14 Distrib 5.6.16 and PHP 5.5.11  
  
  
  
Accessing my db I can see the database and all its tables (they are created without errors)

---

<div class="post-metadata">

**Author:** ![happy](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@happy](https://forum.mautic.org/u/happy)\
**Post date:** [July 7, 2015, 3:40pm UTC](https://forum.mautic.org/t/installer-fails-pdostatement-php/2030/2 "2015-07-07T15:40:04Z")

</div>

Hi,

during install I got an error at first step:  
[http://mautic1.geodrop.com/installer/step/1](http://mautic1.geodrop.com/installer/step/1)

The mautic error log report this:  
[07-Jul-2015 16:12:49 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:mauticvendordoctrinedballibDoctrineDBALDriverPDOStatement.php on line 35

I have this configuration:  
Win 8.1 Home 64bit  
XAMPP with Apache2, mysql Ver 14.14 Distrib 5.6.16 and PHP 5.5.11

Accessing my db I can see the database and all its tables (they are created without errors)

---

<div class="post-metadata">

**Author:** ![happy](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@happy](https://forum.mautic.org/u/happy)\
**Post date:** [July 7, 2015, 4:08pm UTC](https://forum.mautic.org/t/installer-fails-pdostatement-php/2030/3 "2015-07-07T16:08:19Z")

</div>

Update: I patched it adding this line:  
set\_time\_limit(600);

in PDOStatement.php (line 35) and also in app/cache/prod/classes.php (line 409) and then I could complete the installation.

I have a fast PC, with 8gb of ram and a fast cpu, so I’m worried the install process got more then 30 seconds …

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/installer-fails-pdostatement-php/2030/4 "2020-02-02T22:59:26Z")

</div>


