[Apache] Crasht bij mysql connectie? *

Pagina: 1
Acties:

  • PawyaBoy
  • Registratie: Juli 2009
  • Laatst online: 01-06-2015
Ik heb onlangs op mijn windows xp computer appache 2.0.63 geinstalleerd en php 5.2.10.
Dat werkte prima. Maar toen ik ook nog mysql 5.1 erbij ging installeren ging het mis.
Wanneer ik een pagina creeër waarin ik verzoek om te connecte naar mijn mysql database krijg ik op de server:
"Apache HTTP server has encountered a problem and needs to close"

Ik heb in de php.ini file neergezet dat die php_mysql.dll moet laden.

Waarom crasht Apache?

Bij voorbaat dank,

PawyaBoy

  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

wat zegt de error_log van Apache? Daarnaast verplaats ik je topic nog even naar het juiste subforum met het verzoek hier in het vervolg zelf even op te letten :)

Appache HTTP Server crash > [Apache] Crasht bij mysql connectie? *
CSA > SWS

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


  • PawyaBoy
  • Registratie: Juli 2009
  • Laatst online: 01-06-2015
Spider.007 schreef op dinsdag 14 juli 2009 @ 13:05:
wat zegt de error_log van Apache? Daarnaast verplaats ik je topic nog even naar het juiste subforum met het verzoek hier in het vervolg zelf even op te letten :)

Appache HTTP Server crash > [Apache] Crasht bij mysql connectie? *
CSA > SWS
Mijn excusez nog daarvoor, en bedankt voor het verplaatsen van het topic.
De error log geeft dit aan :
code:
1
2
3
4
5
6
7
8
9
10
11
[Thu Jul 16 06:13:26 2009] [notice] Apache/2.0.63 (Win32) PHP/5.2.10 configured -- resuming normal operations
[Thu Jul 16 06:13:26 2009] [notice] Server built: Jan 17 2008 22:58:29
[Thu Jul 16 06:13:26 2009] [notice] Parent: Created child process 3064
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\WEBSOFTWARE\\PHP5\\ext\\php_mssql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\WEBSOFTWARE\\PHP5\\ext\\php_pdo_mssql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\WEBSOFTWARE\\PHP5\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Thu Jul 16 06:13:27 2009] [notice] Child 3064: Child process is running
[Thu Jul 16 06:13:27 2009] [notice] Child 3064: Acquired the start mutex.
[Thu Jul 16 06:13:27 2009] [notice] Child 3064: Starting 250 worker threads.

ik snap niet waarom er een dubbel backslash staat, hoort dat of is dat nou het fout?

[ Voor 0% gewijzigd door Spider.007 op 15-07-2009 09:14 . Reden: +code-tags ]


  • leuk_he
  • Registratie: Augustus 2000
  • Laatst online: 28-01 19:27

leuk_he

1. Controleer de kabel!

hij chasht dus omdat er nog referencies staan naar mssql (microsloft sql?) in php.ini?

Need more data. We want your specs. Ik ben ook maar dom. anders: forum, ff reggen, ff topic maken
En als je een oplossing hebt gevonden laat het ook ujb ff in dit topic horen.


  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

Je hebt waarschijnlijk je hele php\ext path niet gedeclareerd, of niet beschikbaar voor je apache service.
simpel te controleren door je errorlogging even wat omhoog te gooien en je phpinfo output na te kijken.

Hoe je dat moet doen staat allemaal beschreven in de php documentatie online, gebruik die ook? :)

[ Voor 127% gewijzigd door alt-92 op 14-07-2009 18:32 ]

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device


  • PawyaBoy
  • Registratie: Juli 2009
  • Laatst online: 01-06-2015
alt-92 schreef op dinsdag 14 juli 2009 @ 18:28:
Je hebt waarschijnlijk je hele php\ext path niet gedeclareerd, of niet beschikbaar voor je apache service.
simpel te controleren door je errorlogging even wat omhoog te gooien en je phpinfo output na te kijken.

Hoe je dat moet doen staat allemaal beschreven in de php documentatie online, gebruik die ook? :)
Ik heb de handleiding nog een keer doorgelezen, nu krijg ik helemaal geen errors te zien in me log log file, wat ik nu krijg is:
code:
1
2
3
[Thu Jul 16 07:08:02 2009] [notice] Child 396: Child process is running
[Thu Jul 16 07:08:02 2009] [notice] Child 396: Acquired the start mutex.
[Thu Jul 16 07:08:02 2009] [notice] Child 396: Starting 250 worker threads.


Ik snap niet echt hoe je de errorlogging omhoog krijgt, moet ik de errorlog op crit zetten?

[ Voor 0% gewijzigd door Spider.007 op 15-07-2009 09:14 . Reden: +code-tags ]


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Ik zie daar geen enkele error in; werkt het op deze manier niet gewoon?

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


  • PawyaBoy
  • Registratie: Juli 2009
  • Laatst online: 01-06-2015
Dat is het rare, ik zie geen errors staan in de apache error log, maar het blijft nog steeds crashe.

  • leuk_he
  • Registratie: Augustus 2000
  • Laatst online: 28-01 19:27

leuk_he

1. Controleer de kabel!

Als je de error "Apache HTTP server has encountered a problem and needs to close" door google haalt zie je als oplossing of een backtrace maken om de oorzaak te vinden, of een andere php versie gebruiken

Need more data. We want your specs. Ik ben ook maar dom. anders: forum, ff reggen, ff topic maken
En als je een oplossing hebt gevonden laat het ook ujb ff in dit topic horen.

Pagina: 1