ID: 45680
Updated by: [EMAIL PROTECTED]
Reported By: stanlemon at mac dot com
Status: Assigned
-Bug Type: Reproducible crash
+Bug Type: MySQLi related
Operating System: Mac OS X 10.5.3
PHP Version: 5.3.0alpha1
Assigned To: andrey
New Comment:
Can you provide a short reproducing script?
Andrey:
Apparently this is some thread safety issue in mysqlnd.
I don't think you need Mac to reproduce this, just ZTS build.
Previous Comments:
------------------------------------------------------------------------
[2008-08-04 07:19:54] [EMAIL PROTECTED]
My Mac is being repaired, will have it in a month.
------------------------------------------------------------------------
[2008-08-03 23:21:21] stanlemon at mac dot com
That seems to have worked. I tried first with the line you posted
(though with apxs2 instead of just apxs like posted) and everything ran
smoothly, then I tried my original configure line (with the two
corrections you pointed out) and have been successful working with
both.
Is this something that I should post a bug for with Apache, or is it
related to PHP?
Side note FWIW... it would be handy if someone wrote up an article on
the benefits of Apache with mpm prefork in an environment running PHP,
some further detail and such.
Let me know if there is anything else you want me to test related to
this.
Thanks again.
------------------------------------------------------------------------
[2008-08-03 22:07:52] [EMAIL PROTECTED]
Try with first changing your Apache to prefork MPM. Then configure PHP
with only this:
# ./configure --disable-all --with-apxs=/usr/local/apache2/bin/apxs
Then if this still crashes, we have a real problem.
------------------------------------------------------------------------
[2008-08-02 21:01:13] stanlemon at mac dot com
Wait, I'm not following... I thought an apache module was always the
preferred way to compile and run PHP? Forgive my ignorance here... I
guess I'm curious on further explanation? Also, do you want me to try
5.3.0alpha1 with recompiling something?
------------------------------------------------------------------------
[2008-08-02 16:43:37] [EMAIL PROTECTED]
Using incorrect path would not cause a crash, just that you're not then
running what you expect. And prefork because any threaded MPMs are not
really supported. Best choice: FastCGI.
------------------------------------------------------------------------
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/45680
--
Edit this bug report at http://bugs.php.net/?id=45680&edit=1