Autor Zpráva
Jirkasss
Profil *
Ahoj, asi mockrat propirane tema, ale nedari se mi najit odpoved vhodnou me konfiguraci.
Nainstaloval sem a nakonfiguroval Apache 2.2.17 no ssl, to fungovalo.
Pak sem rozbalil modul PHP 5.3.6 thread safe.
Nastavil sem httpd.conf nasledovne:

LoadModule php5_module "c:/Prog/PHP5/php5apache2_2.dll"

DocumentRoot "C:/www"

<Directory "C:/www">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Pak dam restart Apache a zahlasi to ze operace se nezdarila.
A na radku LoadModule to hazi chybu syntaxe.

Tusite nekdo??ja ne... pritom uz sem to jednou delal a slapalo to...

Pripominam pozivam thread safe, a knihovna na danem umisteni je!

Error log:

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Sun Apr 24 09:19:39 2011] [notice] Server built: Oct 18 2010 01:58:12
[Sun Apr 24 09:19:39 2011] [notice] Parent: Created child process 3112
[Sun Apr 24 09:19:39 2011] [notice] Child 3112: Child process is running
[Sun Apr 24 09:19:39 2011] [notice] Child 3112: Acquired the start mutex.
[Sun Apr 24 09:19:39 2011] [notice] Child 3112: Starting 64 worker threads.
[Sun Apr 24 09:19:40 2011] [notice] Child 3112: Starting thread to listen on port 80.
[Sun Apr 24 09:20:50 2011] [error] [client 127.0.0.1] File does not exist: C:/Prog/Apache2.2/htdocs/favicon.ico, referer: http://localhost/
[Sun Apr 24 09:29:19 2011] [error] [client 127.0.0.1] File does not exist: C:/Prog/Apache2.2/htdocs/favicon.ico, referer: http://localhost/
[Sun Apr 24 09:29:30 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Apr 24 09:29:30 2011] [notice] Child 3112: Exit event signaled. Child process is ending.
[Sun Apr 24 09:29:31 2011] [notice] Child 3112: Released the start mutex
[Sun Apr 24 09:29:32 2011] [notice] Child 3112: All worker threads have exited.
[Sun Apr 24 09:29:32 2011] [notice] Child 3112: Child process is exiting
[Sun Apr 24 09:29:32 2011] [notice] Parent: Child process exited successfully.
[Sun Apr 24 09:29:36 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Sun Apr 24 09:29:36 2011] [notice] Server built: Oct 18 2010 01:58:12
[Sun Apr 24 09:29:36 2011] [notice] Parent: Created child process 1664
[Sun Apr 24 09:29:36 2011] [notice] Child 1664: Child process is running
[Sun Apr 24 09:29:36 2011] [notice] Child 1664: Acquired the start mutex.
[Sun Apr 24 09:29:36 2011] [notice] Child 1664: Starting 64 worker threads.
[Sun Apr 24 09:29:36 2011] [notice] Child 1664: Starting thread to listen on port 80.
[Sun Apr 24 09:37:51 2011] [notice] Parent: Received restart signal -- Restarting the server.

httpd.exe: Syntax error on line 60 of C:/Prog/Apache2.2/conf/httpd.conf: Cannot load C:/Prog/php5apache2_2.dll into server: Uveden\xfd modul nebyl nalezen.

[Sun Apr 24 09:37:51 2011] [notice] Child 1664: Exit event signaled. Child process is ending.

[Sun Apr 24 09:37:51 2011] [warn] (OS 995)Vstupně-výstupní operace byla přerušena buď z důvodu ukončení podprocesu,
nebo na žádost aplikace. : winnt_accept: Asynchronous AcceptEx failed.

[Sun Apr 24 09:37:52 2011] [notice] Child 1664: Released the start mutex
[Sun Apr 24 09:37:53 2011] [notice] Child 1664: All worker threads have exited.
[Sun Apr 24 09:37:53 2011] [notice] Child 1664: Child process is exiting
[Sun Apr 24 09:38:42 2011] [warn] pid file C:/Prog/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 09:38:42 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Sun Apr 24 09:38:42 2011] [notice] Server built: Oct 18 2010 01:58:12
[Sun Apr 24 09:38:42 2011] [notice] Parent: Created child process 784
[Sun Apr 24 09:38:42 2011] [notice] Child 784: Child process is running
[Sun Apr 24 09:38:42 2011] [notice] Child 784: Acquired the start mutex.
[Sun Apr 24 09:38:42 2011] [notice] Child 784: Starting 64 worker threads.
[Sun Apr 24 09:38:42 2011] [notice] Child 784: Starting thread to listen on port 80.
[Sun Apr 24 09:44:23 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 24 09:44:23 2011] [notice] Child 784: Exit event signaled. Child process is ending.

httpd.exe: Syntax error on line 60 of C:/Prog/Apache2.2/conf/httpd.conf: Cannot load C:/Prog/PHP5/php5apache2_2.dll
into server: Spu\x9at\xecn\xed t\xe9to aplikace se nezda\xf8ilo, proto\x9ee konfigurace aplikace nen\xed spr\xe1vn\xe1.
Tyto pot\xed\x9ee lze pravd\xecpodobn\xec vy\xf8e\x9ait opakovanou instalac\xed aplikace.

[Sun Apr 24 09:44:24 2011] [notice] Child 784: Released the start mutex
[Sun Apr 24 09:44:25 2011] [notice] Child 784: All worker threads have exited.
[Sun Apr 24 09:44:25 2011] [notice] Child 784: Child process is exiting
Jirkasss
Profil *
Omlouvam se nejak tady sem to nejak poplet.Mam to dobre jinak.

V httpd.conf mam:

LoadModule php5_module "c:/Prog/php/php5apache2_2.dll"

A na teto ceste se knihovna skutecne nachazi.
Kdyz dam test configuration zahlasi to: cannot load c:/Prog/php/php5apache2_2.dll
Jirkasss
Profil *
Tak chyba byla v tom ze sem mel nainstalovano c++ 2010 redistribuci misto 2008 :/
Milan911
Profil
a seš si jistej,že byl tady ten román nahoře nutnej?

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: