XAMPP index.PHP bringt immer Something is wrong with your XAMPP installation :(

FeeJay

Cadet 3rd Year
Registriert
Juni 2013
Beiträge
53
Hey,
ich habe einer Problem mit XAMPP.
Ich muss gerade einen Lehrgang zu ende bringen und habe nun gerade das Thema PHP.
Auf meinem Rechner

AMD Phenom II 2x3.1Ghz
Asus M4A785TD-V Evo
Windows 7 64Bit Professional

und auf meinem Windows XP Laptop kommt immer wieder der Fehler wenn ich die Datei index.php in htdocs öffne
"Somthing is wrong with your XAMPP installation :("

Leider brauche ich das nunmal im Moment und es funktioniert nicht :(

Also Apache und MysQL sind gestartet aber es funktioniert dennoch nicht.

Hat jemand Erfahrung mit Win7 und XAMPP?
 
Was sagen die Logs von Apache? Im XAMPP Steuerungsmodul beim Apache Logs anklicken und alle drei Dateien durchgucken. Am besten auch mal die VHosts Datei anschauen. Wie greifst du auf den Server zu?
 
Leider sind deine Angaben nur sehr wage.

Was ich dir sagen kann ist, dass PHP im Grunde ja kein Apache und MySQL braucht. Ich würde also was PHP betrifft als erstes mal schauen,
ob du ein einfaches PHP Script über die Commandline starten kannst:

http://php.net/manual/de/install.windows.commandline.php

Wenn das schon nicht geht, hat PHP mit Sicherheit Probleme mit einem Modul.

Warum dein SQL und dein Apache nicht gehen, sagen dir sicher die Logs der beiden. Wäre gut, wenn du die Fehler aus den Logfiles mal posten würdest.
 
Ist XAMPP im Rootverzeichnis des Laufwerks? Wenn nicht, das mag XAMPP so gar nicht.
 
@ BlubbsDE: Ist vollkommen Hupe, bei mir liegts normal in Program Files (x86). Die automatische Konfiguration (im Installer) regelt das korrekt.
 
Wenn man denn den Installer und nicht das ZIP Archiv benutzt hat, dann ja.
 
Also XAMPP ist installiert unter C:\Xampp und die Fehlerlogs sagen:
Apache:
[Sun Jun 23 16:50:52.470785 2013] [ssl:warn] [pid 2016:tid 248] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jun 23 16:50:52.535789 2013] [mpm_winnt:notice] [pid 2016:tid 248] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sun Jun 23 16:50:52.535789 2013] [mpm_winnt:notice] [pid 2016:tid 248] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jun 23 16:50:52.535789 2013] [core:notice] [pid 2016:tid 248] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jun 23 16:50:52.536789 2013] [mpm_winnt:notice] [pid 2016:tid 248] AH00418: Parent: Created child process 208
[Sun Jun 23 16:50:53.905867 2013] [ssl:warn] [pid 208:tid 260] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jun 23 16:50:53.977872 2013] [mpm_winnt:notice] [pid 208:tid 260] AH00354: Child: Starting 150 worker threads.
[Sun Jun 23 17:02:06.484337 2013] [core:error] [pid 208:tid 1728] (20024)The given path is misformatted or contained invalid characters: [client ::1:49405] AH00127: Cannot map GET /file:///C:/xampp/htdocs/index.php HTTP/1.1 to file
[Sun Jun 23 17:30:48.679841 2013] [core:warn] [pid 4484:tid 248] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jun 23 17:30:49.078864 2013] [ssl:warn] [pid 4484:tid 248] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jun 23 17:30:49.121866 2013] [mpm_winnt:notice] [pid 4484:tid 248] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sun Jun 23 17:30:49.121866 2013] [mpm_winnt:notice] [pid 4484:tid 248] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jun 23 17:30:49.121866 2013] [core:notice] [pid 4484:tid 248] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jun 23 17:30:49.122866 2013] [mpm_winnt:notice] [pid 4484:tid 248] AH00418: Parent: Created child process 4392
[Sun Jun 23 17:30:50.120923 2013] [ssl:warn] [pid 4392:tid 260] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jun 23 17:30:50.165926 2013] [mpm_winnt:notice] [pid 4392:tid 260] AH00354: Child: Starting 150 worker threads.

MySQL

130623 16:50:50 [Note] Plugin 'FEDERATED' is disabled.
130623 16:50:50 InnoDB: The InnoDB memory heap is disabled
130623 16:50:50 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130623 16:50:50 InnoDB: Compressed tables use zlib 1.2.3
130623 16:50:50 InnoDB: Initializing buffer pool, size = 16.0M
130623 16:50:50 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist:
InnoDB: a new database to be created!
130623 16:50:50 InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
130623 16:50:50 InnoDB: Log file C:\xampp\mysql\data\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
130623 16:50:50 InnoDB: Log file C:\xampp\mysql\data\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
130623 16:50:51 InnoDB: Waiting for the background threads to start
130623 16:50:52 InnoDB: 1.1.8 started; log sequence number 0
130623 16:50:52 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130623 16:50:52 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130623 16:50:52 [Note] Server socket created on IP: '0.0.0.0'.
130623 16:50:52 [Note] Event Scheduler: Loaded 0 events
130623 16:50:52 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.27' socket: '' port: 3306 MySQL Community Server (GPL)
130623 17:30:48 [Note] Plugin 'FEDERATED' is disabled.
130623 17:30:48 InnoDB: The InnoDB memory heap is disabled
130623 17:30:48 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130623 17:30:48 InnoDB: Compressed tables use zlib 1.2.3
130623 17:30:48 InnoDB: Initializing buffer pool, size = 16.0M
130623 17:30:48 InnoDB: Completed initialization of buffer pool
130623 17:30:48 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
130623 17:30:48 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
130623 17:30:48 InnoDB: Waiting for the background threads to start
130623 17:30:49 InnoDB: 1.1.8 started; log sequence number 1595675
130623 17:30:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130623 17:30:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130623 17:30:49 [Note] Server socket created on IP: '0.0.0.0'.
130623 17:30:49 [Note] Event Scheduler: Loaded 0 events
130623 17:30:49 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.27' socket: '' port: 3306 MySQL Community Server (GPL)
 
Was ist denn /file:///C:/xampp/htdocs/index.php für ein Pfad? Du musst es schon über http://localhost/index.php ansprechen. Einfach in den Browser ziehen klappt nicht. Ab davon hilft ein alter Log evtl. wenig. Reproduzier den Fehler mal jetzt und zeig uns nur die relevanten Stellen.
 
Wenn ich localhost/index.php eingebe lande ich auf der normalen XAMPP Page :(
in Apache PHP (php_error_log) zeigt er dann an:
[23-Jun-2013 14:53:36 UTC] PHP Warning: file_get_contents(lang.tmp): failed to open stream: No such file or directory in C:\xampp\htdocs\xampp\index.php on line 2
 
Dann läuft doch XAMPP und er leidet dich auf die XAMPP Seite weil wie du den Fehler selbst schreibst, wird die index.php Datei nicht gefunden. Du musst nun eine Index.php Datei hinterlegen, wonach Apache sucht, kannst du in der VHosts Datei definieren.
 
Zurück
Oben