Page 1 of 1

PHP Fatal Error while installing WordPress

PostPosted: 17. May 2016 00:35
by eram
Hi all,

I started trying to design a site today and decided to work offline while designing. I downloaded XAMPP, installed it and ran apache and MYSQL. I downloaded the most recent wordpress version from wordpress.org and placed it in the htdocs folder, renaming it to my desired site name. I created a database for it through phpMyAdmin after setting a MYSQL root password and updating the phpMyAdmin config file. I entered the database information into the wordpress installer. Here is where I ran into problems.

In part two of the wordpress installer where the wordpress page title and admin account is set up, I filled in all the required data. Upon submitting this, I receive a php Fatal Error:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\XXXX\wordpress\wp-includes\wp-db.php on line 1811

I have tried increasing the maximum execution time and max input time. I have used several values (e.g. 300, 6000, 0) without success. Each time I receive this error, the appropriate tables have been created in the phpMyAdmin database but the wordpress login details entered in this second part aren't recognised.

Each time, I have tried to repeat with different max times, I have deleted all previous databases and wordpress files and started the installation from scratch.

I don't understand what the issue is so if anyone is familiar with this, it would be great to know what is going wrong and what I can do to fix it.

Re: PHP Fatal Error while installing WordPress

PostPosted: 17. May 2016 05:48
by Altrea
Hi,

Did you change the correct lines in the php.ini? Many of them are just comments to explain the settings and their values itself.

Did you restart Apache after changing the settings in the php.ini?

Best wishes,
Altrea

Re: PHP Fatal Error while installing WordPress

PostPosted: 17. May 2016 09:54
by eram
Thanks Altrea,

I did change the correct values but I didn't think to restart Apache. Many thanks. Perhaps you can tell I'm a bit green with all of this haha.

Re: PHP Fatal Error while installing WordPress

PostPosted: 17. May 2016 09:59
by Altrea
No problem, you are welcome 8)

Re: PHP Fatal Error while installing WordPress

PostPosted: 19. May 2016 08:31
by ThaWebsmith
Hi,
I have encountered the same problem " fatal error: Maximum execution time for 30 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\wp-db.php on line 1811"
But I don't know what to add on the php.ini
so i'd really appreciate some help

Re: PHP Fatal Error while installing WordPress

PostPosted: 19. May 2016 12:16
by Altrea
Hi,

Open your php.ini and search for the line beginning with max_execution_time

Best wishes,
Altrea