Bug #63059 [Opn->Csd]: Failed to build PHP-FPM

2012-10-13 Thread nam dot nh at nd24 dot net
Edit report at https://bugs.php.net/bug.php?id=63059&edit=1

 ID: 63059
 User updated by:nam dot nh at nd24 dot net
 Reported by:nam dot nh at nd24 dot net
 Summary:Failed to build PHP-FPM
-Status: Open
+Status: Closed
 Type:   Bug
 Package:Compile Failure
 Operating System:   OpenIndiana 151a6
 PHP Version:5.4.6
 Block user comment: N
 Private report: N

 New Comment:

Compile successful, then the case is closed


Previous Comments:

[2012-10-14 01:41:58] nam dot nh at nd24 dot net

The problem fixed. Thanks.


[2012-10-13 17:47:35] mike at maytech dot net

See patch attached; should fix the compilation problem.


[2012-10-13 15:57:49] nam dot nh at nd24 dot net

Found similar to bug #62654, but still get error when "make"


[2012-09-11 06:00:16] nam dot nh at nd24 dot net

Description:

I'm building PHP 5.4.6 on a fresh machine that run OpenIndiana 151a6 OS, gcc 
version 4.6.3, error happens when do "make"

Test script:
---
./configure --prefix=/usr/php --with-gd --with-mcrypt --with-zlib 
--enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd  
--enable-inline-optimization --with-bz2 --enable-sockets --enable-mbregex 
--with-mhash --enable-zip --with-png-dir=/usr/include 
--with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include 
--with-xpm-dir=/usr/include --enable-gd-native-ttf --with-pear=/usr/php/lib/php 
--disable-ipv6 --enable-fpm


Expected result:

Successfully

Actual result:
--
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo
In file included from /usr/src/php-5.4.6/sapi/fpm/fpm/fpm.c:16:0:
/usr/src/php-5.4.6/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' 
or 
')' before numeric constant
make: *** [sapi/fpm/fpm/fpm.lo] Error 1






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


Bug #63059 [Com]: Failed to build PHP-FPM

2012-10-13 Thread nam dot nh at nd24 dot net
Edit report at https://bugs.php.net/bug.php?id=63059&edit=1

 ID: 63059
 Comment by: nam dot nh at nd24 dot net
 Reported by:nam dot nh at nd24 dot net
 Summary:Failed to build PHP-FPM
 Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   OpenIndiana 151a6
 PHP Version:5.4.6
 Block user comment: N
 Private report: N

 New Comment:

The problem fixed. Thanks.


Previous Comments:

[2012-10-13 17:47:35] mike at maytech dot net

See patch attached; should fix the compilation problem.


[2012-10-13 15:57:49] nam dot nh at nd24 dot net

Found similar to bug #62654, but still get error when "make"


[2012-09-11 06:00:16] nam dot nh at nd24 dot net

Description:

I'm building PHP 5.4.6 on a fresh machine that run OpenIndiana 151a6 OS, gcc 
version 4.6.3, error happens when do "make"

Test script:
---
./configure --prefix=/usr/php --with-gd --with-mcrypt --with-zlib 
--enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd  
--enable-inline-optimization --with-bz2 --enable-sockets --enable-mbregex 
--with-mhash --enable-zip --with-png-dir=/usr/include 
--with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include 
--with-xpm-dir=/usr/include --enable-gd-native-ttf --with-pear=/usr/php/lib/php 
--disable-ipv6 --enable-fpm


Expected result:

Successfully

Actual result:
--
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo
In file included from /usr/src/php-5.4.6/sapi/fpm/fpm/fpm.c:16:0:
/usr/src/php-5.4.6/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' 
or 
')' before numeric constant
make: *** [sapi/fpm/fpm/fpm.lo] Error 1






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


Bug #63248 [Com]: ext\fileinfo\tests\bug61964.phpt fails

2012-10-13 Thread a...@php.net
Edit report at https://bugs.php.net/bug.php?id=63248&edit=1

 ID: 63248
 Comment by: a...@php.net
 Reported by:a...@php.net
 Summary:ext\fileinfo\tests\bug61964.phpt fails
 Status: Open
 Type:   Bug
 Package:*General Issues
 Operating System:   Windows
 PHP Version:5.4Git-2012-10-09 (Git)
 Block user comment: N
 Private report: N

 New Comment:

@reeze, that's exactly what it's about - prevent tries to get dir handle on 
windows. Another part of that is that it was using dirent_a.lib to iterate a 
dir which doesn't work on 5.4 as expected. I've updated the patch where that 
part is implemented with streams. Could you try it on windows please? Was the 
previous patch working for you on windows?


Previous Comments:

[2012-10-13 21:08:25] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1350162505
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1350162505


[2012-10-13 15:36:48] re...@php.net

on windows we couldn't  fopen() or file_get_contents() a directory.
it didn't consist on *nix systems behavior

so does the test failed because of this. 

maybe we could update streams implementation?


[2012-10-11 22:40:08] mattfic...@php.net

Most recent patch fixes the actual problem for me. Test still fails, but I 
don't get any error messages. It fails because the expected warning messages 
are missing.


[2012-10-11 15:53:18] a...@php.net

Updated the patch, using the PHPs readdir implementation win32/readdir.c 
instead of reimlementing it :)


[2012-10-11 15:42:01] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1349970121
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1349970121




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

https://bugs.php.net/bug.php?id=63248


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


Bug #63248 [PATCH]: ext\fileinfo\tests\bug61964.phpt fails

2012-10-13 Thread a...@php.net
Edit report at https://bugs.php.net/bug.php?id=63248&edit=1

 ID: 63248
 Patch added by: a...@php.net
 Reported by:a...@php.net
 Summary:ext\fileinfo\tests\bug61964.phpt fails
 Status: Open
 Type:   Bug
 Package:*General Issues
 Operating System:   Windows
 PHP Version:5.4Git-2012-10-09 (Git)
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1350162505
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1350162505


Previous Comments:

[2012-10-13 15:36:48] re...@php.net

on windows we couldn't  fopen() or file_get_contents() a directory.
it didn't consist on *nix systems behavior

so does the test failed because of this. 

maybe we could update streams implementation?


[2012-10-11 22:40:08] mattfic...@php.net

Most recent patch fixes the actual problem for me. Test still fails, but I 
don't get any error messages. It fails because the expected warning messages 
are missing.


[2012-10-11 15:53:18] a...@php.net

Updated the patch, using the PHPs readdir implementation win32/readdir.c 
instead of reimlementing it :)


[2012-10-11 15:42:01] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1349970121
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1349970121


[2012-10-10 18:02:46] a...@php.net

The issue is the following - when a directory is given as a magic path, 
libmagic looks for files inside it and tries to load all the files as magic 
files. Under windows there are two wrong points

- libmagic tries to get a directory handle
- libmagic uses opendir, readdir and so on which doesn't well on windows

The patch prevents libmagic from opening a directory and uses FindNextFile from 
the windows API to iterate dirs.

After applying this patch there are two tests failing

ext\fileinfo\tests\finfo_file_regex-win32.phpt
ext\fileinfo\tests\finfo_open_error-win32.phpt

But, the corresponding non win32 tests pass. Different behaviour of that two 
win32 tests seems co be caused because of the bug in this ticket, so then they 
could be kicked after the patch was applied.




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

https://bugs.php.net/bug.php?id=63248


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


Bug #53289 [Fbk->Nab]: about __destruct

2012-10-13 Thread reeze
Edit report at https://bugs.php.net/bug.php?id=53289&edit=1

 ID: 53289
 Updated by: re...@php.net
 Reported by:asersz at gmail dot com
 Summary:about __destruct
-Status: Feedback
+Status: Not a bug
 Type:   Bug
 Package:Scripting Engine problem
 Operating System:   Windows 7
 PHP Version:5.2.14
 Block user comment: N
 Private report: N

 New Comment:

@see http://3v4l.org/QJMph

在所有的版本中都表现正常。。你的描述有点不清楚。这段代码本来就不会有什么输出。
我先关闭了,如果有问题你再reopen吧。

I can't reproduce it, seems not a but,
Closed for now, if you have any issues, please reopen it.


Previous Comments:

[2012-03-29 15:16:15] php dot net at doppy dot nl

I'm unable to reproduce any error's or a white screen.
Code looks fine, although it is a bit of a strange construction.

Recommend closing this bug as "not a bug" as it has been open for 1,5 years now.


[2010-11-10 23:37:44] fel...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I can't reproduce any problem with this test script.


[2010-11-10 09:25:36] asersz at gmail dot com

Description:

I am not good at english.. 

Read the following code ..

An error occurs when you run it..
(there will be white-screen in my codes.)



Chinese :
如果你能看懂中文.那最好不过了. 
上面的代码我认为__destruct被继承之后, 
会导致下面两个类的对象在释放时出现无法找到static 
$childs的错误. 但是在我的代码里面他确实没有出现这个错误, 
反而运行了很久之后出现了白屏. 看上去很像一个死循环.


Test script:
---
error_reporting(E_ALL);
ini_set('display_errors', 'on');

abstract class Father {
   private static $childs = array();

   public static function getChild( $child ) {
   if (!array_key_exists("$child", self::$childs)) {
   self::$childs["$child"] = new $child;
   }
   return self::$childs["$child"];
   }

   public function __destruct() {
   foreach (self::$childs as $i => $child) {
self::$childs[$i] = $child = null;
   }
   }
}

class Child1 extends Father {}
class Child2 extends Father {}

$child1 = Father::getChild('Child1');
$child2 = Father::getChild('Child2');







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


Bug #63059 [Com]: Failed to build PHP-FPM

2012-10-13 Thread mike at maytech dot net
Edit report at https://bugs.php.net/bug.php?id=63059&edit=1

 ID: 63059
 Comment by: mike at maytech dot net
 Reported by:nam dot nh at nd24 dot net
 Summary:Failed to build PHP-FPM
 Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   OpenIndiana 151a6
 PHP Version:5.4.6
 Block user comment: N
 Private report: N

 New Comment:

See patch attached; should fix the compilation problem.


Previous Comments:

[2012-10-13 15:57:49] nam dot nh at nd24 dot net

Found similar to bug #62654, but still get error when "make"


[2012-09-11 06:00:16] nam dot nh at nd24 dot net

Description:

I'm building PHP 5.4.6 on a fresh machine that run OpenIndiana 151a6 OS, gcc 
version 4.6.3, error happens when do "make"

Test script:
---
./configure --prefix=/usr/php --with-gd --with-mcrypt --with-zlib 
--enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd  
--enable-inline-optimization --with-bz2 --enable-sockets --enable-mbregex 
--with-mhash --enable-zip --with-png-dir=/usr/include 
--with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include 
--with-xpm-dir=/usr/include --enable-gd-native-ttf --with-pear=/usr/php/lib/php 
--disable-ipv6 --enable-fpm


Expected result:

Successfully

Actual result:
--
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo
In file included from /usr/src/php-5.4.6/sapi/fpm/fpm/fpm.c:16:0:
/usr/src/php-5.4.6/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' 
or 
')' before numeric constant
make: *** [sapi/fpm/fpm/fpm.lo] Error 1






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


Bug #62654 [Com]: PHP-5.4.5 FPM SAPI doesn't compile on Solaris.

2012-10-13 Thread nam dot nh at nd24 dot net
Edit report at https://bugs.php.net/bug.php?id=62654&edit=1

 ID: 62654
 Comment by: nam dot nh at nd24 dot net
 Reported by:mike at maytech dot net
 Summary:PHP-5.4.5 FPM SAPI doesn't compile on Solaris.
 Status: Closed
 Type:   Bug
 Package:FPM related
 Operating System:   Solaris
 PHP Version:master-Git-2012-07-24 (Git)
 Assigned To:rasmus
 Block user comment: N
 Private report: N

 New Comment:

I don't know why I still failed to build PHP 5.4.6 and 5.4.7 on Solaris system, 
I 
filed #63059


