Apache Server configuration support - xampp does not install properly

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > November 2006 > xampp does not install properly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author xampp does not install properly
Osiris

2006-11-24, 7:25 am

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@apachefriends.org> #
# Carsten Wiedmann <webmaster@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 ?

shimmyshack

2006-11-24, 7:25 am

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

Osiris

2006-11-24, 1:22 pm

On 24 Nov 2006 05:10:35 -0800, "shimmyshack" <matt.farey@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....
shimmyshack

2006-11-24, 1:22 pm

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

HansH

2006-11-24, 1:22 pm

"Osiris" <nono@hotmail.com> schreef in bericht
news:4ltdm2h4h485ntsnmag4f1v5e3qu0gju38@
4ax.com...
> On 24 Nov 2006 05:10:35 -0800, "shimmyshack" <matt.farey@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



Osiris

2006-11-24, 1:22 pm

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 ????
Osiris

2006-11-24, 7:21 pm

So, it looks as if it is a WinXP problem. Not xampp or Apache.
I posteed to the WinXP groups...
Osiris

2006-11-24, 7:21 pm

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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com