PHP Fatal Error while installing WordPress

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP Fatal Error while installing WordPress

Postby eram » 17. May 2016 00:35

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.
eram
 
Posts: 2
Joined: 17. May 2016 00:20
XAMPP version: 7.0.6
Operating System: Windows 7

Re: PHP Fatal Error while installing WordPress

Postby Altrea » 17. May 2016 05:48

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: PHP Fatal Error while installing WordPress

Postby eram » 17. May 2016 09:54

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.
eram
 
Posts: 2
Joined: 17. May 2016 00:20
XAMPP version: 7.0.6
Operating System: Windows 7

Re: PHP Fatal Error while installing WordPress

Postby Altrea » 17. May 2016 09:59

No problem, you are welcome 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: PHP Fatal Error while installing WordPress

Postby ThaWebsmith » 19. May 2016 08:31

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
ThaWebsmith
 
Posts: 1
Joined: 19. May 2016 08:08
XAMPP version: 7.0.5
Operating System: Windows 7 Ultimate

Re: PHP Fatal Error while installing WordPress

Postby Altrea » 19. May 2016 12:16

Hi,

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

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests