Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> PHP na Apache bug
martinpwp
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 10.02.2013

Ostrzeżenie: (0%)
-----


Witam, zainstalowałem Apache 2.2 na komputerze i chciałem dodać PHP, zrobiłem wszystko wg instrukcji na internetach i kiedy próbuje włączyć usługę przez apache monitor wyskakuje mi error "The requested operation has failed"
W logu nie ma nic na ten temat, ale wrzucam

Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 192.168.2.101 for ServerName
[Sun Feb 10 18:06:24 2013] [notice] Apache/2.2.13 (Win64) configured -- resuming normal operations
[Sun Feb 10 18:06:24 2013] [notice] Server built: Aug 10 2009 15:53:42
[Sun Feb 10 18:06:24 2013] [notice] Parent: Created child process 4536
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
[Sun Feb 10 18:06:24 2013] [notice] Child 4536: Child process is running
[Sun Feb 10 18:06:24 2013] [notice] Child 4536: Acquired the start mutex.
[Sun Feb 10 18:06:24 2013] [notice] Child 4536: Starting 64 worker threads.
[Sun Feb 10 18:06:24 2013] [notice] Child 4536: Starting thread to listen on port 80.
[Sun Feb 10 18:12:14 2013] [error] [client 127.0.0.1] File does not exist: D:/Programy/Server/Apache 2.2/htdocs/favicon.ico
[Sun Feb 10 18:12:41 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Feb 10 18:12:41 2013] [notice] Child 4536: Exit event signaled. Child process is ending.
[Sun Feb 10 18:12:42 2013] [notice] Child 4536: Released the start mutex
[Sun Feb 10 18:12:43 2013] [notice] Child 4536: All worker threads have exited.
[Sun Feb 10 18:12:43 2013] [notice] Child 4536: Child process is exiting
[Sun Feb 10 18:12:43 2013] [notice] Parent: Child process exited successfully.


Siedziałem nad tym chwilę i wyszło na to, że kiedy dodaje linijkę:

LoadModule php5_module "D:/Programy/Server/php 5.4/php5apache2_2.dll"
AddType application/x-httpd-php .php

wszystko się sypie.
Ogólnie do pliku konfiguracyjnego dodaję 3 linijki, tę na górze, pod nią :

AddType application/x-httpd-php .php

i na samym dole dokumentu:

PHPIniDir "D:/Programy/Server/php 5.4"

Proszę o pomoc i pozdrawiam Marcin

Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 21:41