Search found 6907 matches: mysql can't start

Searched query: +mysql +can't +start

Return to advanced search

Apache is blocked and MYSQL won't start...

So I've been going back and forth for the past three days attempting to run Apache and Mysql using XAMPP. I have downloaded the latest version of XAMPP into the generic C:\ folder, but I'm using Vista so I'm sure its causing a problem. I had removed all other XAMPP, MYSQL, and Apache files and programs using regedit before downloading the latest XAMPP 1.8.1-0. I already stopped Skype from using port 80. After installation, I run the XAMPP control panel and I get this:
2:08:06 PM [main] Initializing Control Panel
2:08:06 PM [main] Windows Version: Windows Vista SP2 64-bit
2:08:06 PM [main] XAMPP Version: 1.8.1
2:08:06 PM [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
2:08:06 PM [main] Running with Administrator rights - good!
2:08:06 PM [main] XAMPP Installation Directory: "c:\xampp\"
2:08:06 PM [main] Checking for prerequisites
2:08:06 PM [main] All prerequisites found
2:08:06 PM [main] Initializing Modules
2:08:06 PM [Apache] Problem detected!
2:08:06 PM [Apache] Port 80 in use by "system"!
2:08:06 PM [Apache] Apache WILL NOT start without the configured ports free!
2:08:06 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
2:08:06 PM [Apache] or reconfigure Apache to listen on a different port
2:08:06 PM [mysql] MySQL Service detected with wrong path
2:08:06 PM [mysql] Change XAMPP MySQL settings or
2:08:06 PM [mysql] Uninstall/disable the other service manually first
2:08:06 PM [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL
2:08:06 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
2:08:06 PM [main] Starting Check-Timer
2:08:06 PM [main] Control Panel Ready

This happens after I try to run Apache again:
2:13:08 PM [Apache] Attempting to start Apache app...
2:13:08 PM [Apache] Status change detected: running
2:13:11 PM [Apache] Status change detected: stopped
2:13:11 PM [Apache] Error: Apache shutdown unexpectedly.
2:13:11 PM [Apache] This may be due to a blocked port, missing dependencies,
2:13:11 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:13:11 PM [Apache] Check the "/xampp/apache/logs/error.log" file
2:13:11 PM [Apache] and the Windows Event Viewer for more clues

Then I tried to start MYSQL and this happened:
2:13:55 PM [mysql] Attempting to start MySQL service...

Any and all advice is welcomed!!!
by Lineventer
06. June 2013 23:27
 
Forum: XAMPP for Windows
Topic: Apache is blocked and MYSQL won't start...
Replies: 0
Views: 1530

Re: cpanel crash

when i start the C panel it tels me skype is using port 80 443

4:17:35 AM [Apache] Checking default ports...
4:17:35 AM [Apache] Portblocker Detected: c:\program files (x86)\skype\phone\skype.exe
4:17:35 AM [Apache] Checking for App: c:\xampp\apache\bin\httpd.exe
4:17:35 AM [Apache] Problem detected!
4:17:35 AM [Apache] Port 80 in use by "c:\program files (x86)\skype\phone\skype.exe"!
4:17:35 AM [Apache] Apache WILL NOT start without the configured ports free!
4:17:35 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
4:17:35 AM [Apache] or reconfigure Apache to listen on a different port
4:17:35 AM [Apache] Portblocker Detected: c:\program files (x86)\skype\phone\skype.exe
4:17:35 AM [Apache] Checking for App: c:\xampp\apache\bin\httpd.exe
4:17:35 AM [Apache] Problem detected!
4:17:35 AM [Apache] Port 443 in use by "c:\program files (x86)\skype\phone\skype.exe"!
4:17:35 AM [Apache] Apache WILL NOT start without the configured ports free!
4:17:35 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
4:17:35 AM [Apache] or reconfigure Apache to listen on a different port


but when i change it to 81 440 it gives me :

Status change detected: stopped
2:34:17 AM [Apache] Error: Apache shutdown unexpectedly.
2:34:17 AM [Apache] This may be due to a blocked port, missing dependencies,
2:34:17 AM [Apache] improper privileges, a crash, or a shutdown by another method.
2:34:17 AM [Apache] Check the "/xampp/apache/logs/error.log" file
2:34:17 AM [Apache] and the Windows Event Viewer for more clues
2:34:21 AM [mysql] Attempting to stop MySQL (PID: 5216)
2:34:21 AM [mysql] Status change detected: stopped

is there a specific port to use?
by 2winners
05. June 2013 09:17
 
Forum: XAMPP for Windows
Topic: XAMPP CONTROL PANEL Version 3 Problems
Replies: 154
Views: 240913

Re: MySQL Version Error

Hi pclove,

Please start new threads with the words "Hi" or "Hello". A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board. Thank you.

PHP doesn't have the possibility to determine the MySQL Server version itself.
There are two ways to check for the correct server version but:

with the help of Shell without the need to login to the database
Code: Select all
function getMySQLVersion() {
    $output = shell_exec('mysql -V');
    preg_match('@[0-9]+\.[0-9]+\.[0-9]+@', $output, $version);
    return $version[0];
}
print mysql_get_client_info();


After login with the php function mysql_get_server_info()

The first version is not bullet proof because not everyone has shell access
The second one needs a successful mysql connection

The only information PHP can get without asking the database is the information from the mysql connector which is the MySQL Client version.
This Client version can be very different from the Server version without losing any functionality.

There is nothing you can do except looking for new versions, fixes or workarounds of your webapplication.

best wishes,
Altrea
by Altrea
03. June 2013 23:24
 
Forum: XAMPP for Windows
Topic: MySQL Version Error
Replies: 3
Views: 1327

I have two problems with xampp

Hi!

So yesterday I began working with xampp, it was really my first time. I am learning how to use php and incorporate it with MySQL and I ran into a problem. First, when I launch the "xampp control Panel v3.1.0 I receive this in the logs:
Code: Select all
12:19:13 AM  [mysql]    Expected Path: e:\xampp1\mysql\bin\mysqld.exe --defaults-file=e:\xampp1\mysql\bin\my.ini mysql
12:19:13 AM  [mysql]    Problem detected!
12:19:13 AM  [mysql]    Port 3306 in use by "mysqld.exe"!
12:19:13 AM  [mysql]    MySQL WILL NOT start without the configured ports free!
12:19:13 AM  [mysql]    You need to uninstall/disable/reconfigure the blocking application
12:19:13 AM  [mysql]    or reconfigure MySQL to listen on a different port


Secondly, every time I start apache I get "Access violation at address XXXXXX in module 'xampp-control.exe'. Then the control panel crashes for "xampp-control.exe has stopped working". I believe it has something to do with some other thing taking up port 80, but the error seems vague to me. I also get a "system error code 5" sometimes.

Thanks! Sorry if this is a stupid question, I'm new to all of this. If you need any logs just reply and I'll add them ASAP.

-Fisher

I've looked for a "mysqld.exe" but I cannot find a file or anything anywhere on my computer that matches that.
by fish181
02. June 2013 05:31
 
Forum: XAMPP for Windows
Topic: I have two problems with xampp
Replies: 3
Views: 2615

Re: *** New XAMPP CONTROL PANEL Version 3 ***

Code: Select all
1:20:56 AM  [main]    Initializing Control Panel
11:20:56 AM  [main]    Windows Version: Windows XP SP3 32-bit
11:20:56 AM  [main]    XAMPP Version: ???
11:20:56 AM  [main]    Control Panel Version: 3.2.0  [ Compiled: March 24th 2013 ]
11:20:56 AM  [main]    Running with Administrator rights - good!
11:20:56 AM  [main]    XAMPP Installation Directory: "d:\xampp\"
11:20:56 AM  [main]    Checking for prerequisites
11:20:56 AM  [main]    All prerequisites found
11:20:56 AM  [main]    Initializing Modules
11:20:56 AM  [Apache]    Initializing module...
11:20:56 AM  [Apache]    Checking for module existence...
11:20:56 AM  [Apache]    Checking for required tools...
11:20:56 AM  [Apache]    Checking for service (name="Apache2.4"): Service installed
11:20:56 AM  [Apache]    Service Path: "d:\xampp\apache\bin\httpd.exe" -k runservice
11:20:56 AM  [Apache]    Checking default ports...
11:20:56 AM  [mysql]    Initializing module...
11:20:56 AM  [mysql]    Checking for module existence...
11:20:56 AM  [mysql]    Checking for required tools...
11:20:56 AM  [mysql]    Checking for service (name="mysql"): Service not installed
11:20:56 AM  [mysql]    Service Path: Service Not Installed
11:20:56 AM  [mysql]    Checking default ports...
11:20:56 AM  [filezilla]    Initializing module...
11:20:56 AM  [filezilla]    Checking for module existence...
11:20:56 AM  [filezilla]    Checking for alternate module existence...
11:20:56 AM  [filezilla]    Problem detected: FileZilla Not Found!
11:20:56 AM  [filezilla]    Disabling FileZilla buttons
11:20:56 AM  [filezilla]    Run this program from your XAMPP root directory!
11:20:56 AM  [filezilla]    Checking for required tools...
11:20:56 AM  [filezilla]    Checking for service (name="FileZillaServer"): Service not installed
11:20:56 AM  [filezilla]    Service Path: Service Not Installed
11:20:56 AM  [filezilla]    Checking default ports...
11:20:56 AM  [mercury]    Initializing module...
11:20:56 AM  [mercury]    Checking for module existence...
11:20:56 AM  [mercury]    Problem detected: Mercury Not Found!
11:20:56 AM  [mercury]    Disabling Mercury buttons
11:20:56 AM  [mercury]    Run this program from your XAMPP root directory!
11:20:56 AM  [mercury]    Checking for required tools...
11:20:56 AM  [mercury]    Checking default ports...
11:20:56 AM  [Tomcat]    Initializing module...
11:20:56 AM  [Tomcat]    Checking for module existence...
11:20:56 AM  [Tomcat]    Problem detected: Tomcat Not Found!
11:20:56 AM  [Tomcat]    Disabling Tomcat buttons
11:20:56 AM  [Tomcat]    Run this program from your XAMPP root directory!
11:20:56 AM  [Tomcat]    Checking for required tools...
11:20:56 AM  [Tomcat]    Checking for service (name="Tomcat7"): Service not installed
11:20:56 AM  [Tomcat]    Service Path: Service Not Installed
11:20:56 AM  [Tomcat]    Checking default ports...
11:20:56 AM  [main]    Starting Check-Timer
11:20:56 AM  [main]    Control Panel Ready
11:21:05 AM  [main]    Executing notepad.exe d:\xampp\mysql\data\mysql_error.log
11:21:15 AM  [main]    Executing "d:\xampp\mysql\data"
11:21:36 AM  [main]    Executing notepad.exe d:\xampp\mysql\data\mysql_error.log
11:23:15 AM  [mysql]    Checking default ports...
11:23:15 AM  [mysql]    Attempting to start MySQL app...
11:23:15 AM  [mysql]    Executing ""d:\xampp\mysql\bin\mysqld.exe" --defaults-file="d:\xampp\mysql\bin\my.ini" --standalone"
11:23:15 AM  [mysql]    Return code: 0
11:23:15 AM  [mysql]    Status change detected: running
11:23:31 AM  [mysql]    Attempting to stop MySQL (PID: 928)
11:23:31 AM  [mysql]    Status change detected: stopped
11:23:36 AM  [mysql]    Installing service...
11:23:36 AM  [mysql]    Executing "d:\xampp\mysql\bin\mysqld.exe" --install "mysql" --defaults-file="d:\xampp\mysql\bin\my.ini"
11:23:37 AM  [mysql]    Return code: 0
11:23:37 AM  [mysql]    Checking for service (name="mysql"): Service installed
11:23:37 AM  [mysql]    Service Path: d:\xampp\mysql\bin\mysqld.exe --defaults-file=d:\xampp\mysql\bin\my.ini mysql
11:23:37 AM  [mysql]    Successful!
11:23:39 AM  [mysql]    Checking default ports...
11:23:39 AM  [mysql]    Attempting to start MySQL service...
11:23:39 AM  [mysql]    Executing "net start "mysql""
11:23:40 AM  [mysql]    Status change detected: running
11:23:45 AM  [mysql]    Status change detected: stopped
11:23:45 AM  [mysql]    Error: MySQL shutdown unexpectedly.
11:23:45 AM  [mysql]    This may be due to a blocked port, missing dependencies,
11:23:45 AM  [mysql]    improper privileges, a crash, or a shutdown by another method.
11:23:45 AM  [mysql]    Press the Logs button to view error logs and check
11:23:45 AM  [mysql]    the Windows Event Viewer for more clues
11:23:45 AM  [mysql]    If you need more help, copy and post this
11:23:45 AM  [mysql]    entire log window on the forums
11:23:47 AM  [mysql]    Return code: 0
by overapache
02. June 2013 04:24
 
Forum: XAMPP for Windows
Topic: XAMPP CONTROL PANEL Version 3 Problems
Replies: 154
Views: 240913

Problem with testing my email.php

Hello everyone! This is my first post here so I wanted to kindly ask all of you for patience as I am very new to both, PHP and XAMPP. I am quite sure this is a basic question for most of you but I am cracking my head to solve it and still didn't find the answer. So, I hope you can help me solve this problem.

Well, I installed XAMPP 1.8.1. yesterday and I tried to test my web form and email.php file which is supposed to forward the message of the people who want to contact me - directly into my inbox. However, that doesn't happens and I can't figure out why.

Here is my HTML code:
Code: Select all
<!DOCTYPE html>
<html>
<head>
   <title>Slide Down Contact Form</title>
   <script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.min.js'></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
   <link rel='stylesheet' type='text/css' href='http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css'/>
   <script type='text/javascript' src='dropbox.js'></script>
   <link rel="stylesheet" type="text/css" href="main.css" />
</head>

<body>
   <div class="container">

      <div id="button" class="title">
         <h6>Contact</h6>
      </div>
      
      <div id="dropbox">
         <header class="title">
            <h6>Whats up?</h6>
         </header>
         
         <div class="contact-form">
            <form action="email.php" action="post">
                  <h6><img src="img/person.png" alt="" /> Name</h6>
               <input type="text" placeholder="Please enter your full name here" required />
                  <h6><img src="img/email.png" alt="" /> E-mail</h6>
               <input type="email" placeholder="Please enter your e-mail address" required/>
                  <h6><img src="img/message.png" alt="" /> Message</h6>
               <textarea placeholder="Type your message..." required/></textarea>
               
               <input type="submit" value="Submit">
            </form>
         </div>
      </div>
      
   </div>

<script src="dropbox.js"></script>

</body>
</html>


Here is my CSS code:
Code: Select all
@import url("reset.css");

#button {
    position: absolute;
    top: 0;
    right: 10%;
    color: #eee;
    z-index: 2;
    width: 175px;
    background: #c20000;
    text-align: center;
    height: 40px;
    -webkit-border-radius: 0px 0px 2x 2px;
    border-radius: 0px 0px 2px 2px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 1em;
    text-transform: uppercase;
}
#button:hover {
    background: #da0000;
    cursor: pointer;
}
#button > h6{
    line-height: 40px;
    margin: 0px;
    padding-top: 0px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.8em;
    text-transform: uppercase;
}
#dropbox {
    position: absolute;
    top: 0px;
    right: 10%;
    color: #eee;
    z-index: 1;
    background: #222222;
    width: 350px;
    display: none;
    -webkit-box-shadow: 0px 0px 16px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 16px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 16px rgba(50, 50, 50, 0.75);
}
#dropbox .title {
    height: 40px;
    background: #414141;
}
#dropbox .title > h6{
    line-height: 40px;
    padding-left: 58px;
    margin-top: 0px;
}
#dropbox {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 1em;
    text-transform: uppercase;
}
#dropbox .contact-form {
    margin: 10px;
}
#dropbox .contact-form h6{
    margin: 5px;
}
#dropbox input {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.9em;
    outline: none;
    border: none;
    width: 320px;
    max-width: 330px;
    padding: 5px;
    margin: 10px 0px;
    background: #444444;
    color: #eee;
}
#dropbox textarea {
    height: 70px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.9em;
    outline: none;
    border: none;
    width: 320px;
    max-width: 320px;
    padding: 5px;
    margin: 10px 0px;
    background: #444444;
    color: #eee;
}
#dropbox input[type=submit] {
    margin: 0px;
    width: 330px;
    cursor: pointer;
    color: #999;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
}
#dropbox input[type=submit]:hover {
    color: #eee;
    background: #c20000;
}


Here is my jQuery saved as dropbox.js:
Code: Select all
$(document).ready(function () {
   $('#button').mouseenter(function() {
      if($('#dropbox').is(':hidden')) {
         $('#dropbox').slideDown('fast', function() {
            // slidedown animation
         });
      } else {
         $('#dropdox').hide();
      }
   });
   
   $('#dropbox').mouseleave(function() {
      $('#dropbox').slideUp('fast', function() {
         // slide back up
      });
   });
   
});


And here is my PHP code saved as email.php:
Code: Select all
<?php
  $name= $_REQUEST['name'] ;
  $email = $_REQUEST['email'] ;
  $message = $_REQUEST['message'] ;

  mail( "myemail@domain.com", "Feedback Form Results",
    $message, "From: $email" );
  header( 'Location: Index.html' );
?>


Finally, here is my problem:
1. I copy-pasted all of the above files into:
file:///C:/xampp/htdocs
2. I started all servers at XAMPP control panel and checked their status which says:
MySQL database ACTIVATED
PHP ACTIVATED
HTTPS (SSL) ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED
SMTP Service ACTIVATED
FTP Service ACTIVATED
Tomcat Service ACTIVATED
3. In C:/xampp/htdocs there is an index.html document. When I click on it it opens (I use Mozilla Firefox) and it says: IT WORKS!
4. Still, when I open my web form (which is located in C:/xampp/htdocs) and when I fill it and submit the message for testing, the e-mail is never forwarded to my inbox???

