ID:               35791
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jgmtfia at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Linux
 PHP Version:      5CVS-2006-01-03 (snap)
 New Comment:

Can you still send me the config.log you got with the threaded server?
I'd like to see why some of those tests failed..


Previous Comments:
------------------------------------------------------------------------

[2006-01-04 23:44:17] jgmtfia at gmail dot com

I removed the apache2 threaded MPM that I had and replaced it with the
prefork MPM and the test now passes when ./configure
--with-apxs2=/usr/bin/apxs2 is used.

Thank you for your help with this.  I had no reason to suspect this was
an apache related problem as the CLI API had the same problem as the
apache2 module.

Is it possible to modify the configure script to detect when a threaded
apache2 MPM is being used to avoid problems in the future?

On another note, the strace of the cli PHP running the test case now
looks more like what would be expected:
write(1, "Checking A.\n", 12C) = 12
access("A", F_OK) = 0
write(1, "Checking C.\n", 12) = 12
access("C", F_OK) = 0
write(1, "Unlinking C.\n", 13) = 13
unlink("C") = 0
write(1, "Checking C: ", 12) = 12
access("C", F_OK) = -1 ENOENT (No such file or directory)

Again thank you.

------------------------------------------------------------------------

[2006-01-04 20:46:09] [EMAIL PROTECTED]

And before that: Switch to using non-threaded MPM in your apache.
Threaded MPMs are not supported by PHP.

------------------------------------------------------------------------

[2006-01-04 20:44:27] [EMAIL PROTECTED]

Send also the config.log file.

------------------------------------------------------------------------

[2006-01-04 18:53:45] jgmtfia at gmail dot com

php_config.h for both a working and non-working configuration were sent
to sniper at php dot net.  The difference between the two was:

diff -puBb  ~/src/php_config.h-*
--- /home/user/src/php_config.h-broken        2006-01-04
09:30:07.000000000 -0700
+++ /home/user/src/php_config.h-working       2006-01-04
09:56:57.000000000 -0700
@@ -907,22 +907,22 @@
 /* #undef ROXEN_USE_ZTS */

 /* whether write(2) works */
-/* #undef PHP_WRITE_STDOUT */
+#define PHP_WRITE_STDOUT 1

 /*   */
-/* #undef FORCE_CGI_REDIRECT */
+#define FORCE_CGI_REDIRECT 0

 /*   */
-/* #undef DISCARD_PATH */
+#define DISCARD_PATH 0

 /*   */
-/* #undef ENABLE_PATHINFO_CHECK */
+#define ENABLE_PATHINFO_CHECK 1

 /*   */
-/* #undef PHP_FASTCGI */
+#define PHP_FASTCGI 0

 /*   */
-/* #undef PHP_FCGI_STATIC */
+#define PHP_FCGI_STATIC 0

 /* Define to the necessary symbol if this constant
                            uses a non-standard name on your system.
*/
@@ -2543,7 +2543,7 @@
 #define PHP_CAN_SUPPORT_PROC_OPEN 1

 /* Whether to enable chroot() function */
-/* #undef ENABLE_CHROOT_FUNC */
+#define ENABLE_CHROOT_FUNC 1

 /*   */
 #define HAVE_RES_NMKQUERY 1
@@ -2798,7 +2798,7 @@
 #define USE_ZEND_ALLOC 1

 /*   */
-#define ZTS 1
+/* #undef ZTS */

 /* Memory limit */
 #define MEMORY_LIMIT 0
@@ -2819,7 +2819,7 @@
 #define ZEND_MM_ALIGNMENT_LOG2 2

 /*   */
-#define ZTS 1
+/* #undef ZTS */

 /* Whether you use GNU Pth */
 /* #undef GNUPTH */
@@ -2831,7 +2831,7 @@
 /* #undef BETHREADS */

 /* Whether to use Pthreads */
-#define PTHREADS 1
+/* #undef PTHREADS */

 /* PHP build date */
 #define PHP_BUILD_DATE "2006-01-04"
@@ -2938,4 +2938,4 @@ int zend_sprintf(char *buffer, const cha
  * indent-tabs-mode: t
  * End:
  */
-#define PTHREADS 1
+/* #undef PTHREADS */

------------------------------------------------------------------------

[2006-01-04 01:23:20] [EMAIL PROTECTED]

I'm still waiting for the php_config.h from the build the test fails
with..

------------------------------------------------------------------------

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/35791

-- 
Edit this bug report at http://bugs.php.net/?id=35791&edit=1

Reply via email to