crash/blue screen

Alles, was PHP betrifft, kann hier besprochen werden.

crash/blue screen

Postby hana » 14. September 2004 14:26

Hello,
I'm new to php.
I have installed XAMPP 1.4.3 in june this year and sucesfully developed a simple php script.
After installing a new computer (operating system: XP Home edition) I downloaded the latest version of XAMPP (1.4.6) and installed it succesfuly.
But executing the same php script crashed my computer (blue screen). I stripped the script and found that there is one line of code which consequently crashes my system:
$bestand = fopen($url_string, "r");
where $url_string is a valid internet address.
Can somebody tell me what can cause this problem?

Note: I also switched back from php 5.01 to 4.xx. Did not solve the problem.
hana
 
Posts: 5
Joined: 14. September 2004 14:03

Postby Wiedmann » 14. September 2004 14:42

OK.... this simple script have the same effect?
Code: Select all
<?php
$url_string = "your valid internet address";
$bestand = fopen($url_string, "r");
?>


But executing the same php script crashed my computer (blue screen)

What is the error description from the blue screen?
Something in your "error.log" ("\xampp\apache\logs")?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby hana » 14. September 2004 15:09

Thanks for your help.
Yes, just he simple script has the same effect:

<?php
$url_string = "http://www.bbc.co.uk";
$bestand = fopen($url_string, "r");
?>

I get a blue screen with some text, but it disapears before I can read it.
I looked into the error file. There are some lines which are written during start up of Xampp:

[Tue Sep 14 15:58:51 2004] [notice] Parent: Created child process 240
[Tue Sep 14 15:58:52 2004] [notice] Child 240: Child process is running
[Tue Sep 14 15:58:52 2004] [notice] Child 240: Acquired the start mutex.
[Tue Sep 14 15:58:52 2004] [notice] Child 240: Starting 250 worker threads.

Any other way I can come closer to the problem?
hana
 
Posts: 5
Joined: 14. September 2004 14:03

Postby Wiedmann » 14. September 2004 15:56

Is there an entry in den Windows event log (Application and System)?
Your "error.log" is fine...

I get a blue screen with some text, but it disapears before I can read it.

You can disable this behavier.
Control panel --> System --> (Sorry, i don't know the English button names) Look for "system start" and "system error"
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby hana » 14. September 2004 17:05

The folowing (system) event was generated:

Error code 100000d1, parameter1 82400000, parameter2 00000002, parameter3 00000000, parameter4 f8172988.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

The microsoft link did not provide aditional information.

I disabled the "automatic restart" and could read te blue screen. The information provided is not very helpfull. It points to recently installed software (which is XAMPP) and advices to start up in save mode.

Anything I can do to solve he problem?
hana
 
Posts: 5
Joined: 14. September 2004 14:03

Postby Wiedmann » 14. September 2004 17:32

Hmm,
i think it is a memory and/or device driver problem:

you can try this link: http://oca.microsoft.com/en/windiag.asp

and the Windows tool: verifier.exe
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby hana » 15. September 2004 11:18

I have tested the memory: no errors.

To enable the driver verification, you have to reboot the system.
The sysem crashes after this reboot and I have to go back to a "last working configuration".

So it seems the problem is related to a driver.
What is the best/easiest way to find the driver that causes the problems?
hana
 
Posts: 5
Joined: 14. September 2004 14:03

Postby hana » 15. September 2004 13:35

:D
The problem is solved ..... but I don't know why.

I disabled the network drivers (among which a drive for the wireless connection): no problem executing the php script
I enabled the drivers one after each other: no problem
I restarted the system and expected problems again. But no blue screen anymore.
Any idea how this is possible?
Thanks for your help Mr/Mrs Wiedmann
hana
 
Posts: 5
Joined: 14. September 2004 14:03


Return to PHP

Who is online

Users browsing this forum: No registered users and 4 guests