Now, I am not sure if maybe my PHP code is not good (feel free to fix it, please) or there are some settings with XAMPP that I have to fix in order to make it work!

What are the servers that I need to start in order to forward the message to my e-mail address???

I apologize for such a lengthy question but I wanted to give you as much info as I could about my problem in order to make it easier for you to help me solve it.

Many thanks in advance to all of you!!!
by Chico Felipe
31. May 2013 14:03
 
Forum: XAMPP for Windows
Topic: Problem with testing my email.php
Replies: 38
Views: 20098

Re: *** New XAMPP CONTROL PANEL Version 3 ***

Hi installed the cpanel 3.2 over the 1.8.1. The mysql service does not start, manual start is fine. The Apache service works fine.

Error log

nnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
130531 18:38:37 InnoDB: Waiting for the background threads to start
130531 18:38:38 InnoDB: 1.1.8 started; log sequence number 4072191
130531 18:38:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130531 18:38:38 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130531 18:38:38 [Note] Server socket created on IP: '0.0.0.0'.
130531 18:38:39 [Note] Event Scheduler: Loaded 0 events
130531 18:38:39 [Note] d:\xampp\mysql\bin\mysqld.exe: ready for connections.
by overapache
31. May 2013 11:46
 
Forum: XAMPP for Windows
Topic: XAMPP CONTROL PANEL Version 3 Problems
Replies: 154
Views: 240913

