Autor Zpráva
Mira
Profil *
Cau:)

snazim se nakonfigurovat php do Apache podle knizky http://knihy.cpress.cz/Book.asp?BookCode=k1698
Apache sem naisntaloval v poho pak sem udelal upravy podle knizky v httpd.conf a ted mi to nebezi nevite proc?

Děkuji za odpoved:)

Moderátor Davex: Tvůj projev je špatně srozumitelný, piš prosím s diakritikou.
Davex
Profil
Mira:
pak sem udelal upravy podle knizky v httpd.conf a ted mi to nebezi nevite proc?
Ano, víme. Ty úpravy byly asi chybné.
Mira
Profil *
ee neudelal mam to fakt uplne presne....delal sem to pred mesicem na jednom pc a tam mi to bezelo krasne ale tedka mi to nejde...v tom souboru se opisou 4 radky nic vic...
Mira
Profil *
*pripisou
Alphard
Profil
Mira:
Mámě věštit? Buď sem popište, co jste udělal, nebo čekejte na někoho, kdo tu knihu má…
Mira
Profil *
ted jsem to zkousel na pocitaci kterymu sem rano delal reinstal windowsu a tam to bezi....

Alphard:
v souboru httpd.conf jsem mel pridat tyto radky..

LoadModule php5_module "C:\PHP\php5apache2_2.dll" a

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP"

to same jsem udelal ted na jinem pocitaci a tam to bezi
Alphard
Profil
Je ta cesta správná?
Mira
Profil *
jj vsechno sem kontroloval asi 5 krat:(
Davex
Profil
Jsou nějaké chyby v error logu Apache?
Mira
Profil *
Davex:
Jsou nějaké chyby v error logu Apache?

jee tak to netusim nevyznam se v tom ale koukal sem do ty slozky a je tam jedna slozka include a tam sou tri soubory a pak jeste v samotny slozce error je par souboru s koncovkou html.var
Krakatoa
Profil
Mira:
error log je tu:
Apache\logs\error.log
A jak ti to nejde spustit? To musí hodit nějakou chybu ne? Nebo co se stane při spouštění?
Mira
Profil *
Krakatoa:
jj pise mi to the request operation has failed a tohle mam v error.log

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Thu Dec 30 20:31:39 2010] [notice] Server built: Oct 18 2010 01:58:12
[Thu Dec 30 20:31:39 2010] [notice] Parent: Created child process 2400
[Thu Dec 30 20:31:40 2010] [notice] Child 2400: Child process is running
[Thu Dec 30 20:31:40 2010] [notice] Child 2400: Acquired the start mutex.
[Thu Dec 30 20:31:40 2010] [notice] Child 2400: Starting 64 worker threads.
[Thu Dec 30 20:31:40 2010] [notice] Child 2400: Starting thread to listen on port 80.
[Thu Dec 30 20:36:34 2010] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Dec 30 20:36:34 2010] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Dec 30 20:36:35 2010] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Dec 30 20:41:05 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Dec 30 20:41:05 2010] [notice] Child 2400: Exit event signaled. Child process is ending.
[Thu Dec 30 20:41:05 2010] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Thu Dec 30 20:41:05 2010] [notice] Server built: Oct 18 2010 01:58:12
[Thu Dec 30 20:41:05 2010] [notice] Parent: Created child process 5324
[Thu Dec 30 20:41:05 2010] [notice] Child 5324: Child process is running
[Thu Dec 30 20:41:06 2010] [notice] Child 5324: Acquired the start mutex.
[Thu Dec 30 20:41:06 2010] [notice] Child 5324: Starting 64 worker threads.
[Thu Dec 30 20:41:06 2010] [notice] Child 2400: Released the start mutex
[Thu Dec 30 20:41:07 2010] [notice] Child 2400: All worker threads have exited.
[Thu Dec 30 20:41:07 2010] [notice] Child 2400: Child process is exiting
[Thu Dec 30 20:41:07 2010] [notice] Child 5324: Starting thread to listen on port 80.
[Thu Dec 30 20:44:41 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Dec 30 20:44:41 2010] [notice] Child 5324: Exit event signaled. Child process is ending.
[Thu Dec 30 20:44:41 2010] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Thu Dec 30 20:44:41 2010] [notice] Server built: Oct 18 2010 01:58:12
[Thu Dec 30 20:44:41 2010] [notice] Parent: Created child process 4588
[Thu Dec 30 20:44:41 2010] [notice] Child 4588: Child process is running
[Thu Dec 30 20:44:42 2010] [notice] Child 5324: Released the start mutex
[Thu Dec 30 20:44:42 2010] [notice] Child 4588: Acquired the start mutex.
[Thu Dec 30 20:44:42 2010] [notice] Child 4588: Starting 64 worker threads.
[Thu Dec 30 20:44:42 2010] [notice] Child 4588: Starting thread to listen on port 80.
[Thu Dec 30 20:44:43 2010] [notice] Child 5324: All worker threads have exited.
[Thu Dec 30 20:44:43 2010] [notice] Child 5324: Child process is exiting
[Thu Dec 30 20:54:25 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Dec 30 20:54:25 2010] [notice] Child 4588: Exit event signaled. Child process is ending.
[Thu Dec 30 20:54:25 2010] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
[Thu Dec 30 20:54:25 2010] [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.
[Thu Dec 30 20:54:26 2010] [notice] Child 4588: Released the start mutex
[Thu Dec 30 20:54:27 2010] [notice] Child 4588: All worker threads have exited.
[Thu Dec 30 20:54:27 2010] [notice] Child 4588: Child process is exiting
Krakatoa
Profil
Mira:
Je tam nějaká kritická hláška, nestáhl jsi PHP bez Thread Safe a ono to potřebuje s Thread Safe?
http://windows.php.net/download/
Davex
Profil
Máš rozbalenou správnou kompilaci PHP - VC6 x86 Thread Safe?
Mira
Profil *
mam tu VC6 x86 Non Thread Safe to je spatne?
Krakatoa
Profil
Mira:
Jo to je špatně.
Mira
Profil *
Krakatoa, Krakatoa:
tak uz sem tam dal s tread safe a jede to:) moc Vam dekuji.))
Mira
Profil *
* Davex tobe taky diky:)

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

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