Thanks,

Installing php-mbstring, php-mysql, and php-xml allows tt-rss to run a
little further. But it still does not work.

If tt-rss does not work with php7, maybe the correct fix for this bug
is to make it explicitly call the php5 interpreter?

Ha det fint
/Fredrik

2016-03-02 17:05 GMT+01:00 Ondřej Surý <[email protected]>:
> Control: reassign -1 tt-rss
> Control: retitle -1 [php7.0] transition needs php, php-mbstring deps
>
> Hi,
>
> this was announced in NEWS.Debian -> mbstring extension has been moved
> to php7.0-mbstring.
>
> For leaf packages (as tt-rss is), please use unversioned deps when
> transitioning to php7.0.
>
> e.g. don't use php7.0-mbstring, but use php-mbstring as it will always
> pull latest available PHP version.
>
> Cheers,
> --
> Ondřej Surý <[email protected]>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
>
> On Wed, Mar 2, 2016, at 08:52, Fredrik Olofsson wrote:
>> Package: php7.0-cli
>> Version: 7.0.3-13
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> After automatically installing / upgrading to php7 on monday my
>> installation
>> of tt-rss does not work at all. It terminates with the following error:
>>
>> PHP Fatal error:  Uncaught Error: Call to undefined function
>> mb_internal_encoding() in /usr/share/tt-rss/www/include/functions.php:19
>> Stack trace:
>> #0 /usr/share/tt-rss/www/include/autoload.php(2): require_once()
>> #1 /usr/share/tt-rss/www/update_daemon2.php(12):
>> require_once('/usr/share/tt-r...')
>> #2 {main}
>>   thrown in /usr/share/tt-rss/www/include/functions.php on line 19
>>
>> Updating the /usr/bin/php alternative to php5 fixes this problem. Please
>> close or reassign the bug to tt-rss if you do not think php7 is at fault.
>>
>> Thanks
>> /Fredrik
>>
>> -- Package-specific info:
>> ==== Additional PHP 7.0 information ====
>>
>> ++++ PHP 7.0 SAPI (php7.0query -S): ++++
>>
>> ++++ PHP 7.0 Extensions (php7.0query -M -v): ++++
>>
>> ++++ Configuration files: ++++
>> [PHP]
>> engine = On
>> short_open_tag = Off
>> precision = 14
>> output_buffering = 4096
>> zlib.output_compression = Off
>> implicit_flush = Off
>> unserialize_callback_func =
>> serialize_precision = 17
>> disable_functions =
>> disable_classes =
>> zend.enable_gc = On
>> expose_php = On
>> max_execution_time = 30
>> max_input_time = 60
>> memory_limit = -1
>> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
>> display_errors = Off
>> display_startup_errors = Off
>> log_errors = On
>> log_errors_max_len = 1024
>> ignore_repeated_errors = Off
>> ignore_repeated_source = Off
>> report_memleaks = On
>> track_errors = Off
>> html_errors = On
>> variables_order = "GPCS"
>> request_order = "GP"
>> register_argc_argv = Off
>> auto_globals_jit = On
>> post_max_size = 8M
>> auto_prepend_file =
>> auto_append_file =
>> default_mimetype = "text/html"
>> default_charset = "UTF-8"
>> doc_root =
>> user_dir =
>> enable_dl = Off
>> file_uploads = On
>> upload_max_filesize = 2M
>> max_file_uploads = 20
>> allow_url_fopen = On
>> allow_url_include = Off
>> default_socket_timeout = 60
>> [CLI Server]
>> cli_server.color = On
>> [Date]
>> [filter]
>> [iconv]
>> [intl]
>> [sqlite3]
>> [Pcre]
>> [Pdo]
>> [Pdo_mysql]
>> pdo_mysql.cache_size = 2000
>> pdo_mysql.default_socket=
>> [Phar]
>> [mail function]
>> SMTP = localhost
>> smtp_port = 25
>> mail.add_x_header = On
>> [SQL]
>> sql.safe_mode = Off
>> [ODBC]
>> odbc.allow_persistent = On
>> odbc.check_persistent = On
>> odbc.max_persistent = -1
>> odbc.max_links = -1
>> odbc.defaultlrl = 4096
>> odbc.defaultbinmode = 1
>> [Interbase]
>> ibase.allow_persistent = 1
>> ibase.max_persistent = -1
>> ibase.max_links = -1
>> ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
>> ibase.dateformat = "%Y-%m-%d"
>> ibase.timeformat = "%H:%M:%S"
>> [MySQLi]
>> mysqli.max_persistent = -1
>> mysqli.allow_persistent = On
>> mysqli.max_links = -1
>> mysqli.cache_size = 2000
>> mysqli.default_port = 3306
>> mysqli.default_socket =
>> mysqli.default_host =
>> mysqli.default_user =
>> mysqli.default_pw =
>> mysqli.reconnect = Off
>> [mysqlnd]
>> mysqlnd.collect_statistics = On
>> mysqlnd.collect_memory_statistics = Off
>> [OCI8]
>> [PostgreSQL]
>> pgsql.allow_persistent = On
>> pgsql.auto_reset_persistent = Off
>> pgsql.max_persistent = -1
>> pgsql.max_links = -1
>> pgsql.ignore_notice = 0
>> pgsql.log_notice = 0
>> [bcmath]
>> bcmath.scale = 0
>> [browscap]
>> [Session]
>> session.save_handler = files
>> session.use_strict_mode = 0
>> session.use_cookies = 1
>> session.use_only_cookies = 1
>> session.name = PHPSESSID
>> session.auto_start = 0
>> session.cookie_lifetime = 0
>> session.cookie_path = /
>> session.cookie_domain =
>> session.cookie_httponly =
>> session.serialize_handler = php
>> session.gc_probability = 0
>> session.gc_divisor = 1000
>> session.gc_maxlifetime = 1440
>> session.referer_check =
>> session.cache_limiter = nocache
>> session.cache_expire = 180
>> session.use_trans_sid = 0
>> session.hash_function = 0
>> session.hash_bits_per_character = 5
>> url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
>> [Assertion]
>> zend.assertions = -1
>> [COM]
>> [mbstring]
>> [gd]
>> [exif]
>> [Tidy]
>> tidy.clean_output = Off
>> [soap]
>> soap.wsdl_cache_enabled=1
>> soap.wsdl_cache_dir="/tmp"
>> soap.wsdl_cache_ttl=86400
>> soap.wsdl_cache_limit = 5
>> [sysvshm]
>> [ldap]
>> ldap.max_links = -1
>> [mcrypt]
>> [dba]
>> [opcache]
>> [curl]
>> [openssl]
>>
>> **** /etc/php/7.0/cli/conf.d/20-json.ini ****
>> extension=json.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-calendar.ini ****
>> extension=calendar.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-fileinfo.ini ****
>> extension=fileinfo.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-zlib.ini ****
>> extension=zlib.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-posix.ini ****
>> extension=posix.so
>>
>> **** /etc/php/7.0/cli/conf.d/10-pdo.ini ****
>> extension=pdo.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-phar.ini ****
>> extension=phar.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-shmop.ini ****
>> extension=shmop.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-tokenizer.ini ****
>> extension=tokenizer.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-sockets.ini ****
>> extension=sockets.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-ctype.ini ****
>> extension=ctype.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-iconv.ini ****
>> extension=iconv.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-sysvmsg.ini ****
>> extension=sysvmsg.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-gettext.ini ****
>> extension=gettext.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-ftp.ini ****
>> extension=ftp.so
>>
>> **** /etc/php/7.0/cli/conf.d/10-opcache.ini ****
>> zend_extension=opcache.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-exif.ini ****
>> extension=exif.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-sysvshm.ini ****
>> extension=sysvshm.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-sysvsem.ini ****
>> extension=sysvsem.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-readline.ini ****
>> extension=readline.so
>>
>>
>> -- System Information:
>> Debian Release: stretch/sid
>>   APT prefers unstable
>>   APT policy: (500, 'unstable')
>> Architecture: i386 (i686)
>>
>> Kernel: Linux 4.2.0-1-686-pae (SMP w/2 CPU cores)
>> Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: sysvinit (via /sbin/init)
>>
>> Versions of packages php7.0-cli depends on:
>> ii  libc6            2.21-9
>> ii  libedit2         3.1-20150325-1+b1
>> ii  libmagic1        1:5.25-2
>> ii  libpcre3         2:8.38-3
>> ii  libssl1.0.2      1.0.2g-1
>> ii  libxml2          2.9.3+dfsg1-1
>> ii  mime-support     3.59
>> ii  php7.0-common    7.0.3-13
>> ii  php7.0-json      7.0.3-13
>> ii  php7.0-opcache   7.0.3-13
>> ii  php7.0-readline  7.0.3-13
>> ii  tzdata           2016a-1
>> ii  ucf              3.0035
>>
>> php7.0-cli recommends no packages.
>>
>> Versions of packages php7.0-cli suggests:
>> ii  php-pear  1:1.10.1+submodules+notgz-3
>>
>> Versions of packages php7.0-common depends on:
>> ii  libc6        2.21-9
>> ii  libssl1.0.2  1.0.2g-1
>> ii  php-common   1:33
>> ii  ucf          3.0035
>> ii  zlib1g       1:1.2.8.dfsg-2+b1
>>
>> -- no debconf information
>>
>> _______________________________________________
>> pkg-php-maint mailing list
>> [email protected]
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint

Reply via email to