Previous Comments:

[2012-07-27 16:53:09] larue...@php.net

Automatic comment on behalf of rasmus
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=5799ebdb0cafb2de1dbb18cfe780976c98dbaeac
Log: Fix bug #62654


[2012-07-27 16:52:24] larue...@php.net

Automatic comment on behalf of rasmus
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=5799ebdb0cafb2de1dbb18cfe780976c98dbaeac
Log: Fix bug #62654


[2012-07-26 04:43:05] larue...@php.net

Automatic comment on behalf of rasmus
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=5f224412fa6892645ca548ac75f20ff8743ed916
Log: Fix bug #62654


[2012-07-25 01:06:21] ras...@php.net

As the spam-flood of git commit messages should tell you, this has been fixed.


[2012-07-25 00:07:43] cataphr...@php.net

Automatic comment on behalf of rasmus
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=5799ebdb0cafb2de1dbb18cfe780976c98dbaeac
Log: Fix bug #62654




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

https://bugs.php.net/bug.php?id=62654


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


Bug #63059 [Com]: Failed to build PHP-FPM

2012-10-13 Thread nam dot nh at nd24 dot net
Edit report at https://bugs.php.net/bug.php?id=63059&edit=1

 ID: 63059
 Comment by: nam dot nh at nd24 dot net
 Reported by:nam dot nh at nd24 dot net
 Summary:Failed to build PHP-FPM
 Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   OpenIndiana 151a6
 PHP Version:5.4.6
 Block user comment: N
 Private report: N

 New Comment:

Found similar to bug #62654, but still get error when "make"


Previous Comments:

[2012-09-11 06:00:16] nam dot nh at nd24 dot net

Description:

I'm building PHP 5.4.6 on a fresh machine that run OpenIndiana 151a6 OS, gcc 
version 4.6.3, error happens when do "make"

Test script:
---
./configure --prefix=/usr/php --with-gd --with-mcrypt --with-zlib 
--enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd  
--enable-inline-optimization --with-bz2 --enable-sockets --enable-mbregex 
--with-mhash --enable-zip --with-png-dir=/usr/include 
--with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include 
--with-xpm-dir=/usr/include --enable-gd-native-ttf --with-pear=/usr/php/lib/php 
--disable-ipv6 --enable-fpm


Expected result:

Successfully

Actual result:
--
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo
/bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile 
gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ -
DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main -
I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php-
5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include -
I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma -
I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php-
5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite -
I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  
-I/usr/include -g -O2 -fvisibility=hidden  -c /usr/src/php-
5.4.6/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo
In file included from /usr/src/php-5.4.6/sapi/fpm/fpm/fpm.c:16:0:
/usr/src/php-5.4.6/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' 
or 
')' before numeric constant
make: *** [sapi/fpm/fpm/fpm.lo] Error 1






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


Bug #63248 [Opn]: ext\fileinfo\tests\bug61964.phpt fails

2012-10-13 Thread reeze
Edit report at https://bugs.php.net/bug.php?id=63248&edit=1

 ID: 63248
 Updated by: re...@php.net
 Reported by:a...@php.net
 Summary:ext\fileinfo\tests\bug61964.phpt fails
 Status: Open
 Type:   Bug
 Package:*General Issues
 Operating System:   Windows
 PHP Version:5.4Git-2012-10-09 (Git)
 Block user comment: N
 Private report: N

 New Comment:

on windows we couldn't  fopen() or file_get_contents() a directory.
it didn't consist on *nix systems behavior

so does the test failed because of this. 

maybe we could update streams implementation?


Previous Comments:

[2012-10-11 22:40:08] mattfic...@php.net

Most recent patch fixes the actual problem for me. Test still fails, but I 
don't get any error messages. It fails because the expected warning messages 
are missing.


[2012-10-11 15:53:18] a...@php.net

Updated the patch, using the PHPs readdir implementation win32/readdir.c 
instead of reimlementing it :)


[2012-10-11 15:42:01] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1349970121
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1349970121


[2012-10-10 18:02:46] a...@php.net

The issue is the following - when a directory is given as a magic path, 
libmagic looks for files inside it and tries to load all the files as magic 
files. Under windows there are two wrong points

- libmagic tries to get a directory handle
- libmagic uses opendir, readdir and so on which doesn't well on windows

The patch prevents libmagic from opening a directory and uses FindNextFile from 
the windows API to iterate dirs.

After applying this patch there are two tests failing

ext\fileinfo\tests\finfo_file_regex-win32.phpt
ext\fileinfo\tests\finfo_open_error-win32.phpt

But, the corresponding non win32 tests pass. Different behaviour of that two 
win32 tests seems co be caused because of the bug in this ticket, so then they 
could be kicked after the patch was applied.


[2012-10-10 17:51:00] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1349891460
URL:
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1349891460




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

https://bugs.php.net/bug.php?id=63248


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


Bug #63274 [Opn->Spm]: kjklj

2012-10-13 Thread kalle
Edit report at https://bugs.php.net/bug.php?id=63274&edit=1

 ID: 63274
 Updated by: ka...@php.net
 Reported by:er dot ajay79 at gmail dot com
 Summary:kjklj
-Status: Open
+Status: Spam
 Type:   Bug
 Package:*General Issues
 Operating System:   xp
 PHP Version:5.4.7
 Block user comment: N
 Private report: N



Previous Comments:

[2012-10-13 10:57:13] er dot ajay79 at gmail dot com

Description:

---
>From manual page: http://www.php.net/function.session-commit#refsect1-
function.session-commit-description
---


Test script:
---
jkhkh

Expected result:

m,n,n

Actual result:
--
mnbmb






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


Bug #63274 [Spm->Opn]: kjklj

2012-10-13 Thread kalle
Edit report at https://bugs.php.net/bug.php?id=63274&edit=1

 ID: 63274
 Updated by: ka...@php.net
 Reported by:er dot ajay79 at gmail dot com
 Summary:kjklj
-Status: Spam
+Status: Open
 Type:   Bug
 Package:*General Issues
 Operating System:   xp
 PHP Version:5.4.7
 Block user comment: N
 Private report: N



Previous Comments:

[2012-10-13 10:57:13] er dot ajay79 at gmail dot com

Description:

---
>From manual page: http://www.php.net/function.session-commit#refsect1-
function.session-commit-description
---


Test script:
---
jkhkh

Expected result:

m,n,n

Actual result:
--
mnbmb






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


Bug #63274 [Opn->Spm]: kjklj

2012-10-13 Thread cataphract
Edit report at https://bugs.php.net/bug.php?id=63274&edit=1

 ID: 63274
 Updated by: cataphr...@php.net
 Reported by:er dot ajay79 at gmail dot com
 Summary:kjklj
-Status: Open
+Status: Spam
 Type:   Bug
 Package:*General Issues
 Operating System:   xp
 PHP Version:5.4.7
 Block user comment: N
 Private report: N



Previous Comments:

[2012-10-13 10:57:13] er dot ajay79 at gmail dot com

Description:

---
>From manual page: http://www.php.net/function.session-commit#refsect1-
function.session-commit-description
---


Test script:
---
jkhkh

Expected result:

m,n,n

Actual result:
--
mnbmb






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


[PHP-BUG] Bug #63274 [NEW]: kjklj

2012-10-13 Thread er dot ajay79 at gmail dot com
From: er dot ajay79 at gmail dot com
Operating system: xp
PHP version:  5.4.7
Package:  *General Issues
Bug Type: Bug
Bug description:kjklj

Description:

---
>From manual page: http://www.php.net/function.session-commit#refsect1-
function.session-commit-description
---


Test script:
---
jkhkh

Expected result:

m,n,n

Actual result:
--
mnbmb

-- 
Edit bug report at https://bugs.php.net/bug.php?id=63274&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63274&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63274&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=63274&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=63274&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=63274&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63274&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=63274&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=63274&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=63274&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=63274&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=63274&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=63274&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=63274&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63274&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=63274&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=63274&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=63274&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63274&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63274&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63274&r=mysqlcfg