PHP 5.6 is end of life by the end of 2018. There will be no security updates anymore.
Already pushed some packages to backports testing, everyone is welcome to test.
Keywords: (none) => Backport
I tested PHP 7.2.11 with Apache 2.4.37 on Mageia 6 with PHP applications such as Drupal 8.6.2, Booked, LimeSurvey and GLPI. Everything works fine. Running the nbody benchmark [1] shows that the packaged PHP is 10-15% slower than the self-compiled PHP 7.2.11 using only ./configure && make && make install. Any idea why there is such a difference? [1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-php-3.html
CC: (none) => LpSolit
good to here it works as expected. Our build is a bit different to that one. First we build more modules, which may have impact on the benchmark. We use shared libraries already offered by the system instead of the shipped ones, even we enable a few things and at least some compiler options are set by mageia which may have impact. It is hard to find, where the difference is between these options. I hope we can work on this (after my holiday ;) )
Updated packages in core/backports_testing: ======================== php-bcmath-7.2.11-1.mga6 php-bz2-7.2.11-1.mga6 php-calendar-7.2.11-1.mga6 php-cgi-7.2.11-1.mga6 php-cli-7.2.11-1.mga6 php-ctype-7.2.11-1.mga6 php-curl-7.2.11-1.mga6 php-dba-7.2.11-1.mga6 php-devel-7.2.11-1.mga6 php-doc-7.2.11-1.mga6.noarch.rpm php-dom-7.2.11-1.mga6 php-enchant-7.2.11-1.mga6 php-exif-7.2.11-1.mga6 php-fileinfo-7.2.11-1.mga6 php-filter-7.2.11-1.mga6 php-fpdf-1.8.1-1.mga6.noarch.rpm php-fpm-7.2.11-1.mga6 php-ftp-7.2.11-1.mga6 php-gd-7.2.11-1.mga6 php-gettext-7.2.11-1.mga6 php-gmp-7.2.11-1.mga6 php-hash-7.2.11-1.mga6 php-iconv-7.2.11-1.mga6 php-igbinary-2.0.8-1.mga6 php-imap-7.2.11-1.mga6 php-ini-7.2.11-1.mga6 php-interbase-7.2.11-1.mga6 php-intl-7.2.11-1.mga6 php-json-7.2.11-1.mga6 php-ldap-7.2.11-1.mga6 php-mbstring-7.2.11-1.mga6 php-mcrypt-1.0.1-4.mga6 php-memcached-3.0.4-1.mga6 php-mysqli-7.2.11-1.mga6 php-mysqlnd-7.2.11-1.mga6 php-odbc-7.2.11-1.mga6 php-opcache-7.2.11-1.mga6 php-openssl-7.2.11-1.mga6 php-pcntl-7.2.11-1.mga6 php-pdo-7.2.11-1.mga6 php-pdo_dblib-7.2.11-1.mga6 php-pdo_firebird-7.2.11-1.mga6 php-pdo_mysql-7.2.11-1.mga6 php-pdo_odbc-7.2.11-1.mga6 php-pdo_pgsql-7.2.11-1.mga6 php-pdo_sqlite-7.2.11-1.mga6 php-pecl-mcrypt-1.0.1-1.mga6 php-pgsql-7.2.11-1.mga6 php-phar-7.2.11-1.mga6 php-posix-7.2.11-1.mga6 php-propro-2.1.0-1.mga6 php-raphf-2.0.0-1.mga6 php-readline-7.2.11-1.mga6 php-recode-7.2.11-1.mga6 php-session-7.2.11-1.mga6 php-shmop-7.2.11-1.mga6 php-snmp-7.2.11-1.mga6 php-soap-7.2.11-1.mga6 php-sockets-7.2.11-1.mga6 php-sqlite3-7.2.11-1.mga6 php-ssh2-1.1.2-1.mga6 php-svn-1.0.3-1.mga6 php-sysvmsg-7.2.11-1.mga6 php-sysvsem-7.2.11-1.mga6 php-sysvshm-7.2.11-1.mga6 php-tidy-7.2.11-1.mga6 php-tokenizer-7.2.11-1.mga6 php-wddx-7.2.11-1.mga6 php-xdebug-2.6.1-1.mga6 php-xml-7.2.11-1.mga6 php-xmlreader-7.2.11-1.mga6 php-xmlrpc-7.2.11-1.mga6 php-xmlwriter-7.2.11-1.mga6 php-xsl-7.2.11-1.mga6 php-zip-7.2.11-1.mga6 php-zlib-7.2.11-1.mga6 phpdbg-7.2.11-1.mga6 SRPM: php-7.2.11-1.mga6.src.rpm
Component: RPM Packages => BackportsAssignee: mageia => qa-bugs
Sorry forgotten a few RPMS: apache-mod_php-7.2.11-1.mga6 SRPM's: php-igbinary-2.0.8-1.mga6.src.rpm php-mcrypt-1.0.1-4.mga6.src.rpm php-memcached-3.0.4-1.mga6.src.rpm php-propro-2.1.0-1.mga6.src.rpm php-raphf-2.0.0-1.mga6.src.rpm php-ssh2-1.1.2-1.mga6.src.rpm php-svn-1.0.3-1.mga6.src.rpm php-xdebug-2.6.1-1.mga6.src.rpm
I recommend putting a warning possible issues with deprecated/incompatible/changed features when migrating from PHP 5.* to PHP 7. https://secure.php.net/manual/en/migration70.php
CC: (none) => mageia
that is nothing specific to this change. We have this on every release, e.g. from 5.3 to 5.4 and so on.
(In reply to Marc Krämer from comment #7) > that is nothing specific to this change. We have this on every release, e.g. > from 5.3 to 5.4 and so on. True, but the degree is significantly higher, IMO. The amount of deprecated stuff removed is significant and event the language had semantic changes that can't be lint'ed with ease.
true too, but the changes are way to much to mention in a package. Almost *all* software *should* have been updated to be php7 compatible - but I know how real world is, but still, anyone using php should know about the 5->7 change. But maybe I can put in a small info on testing php. With backports it is easy switching back, if sth. fails or is not updated.
Ok, I've added a comment in packages in release 3. Can you do some validation, so we can push them to backports soon?
MGA6-64 Plasma on Lenovo B50 No installation issues, except one: Comment 5 list srpm'ss for apache-mod_php-7.2.11-1.mga6, but the repo also carries separate rpm's for those packages of the corre version, exccept php-mcrypt Is that a problem?? I will look out for some testing.
CC: (none) => herman.viaene
Ref bug 22843 for tests $ php -r 'phpinfo();' | more phpinfo() PHP Version => 7.2.11 System => Linux mach5.hviaene.thuis 4.14.78-desktop-1.mga6 #1 SMP Sun Oct 21 20:31:12 UTC 2018 x86_64 Build Date => Nov 10 2018 23:00:13 Configure Command => './configure' '--with-apxs2=/usr/bin/apxs' '--build=x86_64-mageia-linux-gnu' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/ usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var/lib' '--mandir=/ usr/share/man' '--enable-shared=yes' '--enable-static=no' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' and a lot more Ref bug 23564 Comment 11 (see attacbment) $ php -S localhost:8000 index.php [Sun Nov 11 11:36:15 2018] PHP Warning: PHP Startup: Unable to load dynamic library 'svn.so' (tried: /usr/lib64/php/extensions/svn.so (/usr/lib64/php/extensions/svn.so: undefined symbol: _zend_list_addref), /usr/lib64/php/extensions/svn.so.so (/usr/lib64/php/extensions/svn.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 7.2.11 Development Server started at Sun Nov 11 11:36:15 2018 Listening on http://localhost:8000 Document root is /home/tester6/Documenten/phptest Press Ctrl-C to quit. pointing browser to localhost:8000 displays a page of info. Tried Len's test from bug 22843 Comment 2 /create-png.php, but this does not work, the browser displays: The picture http://localhost:8000/create-png.php cannot be dsiplayed because it contains errors and it the CLI I get: $ php -S localhost:8000 create-png.php [Sun Nov 11 11:41:08 2018] PHP Warning: PHP Startup: Unable to load dynamic library 'svn.so' (tried: /usr/lib64/php/extensions/svn.so (/usr/lib64/php/extensions/svn.so: undefined symbol: _zend_list_addref), /usr/lib64/php/extensions/svn.so.so (/usr/lib64/php/extensions/svn.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
thanks Herman, due to your output, I've recompiled the dependend submodules, e.g. svn where this bad output comes from. Where is that testscript "create-png.php"? maybe the command-line-output of "library 'svn.so'" was added to that picture.
Adding create-png.php as attachment.
Created attachment 10467 [details] php script for picture
@Herman: your testscript has a space before the starting "<?php". If you remove this, everything works as expected. even the file one.png, which is created by the script is correct.
Confirm Marc's Comment 16, removing the space in the script solves the problem. So, that's as far as my testing will go. OK for me.
Whiteboard: (none) => MGA6-64-OK
Installed and tested without issues. System: Mageia 6, x86_64, Apache 2.4.37, Intel CPU. Tests included: - Large scripts; - Small scripts; - Widely used scripts (e.g. wordpress, drupal, roundcube); - Custom scripts; - Executed from HTTP(S) requests (apache 2.4.37); - Debugging from netbeans; - Executed from the CLI; - Many test unit scripts. All worked as expected. Installation messages: The following 40 packages are going to be installed: - apache-mod_php-7.2.11-3.mga6.x86_64 - lib64php_common7-7.2.11-3.mga6.x86_64 - php-cli-7.2.11-3.mga6.x86_64 - php-ctype-7.2.11-3.mga6.x86_64 - php-curl-7.2.11-3.mga6.x86_64 - php-dom-7.2.11-3.mga6.x86_64 - php-fileinfo-7.2.11-3.mga6.x86_64 - php-filter-7.2.11-3.mga6.x86_64 - php-ftp-7.2.11-3.mga6.x86_64 - php-gd-7.2.11-3.mga6.x86_64 - php-gettext-7.2.11-3.mga6.x86_64 - php-hash-7.2.11-3.mga6.x86_64 - php-iconv-7.2.11-3.mga6.x86_64 - php-igbinary-2.0.8-2.mga6.x86_64 - php-ini-7.2.11-3.mga6.noarch - php-intl-7.2.11-3.mga6.x86_64 - php-json-7.2.11-3.mga6.x86_64 - php-ldap-7.2.11-3.mga6.x86_64 - php-mbstring-7.2.11-3.mga6.x86_64 - php-memcached-3.0.4-2.mga6.x86_64 - php-mysqli-7.2.11-3.mga6.x86_64 - php-mysqlnd-7.2.11-3.mga6.x86_64 - php-openssl-7.2.11-3.mga6.x86_64 - php-pdo-7.2.11-3.mga6.x86_64 - php-pdo_mysql-7.2.11-3.mga6.x86_64 - php-pdo_pgsql-7.2.11-3.mga6.x86_64 - php-pdo_sqlite-7.2.11-3.mga6.x86_64 - php-pecl-mcrypt-1.0.1-1.mga6.x86_64 - php-pgsql-7.2.11-3.mga6.x86_64 - php-posix-7.2.11-3.mga6.x86_64 - php-session-7.2.11-3.mga6.x86_64 - php-sysvsem-7.2.11-3.mga6.x86_64 - php-sysvshm-7.2.11-3.mga6.x86_64 - php-tokenizer-7.2.11-3.mga6.x86_64 - php-xdebug-2.6.1-2.mga6.x86_64 - php-xml-7.2.11-3.mga6.x86_64 - php-xmlreader-7.2.11-3.mga6.x86_64 - php-xmlwriter-7.2.11-3.mga6.x86_64 - php-zip-7.2.11-3.mga6.x86_64 - php-zlib-7.2.11-3.mga6.x86_64 10MB of additional disk space will be used. 4.6MB of packages will be retrieved. Is it ok to continue? $ uname -a Linux marte 4.14.78-desktop-1.mga6 #1 SMP Sun Oct 21 20:31:12 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ rpm -qa | grep php | sort apache-mod_php-7.2.11-3.mga6 lib64php5_common5-5.6.38-1.mga6 lib64php_common7-7.2.11-3.mga6 php-channel-phpunit-1.3-15.mga6 php-cli-7.2.11-3.mga6 php-ctype-7.2.11-3.mga6 php-curl-7.2.11-3.mga6 php-dom-7.2.11-3.mga6 php-fileinfo-7.2.11-3.mga6 php-filter-7.2.11-3.mga6 php-ftp-7.2.11-3.mga6 php-gd-7.2.11-3.mga6 php-gettext-7.2.11-3.mga6 php-hash-7.2.11-3.mga6 php-iconv-7.2.11-3.mga6 php-igbinary-2.0.8-2.mga6 php-ini-7.2.11-3.mga6 php-intl-7.2.11-3.mga6 php-json-7.2.11-3.mga6 php-ldap-7.2.11-3.mga6 php-mbstring-7.2.11-3.mga6 php-memcached-3.0.4-2.mga6 php-mysqli-7.2.11-3.mga6 php-mysqlnd-7.2.11-3.mga6 php-openssl-7.2.11-3.mga6 php-pdo-7.2.11-3.mga6 php-pdo_mysql-7.2.11-3.mga6 php-pdo_pgsql-7.2.11-3.mga6 php-pdo_sqlite-7.2.11-3.mga6 php-pear-1.10.1-3.mga6 php-pear-Auth_SASL-1.0.6-6.mga6 php-pear-channel-horde-1.0-20.mga6 php-pear-channel-symfony2-1.0-6.mga6 php-pear-Console_Color2-0.1.2-6.mga6 php-pear-Console_CommandLine-1.2.1-2.mga6 php-pear-Console_Getargs-1.3.5-7.mga6 php-pear-Console_Table-1.3.0-1.mga6 php-pear-Crypt_GPG-1.4.0-3.mga6 php-pear-DbUnit-1.3.1-5.mga6 php-pear-Event_Dispatcher-1.1.0-9.mga6 php-pear-File_Find-1.3.3-4.mga6 php-pear-File_Iterator-1.3.4-5.mga6 php-pear-HTML_Common-1.2.5-8.mga6 php-pear-HTML_CSS-1.5.4-11.mga6 php-pear-HTML_Table-1.8.3-7.mga6 php-pear-HTTP_Request2-2.3.0-1.mga6 php-pear-Mail_Mime-1.10.0-1.mga6 php-pear-MDB2-2.5.0-0.0.b11.mga6 php-pear-MDB2_Driver_mysql-1.5.0-0.0.b10.mga6 php-pear-MDB2_Driver_mysqli-1.5.0-0.0.b9.mga6 php-pear-MDB2_Driver_pgsql-1.5.0-0.0.b10.mga6 php-pear-Net_IDNA2-0.1.1-6.mga6 php-pear-Net_LDAP2-2.2.0-0.mga6 php-pear-Net_Sieve-1.3.4-1.mga6 php-pear-Net_SMTP-1.7.1-1.mga6 php-pear-Net_Socket-1.0.14-5.mga6 php-pear-Net_URL2-2.2.0-1.mga6 php-pear-PEAR_PackageFileManager-1.7.2-1.mga6 php-pear-PEAR_PackageFileManager2-1.0.4-5.mga6 php-pear-PEAR_PackageFileManager_Plugins-1.0.4-1.mga6 php-pear-PHP_CodeCoverage-1.2.17-4.mga6 php-pear-PHP_CompatInfo-1.9.0-12.mga6 php-pear-PHP_Invoker-1.1.3-5.mga6 php-pear-PHP_Timer-1.0.5-5.mga6 php-pear-PHP_TokenStream-1.2.2-4.mga6 php-pear-PHPUnit-3.7.34-3.mga6 php-pear-PHPUnit_MockObject-1.2.3-5.mga6 php-pear-PHPUnit_Selenium-1.3.3-5.mga6 php-pear-PHPUnit_Story-1.0.2-5.mga6 php-pear-Services_W3C_CSSValidator-0.2.3-6.mga6 php-pear-Symfony2_Yaml-2.4.4-4.mga6 php-pear-Text_Diff-1.1.1-8.mga6 php-pear-Text_Template-1.2.0-4.mga6 php-pear-XML_Parser-1.3.4-6.mga6 php-pear-XML_Serializer-0.20.2-10.mga6 php-pecl-mcrypt-1.0.1-1.mga6 php-pgsql-7.2.11-3.mga6 php-phpmailer-5.2.24-1.1.mga6 php-posix-7.2.11-3.mga6 php-session-7.2.11-3.mga6 php-sysvsem-7.2.11-3.mga6 php-sysvshm-7.2.11-3.mga6 php-tokenizer-7.2.11-3.mga6 php-xdebug-2.6.1-2.mga6 php-xml-7.2.11-3.mga6 php-xmlreader-7.2.11-3.mga6 php-xmlwriter-7.2.11-3.mga6 php-zip-7.2.11-3.mga6 php-zlib-7.2.11-3.mga6 $ rpm -q apache apache-2.4.37-1.1.mga6
good. I hope some one can test i586, so we get a go. thx so far for testing!
This has had two x64 tests OK (thanks Herman & PC_LX). I do not think a 32-bit test is necessary for it, and that it can be validates as-is. Please disagree if you do! No advisory for backports.
CC: (none) => lewyssmith
Suggested advisory: ======================== Due to the end of life of php 5, we offer a recent php 7.2.11 in backports. Note that some language constructs of php have changed, so you might need to update your application before you can install these packages. Updated packages in core/backports: ======================== php-bcmath-7.2.11-3.mga6 php-bz2-7.2.11-3.mga6 php-calendar-7.2.11-3.mga6 php-cgi-7.2.11-3.mga6 php-cli-7.2.11-3.mga6 php-ctype-7.2.11-3.mga6 php-curl-7.2.11-3.mga6 php-dba-7.2.11-3.mga6 php-devel-7.2.11-3.mga6 php-doc-7.2.11-2.mga6 php-doc-7.2.11-3.mga6 php-dom-7.2.11-3.mga6 php-enchant-7.2.11-3.mga6 php-exif-7.2.11-3.mga6 php-fileinfo-7.2.11-3.mga6 php-filter-7.2.11-3.mga6 php-fpm-7.2.11-3.mga6 php-ftp-7.2.11-3.mga6 php-gd-7.2.11-3.mga6 php-gettext-7.2.11-3.mga6 php-gmp-7.2.11-3.mga6 php-hash-7.2.11-3.mga6 php-iconv-7.2.11-3.mga6 php-igbinary-2.0.8-2.mga6 php-imap-7.2.11-3.mga6 php-ini-7.2.11-3.mga6 php-interbase-7.2.11-3.mga6 php-intl-7.2.11-3.mga6 php-json-7.2.11-3.mga6 php-ldap-7.2.11-3.mga6 php-mbstring-7.2.11-3.mga6 php-mcrypt-1.0.1-5.mga6 php-memcached-3.0.4-2.mga6 php-mysqli-7.2.11-3.mga6 php-mysqlnd-7.2.11-3.mga6 php-odbc-7.2.11-3.mga6 php-opcache-7.2.11-3.mga6 php-openssl-7.2.11-3.mga6 php-pcntl-7.2.11-3.mga6 php-pdo-7.2.11-3.mga6 php-pdo_dblib-7.2.11-3.mga6 php-pdo_firebird-7.2.11-3.mga6 php-pdo_mysql-7.2.11-3.mga6 php-pdo_odbc-7.2.11-3.mga6 php-pdo_pgsql-7.2.11-3.mga6 php-pdo_sqlite-7.2.11-3.mga6 php-pecl-mcrypt-1.0.1-1.mga6 php-pgsql-7.2.11-3.mga6 php-phar-7.2.11-3.mga6 php-posix-7.2.11-3.mga6 php-propro-2.1.0-2.mga6 php-raphf-2.0.0-2.mga6 php-readline-7.2.11-3.mga6 php-recode-7.2.11-3.mga6 php-session-7.2.11-3.mga6 php-shmop-7.2.11-3.mga6 php-snmp-7.2.11-3.mga6 php-soap-7.2.11-3.mga6 php-sockets-7.2.11-3.mga6 php-sqlite3-7.2.11-3.mga6 php-ssh2-1.1.2-1.mga6 php-svn-1.0.3-2.mga6 php-sysvmsg-7.2.11-3.mga6 php-sysvsem-7.2.11-3.mga6 php-sysvshm-7.2.11-3.mga6 php-tidy-7.2.11-3.mga6 php-tokenizer-7.2.11-3.mga6 php-wddx-7.2.11-3.mga6 php-xdebug-2.6.1-2.mga6 php-xml-7.2.11-3.mga6 php-xmlreader-7.2.11-3.mga6 php-xmlrpc-7.2.11-3.mga6 php-xmlwriter-7.2.11-3.mga6 php-xsl-7.2.11-3.mga6 php-zip-7.2.11-3.mga6 php-zlib-7.2.11-3.mga6 phpdbg-7.2.11-3.mga6 Sources: php-7.2.11-3.mga6.src.rpm php-igbinary-2.0.8-2.mga6.src.rpm php-mcrypt-1.0.1-5.mga6.src.rpm php-memcached-3.0.4-2.mga6.src.rpm php-pecl-mcrypt-1.0.1-1.mga6.src.rpm php-propro-2.1.0-2.mga6.src.rpm php-raphf-2.0.0-2.mga6.src.rpm php-ssh2-1.1.2-1.mga6.src.rpm php-svn-1.0.3-2.mga6.src.rpm php-xdebug-2.6.1-2.mga6.src.rpm
I agree, 64 bit and 32 bit should not make any difference.
(In reply to Marc Krämer from comment #22) > I agree, 64 bit and 32 bit should not make any difference. Thank you. Validating. Re in comment 20 > No advisory for backports. I did not mean "Please supply one", but that they are not required for backports. Sorry for that confusion & your related work.
Keywords: (none) => validated_backport
CC: (none) => filip.komar
when will this be pushed to the mirrors?
Packages moved
Resolution: (none) => FIXEDCC: (none) => tmbStatus: NEW => RESOLVED