#31275 [Bgs->Opn]: PHP Crashes randomly
| From: | smartychan at hotmail dot com | Date: | Thu, 13 Jan 2005 23:39:43 +0000 |
| Subject: | #31275 [Bgs->Opn]: PHP Crashes randomly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72093@lists.php.net to get a copy of this message | ||
ID: 31275
User updated by: smartychan at hotmail dot com
Reported By: smartychan at hotmail dot com
-Status: Bogus
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows XP Professional
PHP Version: 4CVS-2005-01-10
New Comment:
I already tried reformatting my computer and also reinstalling
apache/php many times, but still the same problem. Do you know if it
is a php/apache configuration problem, or is it a network problem
(DNS/Virtual Server/etc.)?
Previous Comments:
------------------------------------------------------------------------
[2005-01-13 04:28:07] sniper@php.net
I can't reproduce this so it must be something wrong with your system.
Try reinstall?
------------------------------------------------------------------------
[2005-01-10 00:44:27] smartychan at hotmail dot com
Thanks for the snapshot, but
I uninstall my original PHP, then install my snapshot manually.
I copied php4ts.dll to windows folder...
Used php.ini-recommended
Configured doc_root in php.ini
Made php.ini readable by everyone
Kept existing Apache configuration with php.
I run the abc.php page again, but the error still remains, and the same
error page displays.
Is it maybe my incorrect configuration with apache and php that makes
the problem?
------------------------------------------------------------------------
[2005-01-09 23:21:12] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-01-09 20:20:55] smartychan at hotmail dot com
Also, this is very important i just realized:
If I do NOT log onto windows. (just leave it at the log in screen), my
server and php and stuff will start normally. AND, the php will NOT
CRASH.
If I log on, the error will crash php.
------------------------------------------------------------------------
[2005-01-09 17:35:56] smartychan at hotmail dot com
I don't think I can provide anymore information.
However, I can give some recent summary of information.
2 Days ago, I reformatted my computer. Now, it is C and D drive both
NTFS file system. I only installed 2 things on it so far. Apache 2,
php 4.3. I installed Apache 2 using the installer, and I configured
the Document Root and Directory Index only. Then, I installed php
using the installer.
I configured Apache 2 and php by adding these to the appropriate apache
places:
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php /php/php.exe
AddType application/x-httpd-php .php
Then, I made 2 files only in my directory: (this file is called
abc.php)
<html>
<head>
</head>
<body>
<?php
include 'uselessfacts.htm';
?>
</body>
</html>
the second file, uselessfacts.htm, is 154kb big and contains 800 lines
of text or so.
The result was that the website crashed when viewed in IE 6. When
viewed in Firefox, the page loaded parts, and when refreshed, loaded
the entire webpage. IT did not totally crash in firefox.
When crashes, this is what happens:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site
might be experiencing technical difficulties, or you may need to adjust
your browser settings.
...
Cannot find server or DNS Error
Internet Explorer
I know it is not my DNS problem, because it crashes when type
localhost/abc.php in my URL.
Apache also never crashes, except when used with PHP. I only have
those 2 things installed on a fresh computer right now. My apache and
php and program files are on C drive, and my website files are on the D
drive. However, I tried moving the files on the D drive to the C drive,
and the error still remained. Therefore, I think it is a configuration
problem.
I think this is really weird, and I tried searching the internet for a
similar problem, but nothing came up. Error 9845 is the closest I can
get, but it does not match my error completely.
Thanks!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31275
--
Edit this bug report at http://bugs.php.net/?id=31275&edit=1