|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-05-15 01:08 UTC] bobvin at pillars dot net
Description: ------------ See Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620776 Downloadable patch at http://tinyurl.com/3mrcary Patchescompile-without-curl.txt (last revision 2011-05-17 12:57 UTC by bobvin at pillars dot net)compile-with-curl.txt (last revision 2011-05-17 12:56 UTC by bobvin at pillars dot net) debian_patches_disable_SSLv2_for_openssl_1_0_0.patch (last revision 2011-05-14 23:09 UTC by bobvin at pillars dot net) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 08:00:01 2025 UTC |
Here's the config script I'm using: #!/bin/sh rm -rf cgi-build generated_lists autom4te.cache touch *.in ./buildconf --force mkdir cgi-build cd cgi-build CFLAGS="-Os -march=native -mtune=native -fno-strict-aliasing -fno-stack- protector -U_FORTIFY_SOURCE -Wno-inline" \ CXXFLAGS="-Os -march=native -mtune=native -fno-strict-aliasing -fno-stack- protector -U_FORTIFY_SOURCE -Wno-inline" \ LDFLAGS="-s" \ PROG_SENDMAIL="/usr/sbin/sendmail" \ ../configure \ --prefix=/usr \ --enable-fd-setsize=1024 \ --with-config-file-path=/etc/php5/cgi --with-config-file-scan- dir=/etc/php5/cgi/conf.d \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --disable-debug \ --disable-intl \ --disable-ipv6 \ --disable-magic-quotes \ --disable-rpath \ --disable-safe-mode \ --disable-shmop \ --disable-short-tags \ --disable-wddx \ --enable-apc --enable-apc-pthreadmutex --enable-apc-sem --disable-apc-mmap \ --enable-bcmath \ --enable-calendar \ --enable-cgi \ --enable-ctype \ --enable-exif \ --enable-fpm --with-libevent-dir=/usr --with-fpm-user=www-data --with-fpm- group=www-data \ --enable-ftp \ --enable-gd-native-ttf --with-gd=/usr \ --enable-igbinary \ --enable-libxml --with-libxml-dir=/usr \ --enable-mbstring \ --enable-memcached --enable-memcached-igbinary \ --enable-pdo \ --enable-phar \ --enable-posix \ --enable-shmop \ --enable-simplexml \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-xmlreader \ --enable-xmlwriter \ --enable-zend-multibyte \ --enable-zip --with-zlib=/usr --with-zlib-dir=/usr \ --with-curl=/usr \ --with-freetype-dir=/usr \ --with-gettext=/usr \ --with-iconv \ --with-imap=/usr --with-imap-ssl \ --with-jpeg-dir=/usr \ --with-layout=GNU \ --with-mcrypt=/usr \ --with-mhash=/usr \ --with-mm=/usr \ --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with- mysql-sock=/var/run/mysqld/mysqld.sock \ --with-openssl=/usr --with-kerberos=/usr \ --with-pcre-dir=/usr --with-pcre-regex=/usr \ --with-pear=/usr/share/php \ --with-pic \ --with-png-dir=/usr \ --with-pspell=/usr \ --with-readline=/usr \ --with-regex=php \ --with-sqlite3 --with-pdo-sqlite \ --with-t1lib=/usr \ --with-xpm-dir=/usr/X11R6 \ --with-xsl=/usr \ --without-bz2 \ --without-db4 --without-pdo-dblib \ --without-enchant \ --without-gdbm \ --without-gmp \ --without-ldap --without-ldap-sasl \ --without-mssql \ --without-onig \ --without-pgsql --without-pdo-pgsql \ --without-qdbm \ --without-recode \ --without-snmp \ --without-sqlite \ --without-sybase-ct \ --without-tidy \ --without-unixODBC --without-pdo-odbc \ --without-xmlrpc \ make && sv stop php-fpm && make install sv start php-fpmI ran your configure script. The only difference is that it looks like you have hardwired some pecl extensions into your build tree. These flags were ignored in my build: --enable-apc --enable-apc-pthreadmutex --enable-apc-sem --disable-apc-mmap --with-libevent-dir=/usr --enable-igbinary --enable-memcached --enable-memcached-igbinary and I was able to reproduce it. Note that with my configure options it works fine: CFLAGS="-Os -march=native -mtune=native -fno-strict-aliasing -fno-stack- protector -U_FORTIFY_SOURCE -Wno-inline" \ CXXFLAGS="-Os -march=native -mtune=native -fno-strict-aliasing -fno-stack- protector -U_FORTIFY_SOURCE -Wno-inline" \ LDFLAGS="-s" \ PROG_SENDMAIL="/usr/sbin/sendmail" \ ../configure \ --prefix=/usr \ --enable-fd-setsize=1024 \ --with-config-file-path=/etc/php5/cgi --with-config-file-scan- dir=/etc/php5/cgi/conf.d \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --disable-debug \ --disable-intl \ --disable-ipv6 \ --disable-magic-quotes \ --disable-rpath \ --disable-safe-mode \ --disable-shmop \ --disable-short-tags \ --disable-wddx \ --enable-apc --enable-apc-pthreadmutex --enable-apc-sem --disable-apc-mmap \ --enable-bcmath \ --enable-calendar \ --enable-cgi \ --enable-ctype \ --enable-exif \ --enable-fpm --with-libevent-dir=/usr --with-fpm-user=www-data --with-fpm- group=www-data \ --enable-ftp \ --enable-gd-native-ttf --with-gd=/usr \ --enable-igbinary \ --enable-libxml --with-libxml-dir=/usr \ --enable-mbstring \ --enable-memcached --enable-memcached-igbinary \ --enable-pdo \ --enable-phar \ --enable-posix \ --enable-shmop \ --enable-simplexml \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-xmlreader \ --enable-xmlwriter \ --enable-zend-multibyte \ --enable-zip --with-zlib=/usr --with-zlib-dir=/usr \ --with-curl=/usr \ --with-freetype-dir=/usr \ --with-gettext=/usr \ --with-iconv \ --with-imap=/usr --with-imap-ssl \ --with-jpeg-dir=/usr \ --with-layout=GNU \ --with-mcrypt=/usr \ --with-mhash=/usr \ --with-mm=/usr \ --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with- mysql-sock=/var/run/mysqld/mysqld.sock \ --with-openssl=/usr --with-kerberos=/usr \ --with-pcre-dir=/usr --with-pcre-regex=/usr \ --with-pear=/usr/share/php \ --with-pic \ --with-png-dir=/usr \ --with-pspell=/usr \ --with-readline=/usr \ --with-regex=php \ --with-sqlite3 --with-pdo-sqlite \ --with-t1lib=/usr \ --with-xpm-dir=/usr/X11R6 \ --with-xsl=/usr \ --without-bz2 \ --without-db4 --without-pdo-dblib \ --without-enchant \ --without-gdbm \ --without-gmp \ --without-ldap --without-ldap-sasl \ --without-mssql \ --without-onig \ --without-pgsql --without-pdo-pgsql \ --without-qdbm \ --without-recode \ --without-snmp \ --without-sqlite \ --without-sybase-ct \ --without-tidy \ --without-unixODBC --without-pdo-odbc \ --without-xmlrpc \ So, to save me some time, could you first verify that it builds fine on your box with my configure options, and second, could you go through the differences and figure out which one is causing this? I have already eliminated the pecl ones I listed initially since it still happens without those.