XAMPP: Couldn't start MySQL!

In the last days I've worked a lot with my localhosted web site, today I can not.
Code: Select all
/opt/lampp/lampp start
XAMPP: Couldn't start MySQL!


I try to access to phpmyadmin:
Code: Select all
Error
MySQL said: 
No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.


error_log in /opt/lampp/logs says:
Code: Select all
[Thu May 30 08:21:09.265104 2013] [ssl:warn] [pid 13481] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 30 08:21:09.340792 2013] [ssl:warn] [pid 13481] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu May 30 08:21:09.340939 2013] [suexec:notice] [pid 13481] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Thu May 30 08:21:10.236790 2013] [auth_digest:notice] [pid 13559] AH01757: generating secret for digest authentication ...
[Thu May 30 08:21:11.299119 2013] [ssl:warn] [pid 13559] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 30 08:21:11.299218 2013] [ssl:warn] [pid 13559] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu May 30 08:21:11.299408 2013] [lbmethod_heartbeat:notice] [pid 13559] AH02282: No slotmem from mod_heartmonitor
[Thu May 30 08:21:11.334684 2013] [mpm_prefork:notice] [pid 13559] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu May 30 08:21:11.334805 2013] [core:notice] [pid 13559] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
by fifone
30. May 2013 09:26
 
