Starting XAMPP takes too much time

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

Starting XAMPP takes too much time

Postby allinthegame » 26. June 2014 08:05

Starting XAMPP, it always takes 4 to 6 minuts before the control panel is showing up. Even if starting XAMPP is the first program I start, after starting my PC. My PC is an i7 with 6GB running W7 pro. As far as I can see, checking for prerequisites is causing the problem, but I have no idea what this is.
Anny one, please?

8:03:00 [main] Initializing Control Panel
8:03:00 [main] Windows Version: Windows 7 Ultimate SP1 64-bit
8:03:01 [main] XAMPP Version: 1.8.3
8:03:01 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
8:03:01 [main] You are not running with administrator rights! This will work for
8:03:01 [main] most application stuff but whenever you do something with services
8:03:01 [main] there will be a security dialogue or things will break! So think
8:03:01 [main] about running this application with administrator rights!
8:03:01 [main] XAMPP Installation Directory: "c:\xampp\"
8:03:01 [main] Checking for prerequisites
8:09:44 [main] All prerequisites found
8:09:44 [main] Initializing Modules
8:09:44 [main] Starting Check-Timer
8:09:44 [main] Control Panel Ready
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby Nobbie » 26. June 2014 15:52

A missing or invalid LAN connection may cause a long wait. Only a suggestion.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: Starting XAMPP takes too much time

Postby allinthegame » 26. June 2014 19:04

> A missing or invalid LAN connection may cause a long wait. Only a suggestion.
Before starting XAMPP, my network work is working fine. Tried it with a browser. My internal network is fine too, I can access my NAS without any problem.
Or is this not what you mean?
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby Altrea » 26. June 2014 19:28

Code: Select all
  AddLog(_('Checking for prerequisites'));
  if Config.EnableChecks.Runtimes then
  begin
    dirlist := TStringList.Create;
    try
      GetSubDirectories(IncludeTrailingPathDelimiter(GetWinDir) + 'winsxs', dirlist);
      index := FindMatchText(dirlist, 'x86_microsoft.vc90.crt');
      if index = -1 then
      begin
        AddLog(_('Required XAMPP prerequisite not found!'), ltError);
        AddLog(_('You do not appear to have the Microsoft Visual C++ 2008 Runtimes installed'), ltError);
        AddLog(_('This is required for XAMPP to fully function'), ltError);
        AddLog(_('http://www.microsoft.com/download/en/details.aspx?id=5582'), ltError);
      end
      else
        AddLog(_('All prerequisites found'));
    finally
      FreeAndNil(dirlist);
    end;
  end


The prerequirements check is only checking for Visual C++ 2008 Runtime by dir listing.
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Starting XAMPP takes too much time

Postby allinthegame » 26. June 2014 19:59

> The prerequirements check is only checking for Visual C++ 2008 Runtime by dir listing.
And I have C++ 2008 running. If I was wrong about htat, this would give me an error, and I don't get an error.
So for sure, it is there.
Remarkably, it takes XAMPP a lot of time, to figure out that C++ is installed.
Isn't it somehow possible to disable this check, or is that not an option?
In that case, I just have patiences.

After this, it runs like hell. Well, not completely. I need xdebug, and that makes XAMPP really slow. By setting xdebug.remote_autostart=0, it will only start when necessary.
But I think this has nothing to do with taking too much time for starting up.
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby Altrea » 26. June 2014 20:30

If you have an current Delphi Environment you can remove this code from the sources and recompile it...
Or you don't use the CP at this time and start and stop the components by other ways like the batch scriptes or windows services
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Starting XAMPP takes too much time

Postby allinthegame » 26. June 2014 20:51

Ok, and now lets talk in PHP, MySQL, Javascript, AHDL, VHDL, Pascal, Basic, Mnemonics, Dutch, English well, even a bit German :-)

I think it is best for now, that I learn to live with it.
Just an extra cup of coffee in the morning, whats the big deal.
At least, now I know what is causing the delay.
Thanks for the help!
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby cgentil » 11. July 2014 20:29

And what was causing the delay?

Thanks.
cgentil
 
Posts: 2
Joined: 11. July 2014 20:28
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby allinthegame » 12. July 2014 08:01

No idea.
Just accepted the fact that it takes about 5 minutes to startup the whole thing.
I am open for every simple suggestion.
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby cgentil » 12. July 2014 16:00

Mine is same too
cgentil
 
Posts: 2
Joined: 11. July 2014 20:28
Operating System: Windows 7

Re: Starting XAMPP takes too much time

Postby allinthegame » 12. July 2014 17:01

Well, start accepting.... ;-)

I have this problem on two identical acer aspire PC's running W7.
Found out today that my ASUS laptop on W7 is having the exact same issue.
This is not a coincidence anymore.
allinthegame
 
Posts: 6
Joined: 26. June 2014 07:56
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 30 guests