Datuve :: Forums :: Arhīvs :: PHP/MySQL izstrādes vides sagatavošana uz Windows

Datuve

Mana Datuve

Reģistrācija | Noteikumi | Paroles atjaunošana



Forums

Ieskaties


Raksti

Lietotāji online

Lietotāji online: 78

Reģistrētie lietotāji online: 0

Viesi online: 78

Datuve.lv video
Top.LV

PHP/MySQL izstrādes vides sagatavošana uz Windows

Ievietoja: Kibero @ 2008.11.10 19:51  

Mēģinu visu darīt pēc šīs instrukcijas: http://web.hc.lv/kods/php-mysql/raksti/izstrades-vides-sagatavosana-uz… taču k-kas nav lāgā. Problēma rodas ar šīm rindiņām:
# PHP5
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
Pievienoju tās, kā teikts instrukcijā, bet neiet. Tad, kad tās izdzēšu iet apache, bet netieku tajā http://localhost
Lieku šito brīnumu uz Windows Server 2003
Plz help!

Komentāri:

#2 Copy @ 2008.11.10 20:34

Novelc wampserver un instalē virsū, tur jau viss būs apache+php+mysql, faktiski nekas nav jākonfiurē vairs. Šī mantiņa tev likvidēs galvassāpes.

#3 drono @ 2008.11.10 20:40


Pievienoju tās, kā teikts instrukcijā, bet neiet

Kā tas izpaužas? Kas tad parādās? Apskaties error_logā

iet apache, bet netieku tajā http://localhost

Un kas tur parādās?

#4 Kibero @ 2008.11.10 20:57

lūks, kas rādās: The requested operation has failed!

#5 Knight @ 2008.11.10 21:05

#4... autor, un ko meegjini izdariit, ka operaacija noraidaas?!

#6 drono @ 2008.11.10 21:08

#4> Es uzdevu 2 jautājumus ;)

#7 Kibero @ 2008.11.10 21:10

restartēt apache, pēc tam, kad veicu augstāk minēto konfigurāciju! neko citu, kas tajā instrukcijā minēts - nedarīju!!!!

#8 mcgh @ 2008.11.10 21:19

atkaapies no datora 3 soljus un tuvaak arii vairs neej, un veel paludz lai mamma Tev uztaisa piparmeetru teeju!

ak jaa
http://oss.segetech.com/wamp.html
maacies mekleet

#9 Copy @ 2008.11.10 22:39

autor, tu drīksti pamēģināt manā postā aprakstīto iespēju, kas ir #2 ... tici man, vienkārši pamēģini un tu redzēsi cik elementāri uzliekas webserveris uz tava xp ... vai ta tev tiešām slinkums ir?

#10 mcgh @ 2008.11.10 23:40

#9 vinjam nav XP lasi uzmaniigi!

#11 moa @ 2008.11.10 23:44

Uzliekas jau elementāri un tad par to arī aizmirst.
Tikai vēlāk, kad jau nāk visādas šaizes, izrādās, ka ne sūda nemāki, tikai gatavu risinājumu uzlikt.
Pat nezin ko tajā httpd.conf lai dara.

#12 sn1per @ 2008.11.11 10:39

tev apache ir 2.2.x vai 2.0.x? ja 2.0.x, tad c:/php/php5apache2_2.dll nebūs pareizais dll
php atrodas zem c:/php/ ?
ko saka apachedir/logs/error.log ? viņš vienmēr pasaka iemeslu kāpēc nevar iestartēt apachi..

#13 Kibero @ 2008.11.12 10:21

protams, apache 2.2

error.log ir šāda infa:

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.10 (Win32) configured -- resuming normal operations
[Tue Nov 11 11:43:13 2008] [notice] Server built: Oct 10 2008 12:39:04
[Tue Nov 11 11:43:13 2008] [notice] Parent: Created child process 3220
[Tue Nov 11 11:43:13 2008] [notice] Child 3220: Child process is running
[Tue Nov 11 11:43:13 2008] [notice] Child 3220: Acquired the start mutex.
[Tue Nov 11 11:43:13 2008] [notice] Child 3220: Starting 64 worker threads.
[Tue Nov 11 11:43:13 2008] [notice] Child 3220: Starting thread to listen on port 80.
[Tue Nov 11 11:50:36 2008] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Nov 11 11:50:36 2008] [notice] Apache/2.2.10 (Win32) configured -- resuming normal operations
[Tue Nov 11 11:50:36 2008] [notice] Server built: Oct 10 2008 12:39:04
[Tue Nov 11 11:50:36 2008] [notice] Parent: Created child process 1528
[Tue Nov 11 11:50:36 2008] [notice] Child 1528: Child process is running
[Tue Nov 11 11:50:36 2008] [notice] Child 1528: Acquired the start mutex.
[Tue Nov 11 11:50:36 2008] [notice] Child 1528: Starting 64 worker threads.
[Tue Nov 11 11:50:36 2008] [notice] Child 1528: Starting thread to listen on port 80.
[Tue Nov 11 11:54:05 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Nov 11 11:54:05 2008] [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
[Tue Nov 11 11:54:05 2008] [notice] Child 1528: Exit event signaled. Child process is ending.
[Tue Nov 11 11:54:05 2008] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request.  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Nov 11 11:54:06 2008] [notice] Child 1528: Released the start mutex
[Tue Nov 11 11:54:07 2008] [notice] Child 1528: All worker threads have exited.
[Tue Nov 11 11:54:07 2008] [notice] Child 1528: Child process is exiting

jā php atrodas C:/php

help plz

help plz

#15 Kibero @ 2008.11.12 10:52

#14, tnx, bet jau šādi pagūglēju. būtu labi, ja sniegtu reālu atbildi..