#48370 [Opn->Bgs]: Compilation breaks and make install fails
ID: 48370 Updated by: j...@php.net Reported By: alexgrau at t-online dot de -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: AIX PHP Version: 5.2.9 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #39197 and search for more yourself. Previous Comments: [2009-05-23 18:57:12] alexgrau at t-online dot de Description: I want to compile php 5.2.9 under AIX 5.3 TL 10 SP 1 (I tried it also under TL09, SP3) and enabled the cli option. The configure works fine and the building of libphp5.so is also ok but the compilation of the php binary for the cli seems to stop without any error message. The message "Build complete" is misleading since there is no php binary in any directory. Therefore both the make install-cli and the make install command fails. I tried the compilation with many changes with the configure options but fail in every way. There are also errors with make install but I can copy the libphp5.so to /usr/local/apache2/modules manually. Reproduce code: --- export CC=cc export CFLAGS="-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include" export CXX=xlC export CXXFLAGS=$CFLAGS export LD=ld export LDFLAGS="-L/opt/freeware/lib" export PATH=/usr/bin:/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/vac/bin:/usr/vacpp/bin:/usr/ccs/bin:/usr/dt/bin:/usr/opt/perl5/bin:/opt/freeware/bin:/opt/freeware/sbin:/usr/local/bin:/opt/freeware/lib:/opt/freeware/include The configure options (those who lead to the output above): ./configure --disable-all --enable-session --enable-cli --enable-shared --with-zlib --with-ldap=/usr/local/openldap --with-pcre-regex --with-pear --enable-xml --enable-libxml --with-apxs2=/usr/local/apache2/bin/apxs --enable-sockets --enable-zend-multibyte --enable-inline-optimization --enable-hash --with-mysql=/usr/local/mysql --with-mysql-sock=/var/tmp/ --with-openssl --with-IBM_DB2=/opt/IBM/db2/V9.5 make Expected result: lient -lldap -llber -lz -lssl -lcrypto -lm -lxml2 -liconv -lm -lxml2 - liconv -lm -o libphp5.la /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/php_cli.c -o sapi/cli/php_cli.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/php_cli_readline.c -o sapi/cli/php_cli_readline.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/getopt.c -o sapi/cli/getopt.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Imain/ -I/source/php-5.2.9/main/ -DPHP_ATOM_INC - I/source/php-5.2.9/include -I/source/php-5.2.9/main -I/source/php- 5.2.9 -I/opt/freeware/include/libxml2 -I/source/php-5.2.9/ext/date/lib -I/usr/local/openldap/include -I/usr/local/mysql/include/mysql - I/source/php-5.2.9/TSRM -I/source/php-5.2.9/Zend-qmaxmem=16384 - DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 - D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -bnoquiet -c main/internal_functions_cli.c -o main/internal_functions_cli.lo echo '\ \ Build
#48370 [NEW]: Compilation breaks and make install fails
From: alexgrau at t-online dot de Operating system: AIX PHP version: 5.2.9 PHP Bug Type: Compile Failure Bug description: Compilation breaks and make install fails Description: I want to compile php 5.2.9 under AIX 5.3 TL 10 SP 1 (I tried it also under TL09, SP3) and enabled the cli option. The configure works fine and the building of libphp5.so is also ok but the compilation of the php binary for the cli seems to stop without any error message. The message "Build complete" is misleading since there is no php binary in any directory. Therefore both the make install-cli and the make install command fails. I tried the compilation with many changes with the configure options but fail in every way. There are also errors with make install but I can copy the libphp5.so to /usr/local/apache2/modules manually. Reproduce code: --- export CC=cc export CFLAGS="-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include" export CXX=xlC export CXXFLAGS=$CFLAGS export LD=ld export LDFLAGS="-L/opt/freeware/lib" export PATH=/usr/bin:/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/vac/bin:/usr/vacpp/bin:/usr/ccs/bin:/usr/dt/bin:/usr/opt/perl5/bin:/opt/freeware/bin:/opt/freeware/sbin:/usr/local/bin:/opt/freeware/lib:/opt/freeware/include The configure options (those who lead to the output above): ./configure --disable-all --enable-session --enable-cli --enable-shared --with-zlib --with-ldap=/usr/local/openldap --with-pcre-regex --with-pear --enable-xml --enable-libxml --with-apxs2=/usr/local/apache2/bin/apxs --enable-sockets --enable-zend-multibyte --enable-inline-optimization --enable-hash --with-mysql=/usr/local/mysql --with-mysql-sock=/var/tmp/ --with-openssl --with-IBM_DB2=/opt/IBM/db2/V9.5 make Expected result: lient -lldap -llber -lz -lssl -lcrypto -lm -lxml2 -liconv -lm -lxml2 - liconv -lm -o libphp5.la /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/php_cli.c -o sapi/cli/php_cli.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/php_cli_readline.c -o sapi/cli/php_cli_readline.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/cli/ -I/source/php-5.2.9/sapi/cli/ - DPHP_ATOM_INC -I/source/php-5.2.9/include -I/source/php-5.2.9/main - I/source/php-5.2.9 -I/opt/freeware/include/libxml2 -I/source/php- 5.2.9/ext/date/lib -I/usr/local/openldap/include - I/usr/local/mysql/include/mysql -I/source/php-5.2.9/TSRM - I/source/php-5.2.9/Zend-qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 - D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE - DFUNCPROTO=15 -O -I/opt/freeware/include-c /source/php- 5.2.9/sapi/cli/getopt.c -o sapi/cli/getopt.lo /bin/sh /source/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile cc -Imain/ -I/source/php-5.2.9/main/ -DPHP_ATOM_INC - I/source/php-5.2.9/include -I/source/php-5.2.9/main -I/source/php- 5.2.9 -I/opt/freeware/include/libxml2 -I/source/php-5.2.9/ext/date/lib -I/usr/local/openldap/include -I/usr/local/mysql/include/mysql - I/source/php-5.2.9/TSRM -I/source/php-5.2.9/Zend-qmaxmem=16384 - DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 - D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -bnoquiet -c main/internal_functions_cli.c -o main/internal_functions_cli.lo echo '\ \ Build complete. Don't forget to run 'make test'. --- (tsm01/root) /source/php-5.2.9 > make test echo '\ \ Build complete. Don't forget to run 'make test'. ERROR: Cannot run tests without CLI sapi. (tsm01/root) /source/php-5.2.9 > (tsm01/root) /source/php-5.2.9 > make install-cli echo '\ \ Installing PHP CLI binary:/usr/local/bin/ cp: sapi/cli/php: No such file or directory make: 1254-004 The error code from
#48369 [Opn->Bgs]: Memory leak in array & objects
ID: 48369 Updated by: j...@php.net Reported By: busia at tiscali dot it -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 5.3.0RC2 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Previous Comments: [2009-05-23 17:27:29] busia at tiscali dot it Description: When I unset an array containing object, the memory is not freed as expected. Too much memory is still used. Reproduce code: --- Expected result: 325776 230042304 circa 325776 Actual result: -- 325776 230042304 33977912 -- Edit this bug report at http://bugs.php.net/?id=48369&edit=1
#48369 [NEW]: Memory leak in array & objects
From: busia at tiscali dot it Operating system: Windows PHP version: 5.3.0RC2 PHP Bug Type: Scripting Engine problem Bug description: Memory leak in array & objects Description: When I unset an array containing object, the memory is not freed as expected. Too much memory is still used. Reproduce code: --- Expected result: 325776 230042304 circa 325776 Actual result: -- 325776 230042304 33977912 -- Edit bug report at http://bugs.php.net/?id=48369&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48369&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48369&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48369&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48369&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48369&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48369&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48369&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48369&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48369&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48369&r=support Expected behavior: http://bugs.php.net/fix.php?id=48369&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48369&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48369&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48369&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48369&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48369&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48369&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48369&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48369&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48369&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48369&r=mysqlcfg
#48368 [Opn->Bgs]: Memory leak in array & objects
ID: 48368 Updated by: j...@php.net Reported By: busia at tiscali dot it -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 5.3.0RC2 New Comment: unset != free. The memory is freed once the process shuts down. Until that, it's available inside the process. This is not a leak. Previous Comments: [2009-05-23 17:24:48] busia at tiscali dot it Description: When I unset an array containing object, the memory is not freed as expected. Too much memory is still used. Reproduce code: --- Expected result: 325776 230042304 circa 325776 Actual result: -- 325776 230042304 33977912 -- Edit this bug report at http://bugs.php.net/?id=48368&edit=1
#48368 [NEW]: Memory leak in array & objects
From: busia at tiscali dot it Operating system: Windows PHP version: 5.3.0RC2 PHP Bug Type: Scripting Engine problem Bug description: Memory leak in array & objects Description: When I unset an array containing object, the memory is not freed as expected. Too much memory is still used. Reproduce code: --- Expected result: 325776 230042304 circa 325776 Actual result: -- 325776 230042304 33977912 -- Edit bug report at http://bugs.php.net/?id=48368&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48368&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48368&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48368&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48368&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48368&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48368&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48368&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48368&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48368&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48368&r=support Expected behavior: http://bugs.php.net/fix.php?id=48368&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48368&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48368&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48368&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48368&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48368&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48368&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48368&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48368&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48368&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48368&r=mysqlcfg
#48365 [Fbk]: glob() function returns empty array
ID: 48365 Updated by: j...@php.net Reported By: peter dot chen at itg dot com Status: Feedback Bug Type: Apache2 related Operating System: sparc-sol2.10 PHP Version: 5.2.9 New Comment: You obviously didn't follow the url provided in the email. Please, do not "Add Comment" to your own report, use the "Edit Submission" (where the link in the email points too. And now, please provide the code that actually causes the problem. That code works fine everywhere. Previous Comments: [2009-05-23 10:35:41] carsten_sttgt at gmx dot de > print_r(glob($path . '*.*';)); This line give you a parse error. Must be: | print_r(glob($path . '*.*')); Apart from this, the code is working for me (Win,BSD). BTW: > [0] => . > [1] => .. > [2] => authtest With your code, this can't be part of the result from glob(). Regards, Carsten [2009-05-22 21:09:23] peter dot chen at itg dot com http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> glob test glob:"); print_r(glob($path . '*.*';)); print("***"); print("scandir:"); print_r(scandir($path)); ?> [2009-05-22 19:43:37] j...@php.net Please provide proper example script. [2009-05-22 19:38:20] peter dot chen at itg dot com Description: I am trying to use glob() to display the contents of a directory I store the path in a variable ($path). When I give $path as an argument to glob($path), it returns an empty array. When I give it to scandir($path), it returns all the files in that path. Reproduce code: --- --- >From manual page: function.glob --- Expected result: Array ( [0] => . [1] => .. [2] => authtest [3] => globtest.php [4] => globtest.php.LCK [5] => globtest2.php [6] => home.php.LCK ) Actual result: -- Array ( ) -- Edit this bug report at http://bugs.php.net/?id=48365&edit=1
#48367 [Opn->Bgs]: the same compile error with intel c++ 10
ID: 48367 Updated by: j...@php.net Reported By: yangda at gmx dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: centos5.3 PHP Version: 5.2.9 New Comment: I don't know where you found those sources, but in PHP there isn't and has never been any file like that. Previous Comments: [2009-05-23 13:08:32] yangda at gmx dot com the same compile error with intel c++ 10 [2009-05-23 13:01:03] yangda at gmx dot com Description: Hi. I want to make install PHP5.2.8 or PHP5.2.9 with intel c++ 10, but I had given the same error with your fpm_children.c file. I make install PHP5.2.8 or PHP5.2.9 like this: tar zxvf php-5.2.8.tar.gz or php-5.2.9.tar.gz gzip -cd php-5.2.8-fpm-0.5.10.diff.gz | patch -d php-5.2.8 -p1 cd php-5.2.8/ CC='icc -static-intel' CFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' CXX='icpc -static-intel' CXXFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex -enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring -with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --disable-ipv6 but when I make test, it would depend an error: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 If I had only used CC=icc CXX=icpc ./configure --prefix=/usr/local/php.., no CFLAGS, no CXXFLAGS. But, when I make test, the same error is: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 So, I think it's possible that the fpm_children.c file has bug. Thanks. Coolcookies -- Edit this bug report at http://bugs.php.net/?id=48367&edit=1
#48367 [Opn]: the same compile error with intel c++ 10
ID: 48367 User updated by: yangda at gmx dot com -Summary: Coolcookies Reported By: yangda at gmx dot com Status: Open Bug Type: Compile Failure Operating System: centos5.3 PHP Version: 5.2.9 New Comment: the same compile error with intel c++ 10 Previous Comments: [2009-05-23 13:01:03] yangda at gmx dot com Description: Hi. I want to make install PHP5.2.8 or PHP5.2.9 with intel c++ 10, but I had given the same error with your fpm_children.c file. I make install PHP5.2.8 or PHP5.2.9 like this: tar zxvf php-5.2.8.tar.gz or php-5.2.9.tar.gz gzip -cd php-5.2.8-fpm-0.5.10.diff.gz | patch -d php-5.2.8 -p1 cd php-5.2.8/ CC='icc -static-intel' CFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' CXX='icpc -static-intel' CXXFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex -enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring -with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --disable-ipv6 but when I make test, it would depend an error: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 If I had only used CC=icc CXX=icpc ./configure --prefix=/usr/local/php.., no CFLAGS, no CXXFLAGS. But, when I make test, the same error is: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 So, I think it's possible that the fpm_children.c file has bug. Thanks. Coolcookies -- Edit this bug report at http://bugs.php.net/?id=48367&edit=1
#48367 [NEW]: Coolcookies
From: yangda at gmx dot com Operating system: centos5.3 PHP version: 5.2.9 PHP Bug Type: Compile Failure Bug description: Coolcookies Description: Hi. I want to make install PHP5.2.8 or PHP5.2.9 with intel c++ 10, but I had given the same error with your fpm_children.c file. I make install PHP5.2.8 or PHP5.2.9 like this: tar zxvf php-5.2.8.tar.gz or php-5.2.9.tar.gz gzip -cd php-5.2.8-fpm-0.5.10.diff.gz | patch -d php-5.2.8 -p1 cd php-5.2.8/ CC='icc -static-intel' CFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' CXX='icpc -static-intel' CXXFLAGS='-O2 -unroll2 -ip -mp -restrict -xP' ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex -enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring -with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --disable-ipv6 but when I make test, it would depend an error: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 If I had only used CC=icc CXX=icpc ./configure --prefix=/usr/local/php.., no CFLAGS, no CXXFLAGS. But, when I make test, the same error is: compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4) make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1 So, I think it's possible that the fpm_children.c file has bug. Thanks. Coolcookies -- Edit bug report at http://bugs.php.net/?id=48367&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48367&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48367&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48367&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48367&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48367&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48367&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48367&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48367&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48367&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48367&r=support Expected behavior: http://bugs.php.net/fix.php?id=48367&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48367&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48367&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48367&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48367&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48367&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48367&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48367&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48367&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48367&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48367&r=mysqlcfg
#48365 [Com]: glob() function returns empty array
ID: 48365 Comment by: carsten_sttgt at gmx dot de Reported By: peter dot chen at itg dot com Status: Feedback Bug Type: Apache2 related Operating System: sparc-sol2.10 PHP Version: 5.2.9 New Comment: > print_r(glob($path . '*.*';)); This line give you a parse error. Must be: | print_r(glob($path . '*.*')); Apart from this, the code is working for me (Win,BSD). BTW: > [0] => . > [1] => .. > [2] => authtest With your code, this can't be part of the result from glob(). Regards, Carsten Previous Comments: [2009-05-22 21:09:23] peter dot chen at itg dot com http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> glob test glob:"); print_r(glob($path . '*.*';)); print("***"); print("scandir:"); print_r(scandir($path)); ?> [2009-05-22 19:43:37] j...@php.net Please provide proper example script. [2009-05-22 19:38:20] peter dot chen at itg dot com Description: I am trying to use glob() to display the contents of a directory I store the path in a variable ($path). When I give $path as an argument to glob($path), it returns an empty array. When I give it to scandir($path), it returns all the files in that path. Reproduce code: --- --- >From manual page: function.glob --- Expected result: Array ( [0] => . [1] => .. [2] => authtest [3] => globtest.php [4] => globtest.php.LCK [5] => globtest2.php [6] => home.php.LCK ) Actual result: -- Array ( ) -- Edit this bug report at http://bugs.php.net/?id=48365&edit=1