#47766 [Opn->Fbk]: php-cgi.exe crashes
| From: | pajoye@php.net | Date: | Wed, 27 May 2009 07:42:32 +0000 |
| Subject: | #47766 [Opn->Fbk]: php-cgi.exe crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-137769@lists.php.net to get a copy of this message | ||
ID: 47766
Updated by: pajoye@php.net
Reported By: ipseno at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: win32 only - Win XP SP3
PHP Version: 5.3CVS-2009-03-24 (snap)
Assigned To: pajoye
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2009-05-20 11:51:41] ipseno at yahoo dot com
Custom reusable objects:
354 KB (362.642 bytes)
464 KB (475.136 bytes)
Script:
450 KB (461.662 bytes) - Size
620 KB (634.880 bytes) - Size on disk
..., without images, temp and notes.
Second box has only Apache installed and PHP (NO Mysql at all !!)
And ONLY that, ONE file.
So it can't possibly include or require anything.
And error is reproduced at both boxes.
PS: Trace is from first box, that has all in it.
------------------------------------------------------------------------
[2009-05-18 09:00:51] pajoye@php.net
No, I can't reproduce it. Without the script you are using, there is
also no chance to actually reproduce your problem. Btw, out of
curiosity, how large are the files used by the script? and the script
itself?
------------------------------------------------------------------------
[2009-04-07 23:53:14] ipseno at yahoo dot com
Done. Restarted. And same crash occurs.
Listen...
Can you confirm that bug.php crashed yours php-cgi.exe?
And after editing file by means of removing any symbol or adding one,
"fixes" it?
------------------------------------------------------------------------
[2009-04-07 23:00:45] pajoye@php.net
Be sure to use the libmysql.dll from the PHP releases and not the
5.1.30 DLL. Check your PATH environment, the php directory must be first
in the list.
------------------------------------------------------------------------
[2009-04-07 22:51:04] ipseno at yahoo dot com
MySQL server is: 5.1.33, but 2 dayys ago it was 5.1.30
I tested script with both versions and crash occured.
I am confused, with your questions about phar and mysql.
I've told you, that on a new box with fresh WinXP SP3, and all updates.
I've installed Apache 2.2.11 and PHP 5.3.0RC2-dev
Then parsed it(bug.php->which was the ONLY .php file on that server, so
there was nothing to include() || require() or load in any way) by
typing it's location in URL of browser which depends on apaches config:
Ie: https://127.0.0.15/bug.php
IMPORTANT!!!
Do not parse it by means of mod_php! But as fcgid! -> Server API
CGI/FastCGI
I use in apache's config:
LoadModule fcgid_module modules/mod_fcgid.so
ScriptAlias /php5 "D:/Program Files/php/php-cgi.exe"
Action application/x-httpd-php /php5
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
.png
DirectoryIndex index.php index.html index.htm
You must receive:
CGI / FastCGI has encountered a problem and needs to close. We are
sorry for the inconvenience.
An then:
500
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, webmaster@exchanger.com and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.
More information about this error may be available in the server error
log.
------------------------------------------------------------------------
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/47766
--
Edit this bug report at http://bugs.php.net/?id=47766&edit=1