On Fri, Feb 27, 2015 at 12:18 PM, Benjamin Eberlei <kont...@beberlei.de> wrote:
> > > On Fri, Feb 27, 2015 at 9:44 AM, Dmitry Stogov <dmi...@zend.com> wrote: > >> I've added the link to the patch >> >> https://github.com/php/php-src/pull/1125/files >> > > Thanks! > > First, the necessary PHPUnit changes (dev-master) to avoid errors: > > https://gist.github.com/beberlei/8a33ae940829f1186da2 > > - Doctrine DBAL testsuite: 8 failures > - Doctrine ORM: Crashes unrelated after half the tests, but has about > 30-50% failures like Symfony2 > - Symfony2 Testsuite: 6215 failures > - Twig: Tests: 1108, Assertions: 1616, Errors: 125. > > Now probably many of the failures are related to few code paths that need > fixing, however I have to find out that and will be a lot of work. But this > is the good PHP code! > > For untested or older PHP code (and yes there is alot out there) i now > have to collect the errors in production to find all the occurances. This > is nothing i can just do whenever I want, I need a process to collect and > fix this over time. Now every company needs this process for every project > they have out there. And the typical agency has hundrets/thousands of > drupal, typo3, wordpress installations out there. > I used the following configure line and then /usr/local/php7/lib/php.ini ./configure --prefix=/usr/local/php7 --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-tidy=/usr --with-curl=/usr --with-curlwrappers --with-zlib-dir=/usr --enable-mbstring --with-xpm-dir=/usr --enable-pdo=shared --with-pdo-mysql=shared,mysqlnd --without-sqlite --with-pdo-sqlite=shared,/usr --with-xsl=/usr --with-xmlrpc --with-iconv-dir=/usr --with-snmp=/usr --enable-exif --enable-calendar --with-bz2=/usr --with-mcrypt=/usr --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr --enable-mbstring --enable-zip --with-pear --enable-soap --with-gd --enable-intl --with-bz2=/usr --enable-sockets --with-sqlite3=shared --enable-pcntl max_execution_time=600 memory_limit=128M error_reporting=-1 display_errors=1 log_errors=0 user_ini.filename= realpath_cache_size=2M cgi.check_shebang_line=0 zend_extension=opcache.so opcache.enable_cli=1 opcache.save_comments=1 opcache.fast_shutdown=1 opcache.validate_timestamps=1 opcache.revalidate_freq=60 opcache.use_cwd=1 opcache.max_accelerated_files=100000 opcache.max_wasted_percentage=5 opcache.memory_consumption=128 opcache.consistency_checks=0 date.timezone=Europe/Berlin extension=pdo.so extension=pdo_sqlite.so extension=pdo_mysql.so extension=sqlite3.so