Public bug reported:
I just upgraded from ubuntu 15.10 to ubuntu 16.04 and my root mail is
spammed by an error of php tool "sessionclean". This tool is still
installed in /usr/lib/php5/sessionclean, and searches for the php binary
under the name "php5".
The php-cli version installed is php7.0-cli, and the php-common ist
still in php5-common. I have the php-common metapackage, shouldn't it
have upgraded to a php7-common or something like that ?
I fixed the issue by manually editing "/usr/lib/php5/sessionclean" file
and use "php" instead of "php5".
---------------------------------------------------------
Message 4401:
>From root@****.*** Fri May 6 15:09:01 2016
X-Original-To: root
From: root@****.*** (Cron Daemon)
To: root@****.***
Subject: Cron <root@*****> [ -x /usr/lib/php5/sessionclean ] &&
/usr/lib/php5/sessionclean
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Date: Fri, 6 May 2016 15:09:01 +0200 (CEST)
/usr/lib/php5/sessionclean: 12: /usr/lib/php5/sessionclean: php5: not
found
---------------------------------------------------------
phpinfo()
PHP Version => 7.0.4-7ubuntu2
System => Linux ***** 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC
2016 x86_64
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/7.0/cli
Loaded Configuration File => /etc/php/7.0/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.0/cli/conf.d
---------------------------------------------------------
** Affects: php-defaults (Ubuntu)
Importance: Undecided
Status: New
** Package changed: php5 (Ubuntu) => php-defaults (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579480
Title:
PHP7-ubuntu sessionclean searches for "php5" named binary
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-defaults/+bug/1579480/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs