45

I am trying to install Joomla! 3.2.1 on my system but the installation freezes half way through. I've downloaded and installed the Wamp Server 2.4 and wanted to locally install Joomla! 3.2.1, but the installation freezes and doesn't finish.

browser screenshot of hanging install

It stops short of finishing the installation during the "creating database tables" task: it just stays on this bit seemingly forever.

Increasing the max execution time in php.ini and restarting the wamp didn't help.

My Wamp 2.4 uses:

  • MySQL 5.6.12
  • php 5.4.16
  • Apache 2.4.4

How can I get the installer to go past this point?

Jeroen
  • 60,696
  • 40
  • 206
  • 339
Universe
  • 1,527
  • 1
  • 15
  • 22

6 Answers6

82

This problem occurring most usually at Joomla 3.x. To solve this go to wamp\www\Your joomla folder\installation\sql\mysql and open Joomla.sql file find the term

"ENGINE=InnoDB"

and replace ALL with

"ENGINE=MyIsam"

MyIsam is more supported and compatible with Joomla.

Do also the same with (sample_data.sql) file, if it's quickstart setup.

Universe
  • 1,527
  • 1
  • 15
  • 22
  • 1
    Is it possible that Joomla is that dumb? – miksiii Jan 05 '15 at 16:00
  • Thanks, i face exact prob, now got solution. i would like to what is actual root for this problem, in the sense, if we remove innodb, then we could not able tow create any relationship for the mention table. – Bharanikumar May 29 '15 at 09:15
  • 1
    Changing timeout is a better solution – Andrii Muzychuk Jun 14 '15 at 12:08
  • @Universe, the same with this approach ;-) – Andrii Muzychuk Jun 16 '15 at 11:42
  • @Chiz as you think but your comment doesn't add any help. Post a answer if you think different than me, and leave the people choose what fit on their problem – Universe Jun 16 '15 at 15:05
  • @Universe, I tried this approach - doesn't work. I tried approach below - it works. This is my help. – Andrii Muzychuk Jun 18 '15 at 17:55
  • @Chiz that you say doesn't make "Changing timeout" a better solution... (as you comment in the beginning). But is an alternative, If my approach doesn't work with you. But are you sure that you apply the second approach having reset first the changes from my approach? – Universe Jun 18 '15 at 21:11
  • @Universe Is there a way without changing the ENGINE. Because we use relationships in our database model and we want to use INNODB engine in our custom component... – Malaiselvan Aug 29 '15 at 07:30
  • @Malaiselvan as far as I know, not. You should consider change your model, if you can – Universe Aug 29 '15 at 09:11
  • @Universe Thanks... I used your solution and after installing I changed back all joomla tables back to INNODB.... It works great so far... – Malaiselvan Aug 30 '15 at 10:22
  • @Malaiselvan nice to hear that! – Universe Aug 30 '15 at 14:41
  • @Malaiselvan Would have been a lot simpler to just increase the timeout in PHP than all that engine changing – RiggsFolly May 10 '17 at 16:45
24

The problem is that PHP has timed out. By default WAMP comes with the php variable max_execution_time = 30

Look at your php error log and it should make this error fairly obvious.

So edit your php.ini file, using the wampmanager menu system

wampmanager -> PHP -> php.ini

Find the parameter

max_execution_time = 30

And change it to

max_execution_time = 200

Then restart Apache, so it see's these changes.

Once the install has completed go back and change it back to a value no more than 60.

RiggsFolly
  • 93,638
  • 21
  • 103
  • 149
  • tnx that worked for me ;) (you must restart the Apache after every change...) – BRap Jun 27 '14 at 20:30
  • 2
    yep this one is better. on xampp chaing max_execution_time to 200 solved the issue. – R T Apr 06 '15 at 17:52
  • 1
    Worked for me too. Guyz, this seems a better option, 'cause you don't have to change anything from the default Joomla! Installation. – Mohd Abdul Mujib Apr 11 '15 at 23:00
  • The crucial part of that answer is to stop and restart your Apache! Otherwise it wont work! At least that is what happened to me – arniotaki Jul 13 '15 at 18:08
  • it is really a better solution because it is not forcing to use MyIsam, Thanks :) – Muhammad Jul 23 '15 at 04:39
3

Most of user's are facing This problem when installing Joomla 3.x. I have also faced this problem. Then i found the solution to do some configuration changes in my php.ini file and joomla's mysql file. i did following changes :

in php.ini file

Output_Buffering=Off 
Display_Errors=Off 
and in wamp\www\Your joomla folder\installation\sql\mysql\Joomla.sql
replaced all the occurence of "ENGINE=InnoDB" with "ENGINE=MyIsam" 

Now my joomla demo site has been working fine

sachin
  • 93
  • 14
2

In case changing max_execute_time or replacing InnoDB didn't work for you, try to install it in different browser like Opera. Worked for me!!

Rashad
  • 11,057
  • 4
  • 45
  • 73
Dyuuha
  • 21
  • 1
2

I implemented the following changes:

"ENGINE=InnoDB"

and replace ALL with

"ENGINE=MyIsam"

and then I increased the execution time in php.ini file to 200, as pointed in earlier answers.

max_execution_time = 30

And change it to

max_execution_time = 200

Further, in php.ini file

Output_Buffering=Off 
Display_Errors=Off

This did the job!

Shan
  • 47
  • 4
1

I too faced the same issue of hanging of the installation of joomla 3.4.5 on my windows machine.

OS: Win 8.1 x64
XAMPP v3.2.1
Joomla: 3.4.5

I tried to perform the same 5-6 times. Then, after googling a lot came to conclusion that it can be resolved just my modifying 2 parameters in the php.ini config file usually located inside the

<XAMPP_INSTALL_DIR>/php/php.ini

memory_limit = 512M
max_execution_time = 200

It worked. So, there is no need to modify the InnoDB engine to MyIsam. Base installation works well. Just the issue with our default settings of the php configuration.

Pankaj
  • 615
  • 5
  • 9