Forum: XAMPP for Linux
Topic: XAMPP: Couldn't start MySQL!
Replies: 0
Views: 1709

Re: after installing xampp can not start apache or mysql

I don't understand a word of your last reply.
How is the apache_start.bat related to the readme_de.txt file? :shock:
Answer: it is NOT related
by Altrea
29. May 2013 15:37
 
Forum: XAMPP for Windows
Topic: after installing xampp can not start apache or mysql
Replies: 5
Views: 4191

Re: after installing xampp can not start apache or mysql

Hello Alrea

After enter xampp/apache_start.bat I selected readme_de at windows command line . I also got another return apache_start that brought up command prompt. Below I copyed and paste what my return was after selecting readme_de.


###### ApacheFriends XAMPP Version 1.8.1 ######

Wichtig! PHP in diesem Paket benötigt die Microsoft Visual C++ 2008 Redistributable Erweiterung von
http://www.microsoft.com/en-us/download/details.aspx?id=5582. Bitte stellen Sie sicher das die VC++ 2008
Runtime Bibliothek auf Ihrem System installiert ist.

+ Apache 2.4.3
+ MySQL 5.5.27 (Community Server)
+ PHP 5.4.7 (VC9 X86 32bit thread safe) + PEAR
+ phpMyAdmin 3.5.2.2
+ OpenSSL 1.0.1c
+ ADOdb 5.17
+ Mercury Mail Transport System v4.62 (nicht in der Portable Version)
+ FileZilla FTP Server 0.9.41 (nicht in der Portable Version)
+ Webalizer 2.23-04 (nicht in der Portable Version)
+ Strawberry Perl 5.16.1.1 Portable
+ Tomcat 7.0.30
+ XAMPP Control Panel Version 3.1.0 von hackattack142 (Ein großes Danke Schön!)
Vgl.: http://community.apachefriends.org/f/viewtopic.php?f=16&t=46743
+ XAMPP Security
+ XAMPP mailToDisk 1.0 (schreibt verdendete Mails über PHP auf die Festplatte unter <xampp>\mailoutput. In der php.ini als Mail Default aktiviert.)

