Running CGI on XAMPP Apache?

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

Running CGI on XAMPP Apache?

Postby mmkstarr » 01. September 2019 10:22

I apologize in advance; this is more of a programming question (HTML) than a server question (Apache).

I understand how to write a python cgi script, but I don't understand how to execute it from the web page, which should be simple, right?

Right now my HTML is:

Code: Select all
<html>
<head>
<title>Spinning Cow with Randomly Generated Colors and Flashes</title>
</head>
<body>
<form action = "CGIRand.cgi">
</form>
</body>
</html>


(And in case you're curious, here's the Python .cgi code:
Code: Select all
#!"E:\computer stuff\python\python.exe"

from imgShimmerGenerate import *
import cgi
import cgitb

cgitb.enable()

def transformToPrint(str):
   return "print(\"" + str + "\")\n"

originalTextFile = open("SpinningCowFramework.html", "r")
cgiText = ""
f = originalTextFile.readlines()
for x in f:
   cgiText += transformToPrint(x.rstrip().replace("\"", "\\\""))

ranArray = generateRandomIMGShimmer(200, 7).split('\n')
for line in ranArray:
   #print(line)
   cgiText += transformToPrint(line)
cgiText +=    transformToPrint("}")
firstColorString = "RGB(" + str(random.randint(0,255)) + ", " + str(random.randint(0,255)) + ", " + str(random.randint(0,255)) + ")"
secondColorString = "RGB(" + str(random.randint(0,255)) + ", " + str(random.randint(0,255)) + ", " + str(random.randint(0,255)) + ")"
cgiText += transformToPrint("@keyframes backgroundColorChange{0%{background-color: " + firstColorString + "}") + transformToPrint("50%{background-color: " + secondColorString + "}") + transformToPrint("100%{backgroundcolor: " + firstColorString + "}") + transformToPrint("}")

cgiText += transformToPrint("</style></head><body><a href=\\\"http://www.starrandco.zenfolio.com\\\"><img src=\\\"hiCows.jpg\\\"></a></body></html>")
#################
print("Content-type: text/html\r\n\r")
print(cgiText)
#################


#print(cgiText.split("<!--")[0])
#print(cgiText.split("<!--")[1])
#print(cgiText.split("<!--")[2])

#cgiArray = cgiText.split("<!--sub-->")

# @keyframes backgroundColorChange{
   # 0%{background-color: #D5D2FD;}
   # 50%{background-color: #FAFDD2;}
   # 100%{background-color: #D5D2FD;}
# }



And the reference file (HTML/CSS):
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>The Spinning Cow</title>
<style>
body{
   animation: backgroundColorChange 5s infinite;
}
img{
   display: block;
   width: 40%;
   margin: auto;
   position: relative;
   top: 120px;
   transition: border-radius 1s;
}img:hover{
   border-radius:50%;
   animation: rotateIMG 6s 1s infinite, imgRadiate3 3s infinite;
}img:not(:hover){
   animation: rotateIMG 6s 1s infinite paused, imgRadiate3 3s infinite paused;
}
@keyframes rotateIMG{
   0%{transform: rotate(0deg);}
   100%{transform: rotate(360deg);}
}
@keyframes imgRadiate3{

)

Thanks in advance. You guys rock!
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby Nobbie » 01. September 2019 10:47

Simply create a link as for HTML Files or PHP scripts, apply your CGI script in the href attribute and click on that link.

If you want to use a form instead, at least add a submit button to your form, specify a method (GET or POST) and click the submit button. See https://www.w3schools.com/html/html_forms.asp for basic Form syntax.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 01. September 2019 20:40

This is all that shows up. Yes, thank you, the href method works:

Code: Select all
print("") print("") print("") print("") print("[broken image link]")
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 01. September 2019 20:43

Here's what running the CGI script through python looks like:

Code: Select all
print("<!DOCTYPE html>")
print("<html>")
print("<head>")
print("<title>The Spinning Cow</title>")
print("<style>")
print("body{")
print(" animation: backgroundColorChange 5s infinite;")
print("}")
print("img{")
print(" display: block;")
print(" width: 40%;")
print(" margin: auto;")
print(" position: relative;")
print(" top: 120px;")
print(" transition: border-radius 1s;")
print("}img:hover{")
print(" border-radius:50%;")
print(" animation: rotateIMG 6s 1s infinite, imgRadiate3 3s infinite;")
print("}img:not(:hover){")
print(" animation: rotateIMG 6s 1s infinite paused, imgRadiate3 3s infinite paused;")
print("}")
print("@keyframes rotateIMG{")
print(" 0%{transform: rotate(0deg);}")
print(" 100%{transform: rotate(360deg);}")
print("}")
print("@keyframes imgRadiate3{")
print("0%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("1%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("2%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("3%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("4%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("5%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("6%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("7%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("8%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("9%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("10%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("11%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("12%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("13%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("14%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("15%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("16%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("17%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("18%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("19%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("20%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("21%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("22%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("23%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("24%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("25%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("26%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("27%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("28%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("29%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("30%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("31%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("32%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("33%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("34%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("35%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("36%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("37%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("38%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("39%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("40%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("41%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("42%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("43%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("44%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("45%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("46%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("47%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("48%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("49%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("50%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("51%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("52%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("53%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("54%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("55%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("56%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("57%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("58%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("59%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("60%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("61%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("62%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("63%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("64%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("65%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("66%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("67%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("68%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("69%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("70%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("71%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("72%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("73%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("74%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("75%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("76%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("77%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("78%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("79%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("80%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("81%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("82%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("83%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("84%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("85%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("86%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("87%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("88%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("89%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("90%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("91%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("92%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("93%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("94%{box-shadow: 0px 0px 47px RGBA(79, 236, 181, 0.6395618344678948);}")
print("95%{box-shadow: 0px 0px 157px RGBA(2, 166, 177, 0.23911907205709304);}")
print("96%{box-shadow: 0px 0px 157px RGBA(126, 102, 247, 0.6603837249085599);}")
print("97%{box-shadow: 0px 0px 78px RGBA(239, 87, 116, 0.6967917453967624);}")
print("98%{box-shadow: 0px 0px 78px RGBA(20, 150, 217, 0.7122049198166599);}")
print("99%{box-shadow: 0px 0px 41px RGBA(171, 189, 201, 0.8379907264525633);}")
print("100%{box-shadow: 0px 0px 183px RGBA(166, 136, 163, 0.11097859086401163);}")
print("")
print("}")
print("@keyframes backgroundColorChange{0%{background-color: RGB(39, 138, 56)}")
print("50%{background-color: RGB(181, 41, 175)}")
print("100%{backgroundcolor: RGB(39, 138, 56)}")
print("}")
print("</style></head><body><a href=\"http://www.starrandco.zenfolio.com\"><img src=\"hiCows.jpg\"></a></body></html>")
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 01. September 2019 20:45

So in short, the python script seems to work, but as a CGI on Apache, something is not functioning as intended.
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby Nobbie » 01. September 2019 21:45

There is missing a configuration, that "*.cgi" has to be executed as CGI. That can be done with a couple of different options, for example "ScriptAlias" for a certain path (i.e. /bin or similar), or provide "Options ExecCGI" to your DocumentRoot, or or or ... but i wonder, that *should* already be part of the Xampp configuration.

Last not least, maybe you didnt start your Form HTML correctly, you MUST NOT double click it in the explorer, instead you MUST enter a valid URL into your browser (for example http://localhost/myform.html) in order to request the file from your webserver. What do you enter into your browser for testing this?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 01. September 2019 22:39

Okay, thanks for the config advice. I'll look into it.

I don't open the cgi file in a browser--that doesn't work. I link to it from a root html page with href, and the cgi executes when i click on the link. This is at localhost:8080/[etc directories path], on XAMPP apache
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 02. September 2019 00:29

I moved the python cgi script to xampp/cgi-bin/ instead of htdocs but that didn't fix it. xampp/cgi-bin/ is the script-alias. I shouldn't need to modify ExecCGI as long as the CGI file is in /cgi-bin/.
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 02. September 2019 00:29

Oh wait I need to update the filepath. Hold on...
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 02. September 2019 00:32

Okay I changed the file path to point to the script copy in /cgi-bin/ but now I get:

Code: Select all
Forbidden
You don't have permission to access /cgi-bin/CGIRand.cgi on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.3.1 Server at localhost Port 8080
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 02. September 2019 00:38

https://stackoverflow.com/questions/211 ... phpmyadmin

But

Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "E:/computer stuff/website/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "E:/computer stuff/website/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "E:/computer stuff/website/xampp/php/php7ts.dll"
LoadFile "E:/computer stuff/website/xampp/php/libpq.dll"
LoadModule php7_module "E:/computer stuff/website/xampp/php/php7apache2_4.dll"

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php7_module>
    PHPINIDir "E:/computer stuff/website/xampp/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "E:/computer stuff/website/xampp/php/"
<Directory "E:/computer stuff/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "E:/computer stuff/website/xampp/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "E:/computer stuff/website/xampp/htdocs/xampp">
    <IfModule php7_module>
       <Files "status.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
    Alias /licenses "E:/computer stuff/website/xampp/licenses/"
    <Directory "E:/computer stuff/website/xampp/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
   </Directory>

    Alias /phpmyadmin "E:/computer stuff/website/xampp/phpMyAdmin/"
    <Directory "E:/computer stuff/website/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </Directory>

    Alias /webalizer "E:/computer stuff/website/xampp/webalizer/"
    <Directory "E:/computer stuff/website/xampp/webalizer">
        <IfModule php7_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </Directory>
</IfModule>


there are multiple Requires and I'm not sure which one they're talking about.
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby mmkstarr » 02. September 2019 00:40

And then https://anwaarlabs.wordpress.com/2014/0 ... r-windows/ says something about virtual hosts. Hmm. Do I need that?
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Running CGI on XAMPP Apache?

Postby Nobbie » 02. September 2019 10:13

Obviously you installed Xampp not to c:/xampp (what is recommended) and did not tell us. At next you decided to put Xampp into a folder which includes a space, what is NOT recommended. Then you began to change the basic configuration as a total newbie and now you wonder that it fails?!

I would delete the whole installation, delete the windows services (if there are already services for Apache and MySql), install Xampp to a better location (at least no spaces in the path), finally run the setup_xampp.bat Batchjob from the Xampp folder and try again. I cannot see what you already changed, what not, what you have overseen and what not. Its a mess, isnt it?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests