Hallo!
ich habe mir gestern den Apache 2.2 erfolgreich installiert: er kann html-Seiten anzeigen.
(nach dieser Anleitung: http://www.teialehrbuch.de/Kostenlose-Kurse/PHP/9219-PHP-installieren.html)
Anschließend habe ich versucht, PHP5.2.8 als Modul zu installieren. Es kamen unterschiedliche Fehler bis mir nun bei jedem Skriptaufruf nur eine leere Seite angezeigt wrd. Z.B. steht im Quelltext <? echo 'test'; ?>, aber die Ausgabe im Browser ist einfach nur eine weiße Seite. So verhält es sich auch mit <? phpinfo(); ?>
Hier im Forum habe ich bereits diesen Thread gelesen (http://forum.de.selfhtml.org/archiv/2007/4/t151204/) und meine httpd.conf danach umgeschrieben:
PHPIniDir "C:/Programme/PHP/"
LoadModule php5_module C:/Programme/PHP/php5apache2_2.dll
AddType application/x-httpd-php .php
Meine Error log des Apaches sagt mir dies: (ich geb euch mal nur den Bereicht von heute morgen, weil ich gestern noch viele errors hatte und PHP neu installieren musste, danach kamen keine Fehler mehr)
[Wed Dec 31 07:35:39 2008] [warn] pid file C:/Programme/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Dec 31 07:35:39 2008] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Dec 31 07:35:39 2008] [notice] Server built: Dec 10 2008 00:10:06
[Wed Dec 31 07:35:39 2008] [notice] Parent: Created child process 1368
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Dec 31 07:35:39 2008] [notice] Child 1368: Child process is running
[Wed Dec 31 07:35:39 2008] [notice] Child 1368: Acquired the start mutex.
[Wed Dec 31 07:35:39 2008] [notice] Child 1368: Starting 64 worker threads.
[Wed Dec 31 07:35:39 2008] [notice] Child 1368: Starting thread to listen on port 80.
The Apache2.2 service is restarting.
The Apache2.2 service has restarted.
arent: Received restart signal -- Restarting the server.
[Wed Dec 31 07:46:24 2008] [notice] Child 1368: Exit event signaled. Child process is ending.
[Wed Dec 31 07:46:24 2008] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Dec 31 07:46:24 2008] [notice] Server built: Dec 10 2008 00:10:06
[Wed Dec 31 07:46:24 2008] [notice] Parent: Created child process 3224
[Wed Dec 31 07:46:24 2008] [notice] Child 3224: Child process is running
[Wed Dec 31 07:46:25 2008] [notice] Child 1368: Released the start mutex
[Wed Dec 31 07:46:25 2008] [notice] Child 3224: Acquired the start mutex.
[Wed Dec 31 07:46:25 2008] [notice] Child 3224: Starting 64 worker threads.
[Wed Dec 31 07:46:25 2008] [notice] Child 3224: Starting thread to listen on port 80.
[Wed Dec 31 07:46:26 2008] [notice] Child 1368: All worker threads have exited.
[Wed Dec 31 07:46:26 2008] [notice] Child 1368: Child process is exiting
[Wed Dec 31 07:46:55 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Dec 31 07:46:55 2008] [notice] Child 3224: Exit event signaled. Child process is ending.
[Wed Dec 31 07:46:56 2008] [notice] Child 3224: Released the start mutex
[Wed Dec 31 07:46:57 2008] [notice] Child 3224: All worker threads have exited.
[Wed Dec 31 07:46:57 2008] [notice] Child 3224: Child process is exiting
[Wed Dec 31 07:46:57 2008] [notice] Parent: Child process exited successfully.
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Dec 31 07:47:26 2008] [notice] Server built: Dec 10 2008 00:10:06
[Wed Dec 31 07:47:26 2008] [notice] Parent: Created child process 2904
[Wed Dec 31 07:47:26 2008] [notice] Child 2904: Child process is running
[Wed Dec 31 07:47:26 2008] [notice] Child 2904: Acquired the start mutex.
[Wed Dec 31 07:47:26 2008] [notice] Child 2904: Starting 64 worker threads.
[Wed Dec 31 07:47:26 2008] [notice] Child 2904: Starting thread to listen on port 80.
The Apache2.2 service is restarting.
[Wed Dec 31 07:52:53 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Dec 31 07:52:53 2008] [notice] Child 2904: Exit event signaled. Child process is ending.
[Wed Dec 31 07:52:53 2008] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Dec 31 07:52:53 2008] [notice] Server built: Dec 10 2008 00:10:06
[Wed Dec 31 07:52:53 2008] [notice] Parent: Created child process 2252
[Wed Dec 31 07:52:53 2008] [notice] Child 2252: Child process is running
[Wed Dec 31 07:52:54 2008] [notice] Child 2904: Released the start mutex
[Wed Dec 31 07:52:54 2008] [notice] Child 2252: Acquired the start mutex.
[Wed Dec 31 07:52:54 2008] [notice] Child 2252: Starting 64 worker threads.
[Wed Dec 31 07:52:55 2008] [notice] Child 2904: All worker threads have exited.
[Wed Dec 31 07:52:55 2008] [notice] Child 2252: Starting thread to listen on port 80.
[Wed Dec 31 07:52:55 2008] [notice] Child 2904: Child process is exiting
Ich hoffe, es kann mir jemand helfen! Danke im Vorraus!