---------------------------------------------------------------

* System-Voraussetzungen:

+ 64 MB RAM (EMPFOHLEN)
+ 750 MB freier Speicherplatz
+ Windows 2003, XP (EMPFOHLEN), VISTA, Windows 7

* ACHTUNG!!!!

Wenn ihr Probleme mit der mysql Verbindung via php bzw. phpMyAdmin (pber die mysqlnd API) habt dann schaut bitte unbedingt hier:
http://localhost/xampp/index.php


* SCHNELLINSTALLATION:

[HINWEIS: Auf die obersten Hirachie eines beliebigen Laufwerks bzw. auf dem Wechseldatenträger des USB-Sticks entpacken => E:\ oder W:\. Es entsteht E:\xampp oder W:\xampp. Für den USB-Stick nicht die "setup_xampp.bat" nutzen, um ihn auch transportabel nutzen zu können!]

Schritt 1: Das Setup mit der Datei "setup_xampp.bat" im XAMPP-Verzeichnis starten. Bemerkung: XAMPP macht selbst keine Einträge in die Windows Registry und setzt auch keine Systemvariablen.

Schritt 2: Starten Sie den Apache2 mit PHP5.x mit dem Control Panel (xampp-control.exe) oder wahlweise mit => \xampp\apache_start.bat.
Stoppen Sie den Apache2 mit PHP5.x mit dem Control Panel (xampp-control.exe) oder wahlweise mit => \xampp\apache_stop.bat.

Schritt 3: Starten Sie MySQL mit dem Control Panel (xampp-control.exe) oder wahlweise mit => \xampp\mysql_start.bat.
Stoppen Sie MySQL mit dem Control Panel (xampp-control.exe) oder wahlweise mit => \xampp\mysql_stop.bat.

Schritt 4: Öffne deinen Browser und gebe http://127.0.0.1 oder http://localhost ein. Danach gelangst du zu den zahlreichen ApacheFriends-Beispielen auf Ihrem lokalen Server.

Schritt 5: Das Root-Verzeichnis (Hauptdokumente) für HTTP (oft HTML) ist => C:\xampp\htdocs. PHP kann die Endungen *.php, *.php3, *.php4, *.php5, *.phtml haben, *.shtml für SSI, *.cgi für CGI (z. B.: Perl).

Schritt 6: XAMPP DEINSTALLIEREN?
Einfach das "XAMPP"-Verzeichnis löschen. Vorher aber alle Server stoppen
bzw. als Dienste deinstallieren.

---------------------------------------------------------------

* PHP MAIL FUNCTION:

Es gibt drei Arten die PHP Mail function testweise zu benutzen.

1) Mit XAMPP mailToDisk wird jede Email die über die Mail Funktion von PHP versendet wird nach <xampp>\mailoutput geschrieben. MailToDisk ist Standard und Bedarf keine Änderung in der php.ini. MailToDisk keinesfalls produktiv einsetzen!
2) Mit fakemail (sendmail.exe) werden alle Mails versendet mit PHP mail() in ein von ihnen definiertes externes Postfach geschickt. Zuvor müssen sie ihr Postfach in der <xampp>\sendmail\sendmail.ini konfigurieren und auch die sendmail.exe in der php.ini aktivieren.
3) Sie bnutzen einen eigenen SMTP Server wie der im XAMPP integrierte Mercury Mail Server oder einen externen SMTP Server (wie IIS). Hierzu kommentieren sie in der php.ini alle sendmail_path Zeilen aus und kommentieren dafür die Zeilen -> SMTP = localhost und -> smtp_port = 25 mit ihren Daten ein.

ACHTUNG: Wenn sie im Installationspfad Leerzeichen verwenden (wie c:\program files\xampp), wird mailToDisk und fakemail (sendmail.exe) u.U. nicht funktionieren. In diesem Fall den <xampp>\mailtodisk bzw. <xampp>\sendmail in ein Vereichnis ohne Leerzeichen kopieren und den neuen Pfad entsprechend in der php.ini aktualisieren.

---------------------------------------------------------------

* PASSWÖRTER:

1) MySQL:

Benutzer: root
Passwort:
(also kein Passwort!)

2) FileZilla FTP:

[ Sie müssen erst einen neuen Benutzer über das User FileZilla Interface erstellen. ]

3) Mercury:

Postmaster: Postmaster (postmaster@localhost)
Administrator: Admin (admin@localhost)

TestUser: newuser
Passwort: wampp

4) WEBDAV:

Benutzer: xampp-dav-unsecure
Password: ppmax2011

---------------------------------------------------------------

* NUR FÜR NT-SYSTEME! (NT4 | Windows 2000 | Windows XP | Windows 2003):

- \xampp\apache\apache_installservice.bat
===> Installiert den Apache 2 als Dienst

- \xampp\apache\apache_uninstallservice.bat
===> Deinstalliert den Apache 2 als Dienst

- \xampp\mysql\mysql_installservice.bat
===> Installiert MySQL als Dienst

- \xampp\mysql\mysql_uninstallservice.bat
===> Deinstalliert MySQL als Dienst

==> Nach allen De- / Installationen der Dienste, System unbedingt neustarten!

---------------------------------------------------------------

* DAS THEMA SICHERHEIT:

Wie schon an anderer Stelle erwähnt ist XAMPP nicht für den Produktionseinsatz gedacht, sondern nur für Entwickler in Entwicklungsumgebungen. Das hat zur Folge, dass XAMPP absichtlich nicht restriktiv sondern im Gegenteil sehr offen vorkonfiguriert ist. Für einen Entwickler ist das ideal, da er so keine Grenzen vom System vorgeschrieben bekommt.
Für einen Produktionseinsatz ist das allerdings überhaupt nicht geeignet!
Hier eine Liste, der Dinge, die an XAMPP absichtlich (!) unsicher sind:

- Der MySQL-Administrator (root) hat kein Passwort.
- Der MySQL-Daemon ist übers Netzwerk erreichbar.
- phpMyAdmin ist über das Netzwerk erreichbar.
- In dem XAMPP-Demo-Seiten (die man unter http://localhost/ findet) gibt es den Punkt "Sicherheitscheck".
Dort kann man sich den aktuellen Sicherheitszustand seiner XAMPP-Installation anzeigen lassen.

Will man XAMPP in einem Netzwerk betreiben, so dass der XAMPP-Server auch von anderen erreichbar ist, dann sollte man unbedingt die folgende URL aufrufen, mit dem man diese Unsicherheiten einschränken kann:

http://localhost/security/

Hier kann das Root-Passwort für MySQL und phpMyAdmin und auch ein Verzeichnisschutz für die
XAMPP-Seiten eingerichtet werden.

---------------------------------------------------------------

* MYSQL-Hinweise:

(1) Um den MySQL-Daemon zu starten bitte Doppelklick auf \xampp\mysql_start.bat.
Der MySQL Server startet dann im Konsolen-Modus. Das dazu gehörige Konsolenfenster muss offen bleiben (!!) Zum Stop bitte die mysql_stop.bat benutzen!

(2) Wer MySQL als Dienst unter NT / 2000 / XP benutzen möchte, muss unbedingt (!) vorher die "my" bzw."my.ini unter C:\ (also C:\my.ini) implementieren. Danach die "mysql_installservice.bat" im Ordner "mysql" aktivieren. Dienste funktionieren generell NICHT unter Windows Home-Versionen.

(3) Der MySQL-Server startet ohne Passwort für MySQl-Administrator "root".
Für eine Zugriff in PHP sähe das also aus:

mysql_connect("localhost", "root", "");

Ein Passwort für "root" könnt ihr über den MySQL-Admin in der Eingabeaufforderung
setzen. Z. B.:

C:\xampp\mysql\bin\mysqladmin.exe -u root -p geheim

Wichtig: Nach dem Einsetzen eines neuen Passwortes für Root muss auch phpMyAdmin informiert werden! Das geschieht über die Datei "config.inc.php"; zu finden als C:\xampp\phpmyadmin\config.inc.php. Dort also folgenden
Zeilen editieren:

$cfg['Servers'][$i]['user'] = 'root'; // MySQL User
$cfg['Servers'][$i]['auth_type'] = 'http'; // HTTP-Authentifzierung

So wird zuerst das "root"-Passwort vom MySQL-Server abgefragt, bevor phpMyAdmin zugreifen darf.

---------------------------------------------------------------

Have a lot of fun! | Viel Spaß! | Bonne Chance!
by Joe_Joe_Joe
29. May 2013 15:11
 
Forum: XAMPP for Windows
Topic: after installing xampp can not start apache or mysql
Replies: 5
Views: 4191

ReRe: after installing xampp can not start apache or mysql

Hello Altrea

I started apache in the hopes of getting to command line to type in \xampp\apache_start.bat and got the same error message while control panel is not responding. I also typed \xampp\apache_start.bat in comand line with out staring Apache and a got several returns. But I am not certian what type of information I need to move forward with. Please in regards to all. If at all. Any further ideas. Thank you Joe.
by Joe_Joe_Joe
29. May 2013 02:05
 
Forum: XAMPP for Windows
Topic: after installing xampp can not start apache or mysql
Replies: 5
Views: 4191

Re: after installing xampp can not start apache or mysql

Hi Joe,

Please try to start \xampp\apache_start.bat in your Windows command line and report what you get as response.

best wishes,
Altrea
by Altrea
28. May 2013 20:11
 
Forum: XAMPP for Windows
Topic: after installing xampp can not start apache or mysql
Replies: 5
Views: 4191

after installing xampp can not start apache or mysql

hello

After installing the latest version of xampp on windows 7 computer and choosing the zipped file version of intsalling the software. Opening control panel and turning on both modules services for Apache and Mysql. All working fine. But when I click on the start button in control panel to turn on each service one at a time they never manage to turn themsleves on. Not seeing any configuation going on under the Port(s) field. If try to start Apache and My SQl at the same time I get an error message. And other times when trying this control panel says that xampp is not responding. Not sure what I am doing wrong or why this keep happening.

Before intsalling I turned off user accounts and I have Microsoft C++ 2008 32 bit runtime library intsalled. I am new to the xampp program and would like to use it. If at all possible can some please explain why this is happening and what I can do to rectify this all. Are there any go to steps that I can get this resolved. Any information would greatly help. Thank you Joe.
by Joe_Joe_Joe
28. May 2013 20:04
 
Forum: XAMPP for Windows
Topic: after installing xampp can not start apache or mysql
Replies: 5
Views: 4191

Re: mySQL won't work with password in XAMPP

Hi nonlin,

Please start new threads with the words "Hi" or "Hello". A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board.

nonlin wrote:Every time I set a password for mysql in the XMPP Security tab, the CD collection PHP (test? I presume?) says that it can't access the mysql database.

You have to add the password in the cd collection script too.
Open your \xampp\htdocs\xampp\cds.php and change lines 5 and 78 by entering your password as third parameter of the mysql_connect function.

best wishes,
Altrea
by Altrea
27. May 2013 13:27
 
Forum: MySQL
Topic: mySQL won't work with password in XAMPP
Replies: 3
Views: 5019

Re: Windows could not start MYSQL service on local computer

Hi All,
It is working now, i was trying to use it from console but it was not working but when i executed the mysql_start it was working fine.
Thanks,
Sai
by sai1987mit
27. May 2013 01:09
 
Forum: XAMPP for Windows
Topic: Windows could not start MYSQL service on local computer
Replies: 1
Views: 1022
PreviousNext

Return to advanced search