Tags: apache, bat, folder, inappropriate, install, newsgroup, oki, properly, running, setup_xampp, software, unpacked, xampp

xampp does not install properly

On Software » Apache

6,508 words with 7 Comments; publish: Thu, 22 May 2008 14:02:00 GMT; (400156.25, « »)

Ok, maybe inappropriate newsgroup... but ...

ok:

I unpacked xampp to d:\ and got an d:\xampp folder.

running setup_xampp.bat from this folder gives me:

########################################

################################

# ApacheFriends XAMPP setup win32 Version 1.5 #

#---#

# Copyright (c) 2002-2005 Apachefriends #

#---#

# Authors: Kay Vogelgesang <kvo.apache.todaysummary.com.apachefriends.org> #

# Carsten Wiedmann <webmaster.apache.todaysummary.com.wiedmann-online.de> #

########################################

################################

Configure for server 1.5.4a

Configure XAMPP with awk for 'Windows_NT'

Please wait ...

Enable AcceptEx Winsocks v2 support for NT systems DONE!

"the system cannot find the path specified" (37 times this line)

##### Have fun with ApacheFriends XAMPP! #####

Press any key to continue . . .

what is wrong here ?

All Comments

Leave a comment...

  • 7 Comments
    • assuming d isnt a network drive, its time to use the installer methinks.
      #1; Thu, 22 May 2008 14:03:00 GMT
    • On 24 Nov 2006 05:10:35 -0800, "shimmyshack" <matt.farey.apache.todaysummary.com.gmail.com>

      wrote:

      >assuming d isnt a network drive, its time to use the installer methinks.

      it's local.

      I get a logging in the event viewer that says that the SystemRoot is

      set wrong. I tried "C:/program Files/ xampp/apache"

      "/xampp/apache" and things like that. But no sir...

      also running setup_xampp.bat from the command line (in a DOS box or

      clicking from the Windows explorer)gives me that php/php.exe cannot be

      found. And it really is there...

      Seems like Windows cannot handle relative paths anymore...

      Installed the lite package on my laptop, and that works fine.

      SystemRoot in http.conf is " set to "C:/xampplite/apache".

      weird stuff, this...

      #2; Thu, 22 May 2008 14:04:00 GMT
    • i took a look at the install/install.php script - which is large and is

      a cludge of code, and it seemed easier to just advise you try the

      installer, there isnt much to actually install you see,

      i mean if you have problems with systemroot, that sounds like you need

      to check your environmental variables.

      (win+pause->advanced->environmental variables->systemvariables path)

      make sure that

      %SystemRoot%\system32;%SystemRoot%;%Syst

      emRoot%\system32\wbem

      is there somewhere

      %SystemRoot% isnt something used explicitly in any xampp files.

      My advice is that this is something you should check on a windows OS

      forum, but for now installing apache and php etc.. is easy enough the

      "hardest" part being installing them as services, and that aint hard.

      After unzipping, you just have to look around for the bat files which

      install as service, making sure to turn off IIS and any other services

      bound to the ports you want to use.

      usually its a oneliner if the batch files dont work - to install apache

      as a service just takes:

      go into the apache folder

      apache -k install

      and then to start it

      net start Apache2

      and so on for mysql filezilla etc..

      my advice is not to use the xampp control panel and so on, its a pile

      of anyway, and doesnt do anything you cant do using services.msc

      It really is as simple as that, no registering dlls, just unzip and

      play with the install as service batch scripts if you need to. after

      using services to disable IIS admin etc.. that could be bound to port

      80.

      if you want to set up mod_perl, it is easy to do so, and xampp comes

      with 2.2.3 and php5 for 2.2.3 already configured. No real changes need

      to go into the conf file.

      But beware if you port forward port 80 through yuor router, you might

      want to lock down the default aliases, like security, or phpmyadmin

      (I would just deny by ip for all but that particular machine and then

      delete the default directory structure thats under doc root) and search

      for aliases you dont need like "restricted" and kill them.

      change the default password for mysql as well, in the db via command

      line and inside phpmyadmin conf.

      xampp is pretty good, its your system to blame i think

      #3; Thu, 22 May 2008 14:05:00 GMT
    • "Osiris" <nono.apache.todaysummary.com.hotmail.com> schreef in bericht

      news:4ltdm2h4h485ntsnmag4f1v5e3qu0gju38.apache.todaysummary.com.

      4ax.com...

      > On 24 Nov 2006 05:10:35 -0800, "shimmyshack" <matt.farey.apache.todaysummary.com.gmail.com>

      > wrote:

      > I get a logging in the event viewer that says that the SystemRoot

      > is set wrong.

      That implies a windows problem.

      If it were serverroot or documentroot it is Apache

      > I tried "C:/program Files/ xampp/apache"

      The space before xampp is a typo?

      The space in 'Program Files' might trigger a space-in-long-name problem ...

      ... try the short name (sick), most likely PROGRA~1, instead

      > "/xampp/apache" and things like that. But no sir...

      > also running setup_xampp.bat from the command line (in a DOS box or

      > clicking from the Windows explorer)gives me that php/php.exe cannot be

      > found. And it really is there...

      > Seems like Windows cannot handle relative paths anymore...

      > Installed the lite package on my laptop, and that works fine.

      > SystemRoot in http.conf is " set to "C:/xampplite/apache".

      > weird stuff, this...

      'ServerRoot' I presume ...

      HansH

      #4; Thu, 22 May 2008 14:06:00 GMT
    • New info:

      it has to do with the environment where CMD runs in:

      When I put a DIR in the .BAT script, I get, on THIS machine only, NOT

      on my laptop where I also tried to install xampp, the directory of

      C:\

      That goes also for a test script I made.

      Always the C:\, even when the script is in D:\bla\blo\ble, i get to

      see C:\

      So all the relative paths in the script point wrongly.

      Now the question: WHY '

      #5; Thu, 22 May 2008 14:07:00 GMT
    • So, it looks as if it is a WinXP problem. Not xampp or Apache.

      I posteed to the WinXP groups...

      #6; Thu, 22 May 2008 14:08:00 GMT
    • I think I found the cause:

      there is a registry key AUTORUN that does it:

      & #91;HKEY_CURRENT_USER\Software\Microsoft

      \Command Processor]

      "CompletionChar"=dword:00000009

      "DefaultColor"=dword:00000000

      "EnableExtensions"=dword:00000001

      "Autorun"="CD /D C:\\"

      I got rid of it and now things seem to be normal.

      #7; Thu, 22 May 2008 14:09:00 GMT