[Bug 1474276] Re: PHP Fatal error: Inconsistent insteadof definition
Ryan Harper
1474276 at bugs.launchpad.net
Thu Sep 17 18:48:49 UTC 2015
I've tested[1] the proposed package and it passes[2] the testcase in
the SRU justification.
1. uvt-simplestreams-libvirt sync release=trusty arch=amd64
uvt-kvm create --cpu 2--disk 10 t1 release=trusty arch=amd64
uvt-kvm wait --insecure t1
uvt-kvm ssh --insecure t1
# inside trusty vm
2.
Welcome to the light, powerful, text window manager, Byobu.
You can toggle the launch of Byobu at login with:
'byobu-disable' and 'byobu-enable'
For tips, tricks, and more information, see:
* http://bit.ly/byobu-help
ubuntu at t1:~⟫ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
1 ubuntu at t1:~⟫ sudo apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap php5-cli php5-common php5-json
php5-readline ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
php-pear php5-user-cache openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap php5 php5-cli php5-common php5-json
php5-readline ssl-cert
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,150 kB of archives.
After this operation, 25.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1 amd64 1.5.3-1 [76.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main php5-json amd64 1.3.2-2build1 [34.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4
.11 [444 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.11
[2,164 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubunt
u4.11 [12.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-dbd-sqlite3 amd64 1.5.3-1 [10.5 k
B]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-ldap amd64 1.5.3-1 [8,634 B]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.5 [8
43 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.5 [1
59 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.5 [87.6
kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg
-1ubuntu4.11 [2,208 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5 all 5.5.9+dfsg-1ubuntu4.11 [1,3
02 B]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
Fetched 6,150 kB in 36s (168 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1:amd64.
(Reading database ... 51148 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ...
Unpacking libapr1:amd64 (1.5.0-1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../libaprutil1_1.5.3-1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.3-1) ...
Selecting previously unselected package php5-json.
Preparing to unpack .../php5-json_1.3.2-2build1_amd64.deb ...
Unpacking php5-json (1.3.2-2build1) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.11_amd64.deb ...
Unpacking php5-common (5.5.9+dfsg-1ubuntu4.11) ...
Selecting previously unselected package php5-cli.
Preparing to unpack .../php5-cli_5.5.9+dfsg-1ubuntu4.11_amd64.deb ...
Unpacking php5-cli (5.5.9+dfsg-1ubuntu4.11) ...
Selecting previously unselected package php5-readline.
Preparing to unpack .../php5-readline_5.5.9+dfsg-1ubuntu4.11_amd64.deb ...
Unpacking php5-readline (5.5.9+dfsg-1ubuntu4.11) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.3-1_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../libaprutil1-ldap_1.5.3-1_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.3-1) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../apache2-bin_2.4.7-1ubuntu4.5_amd64.deb ...
Unpacking apache2-bin (2.4.7-1ubuntu4.5) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.7-1ubuntu4.5_all.deb ...
Unpacking apache2-data (2.4.7-1ubuntu4.5) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.7-1ubuntu4.5_amd64.deb ...
Unpacking apache2 (2.4.7-1ubuntu4.5) ...
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack .../libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.11_amd64.deb ...
Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) ...
Selecting previously unselected package php5.
Preparing to unpack .../php5_5.5.9+dfsg-1ubuntu4.11_all.deb ...
Unpacking php5 (5.5.9+dfsg-1ubuntu4.11) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
Unpacking ssl-cert (1.0.33) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up libapr1:amd64 (1.5.0-1) ...
Setting up libaprutil1:amd64 (1.5.3-1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ...
Setting up libaprutil1-ldap:amd64 (1.5.3-1) ...
Setting up apache2-bin (2.4.7-1ubuntu4.5) ...
Setting up apache2-data (2.4.7-1ubuntu4.5) ...
Setting up apache2 (2.4.7-1ubuntu4.5) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
* Starting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12
7.0.1.1. Set the 'ServerName' directive globally to suppress this message
*
Setting up ssl-cert (1.0.33) ...
Setting up php5-json (1.3.2-2build1) ...
php5_invoke: Enable module json for cli SAPI
php5_invoke: Enable module json for apache2 SAPI
Setting up php5-common (5.5.9+dfsg-1ubuntu4.11) ...
Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cli SAPI
php5_invoke: Enable module pdo for apache2 SAPI
Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cli SAPI
php5_invoke: Enable module opcache for apache2 SAPI
Setting up php5-cli (5.5.9+dfsg-1ubuntu4.11) ...
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
Creating config file /etc/php5/cli/php.ini with new version
php5_invoke pdo: already enabled for cli SAPI
php5_invoke opcache: already enabled for cli SAPI
php5_invoke json: already enabled for cli SAPI
Setting up php5-readline (5.5.9+dfsg-1ubuntu4.11) ...
Creating config file /etc/php5/mods-available/readline.ini with new version
php5_invoke: Enable module readline for cli SAPI
php5_invoke: Enable module readline for apache2 SAPI
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) ...
Creating config file /etc/php5/apache2/php.ini with new version
php5_invoke pdo: already enabled for apache2 SAPI
php5_invoke readline: already enabled for apache2 SAPI
php5_invoke opcache: already enabled for apache2 SAPI
php5_invoke json: already enabled for apache2 SAPI
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12
7.0.1.1. Set the 'ServerName' directive globally to suppress this message
...done.
apache2_invoke: Enable module php5
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12
7.0.1.1. Set the 'ServerName' directive globally to suppress this message
...done.
Setting up php5 (5.5.9+dfsg-1ubuntu4.11) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
ubuntu at t1:~⟫ wget https://gist.githubusercontent.com/raharper/ee431e851b1b8bb6ba1d/raw/7dcc99d187
a08e3e9e0f33ea47a955b6f1b68038/test_insteadof.sh -O test_insteadof.sh
--2015-09-17 18:39:12-- https://gist.githubusercontent.com/raharper/ee431e851b1b8bb6ba1d/raw/7dc
c99d187a08e3e9e0f33ea47a955b6f1b68038/test_insteadof.sh
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 23.235.44.133
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|23.235.44.133|:443... conne
cted.
HTTP request sent, awaiting response... 200 OK
Length: 1359 (1.3K) [text/plain]
Saving to: ‘test_insteadof.sh’
100%[=======================================================>] 1,359
--.-K/s in 0s
2015-09-17 18:39:13 (84.1 MB/s) - ‘test_insteadof.sh’ saved [1359/1359]
ubuntu at t1:~⟫ vi test_insteadof.sh
ubuntu at t1:~⟫ cat test_insteadof.sh
#!/bin/bash
cleanup() {
rm -f $TESTPHP
rm -f $CLASSPHP
}
trap cleanup EXIT INT HUP TERM
echo "Generating php5 test-case..."
TESTPHP=`mktemp /tmp/test_phpinsteadof_XXXX.php`
CLASSPHP=`mktemp /tmp/test_phpinsteadof_XXXX.php`
# manual testing shows 12 or more to be the trigger
NR_TRAITS=${1-12}
cat > $TESTPHP << EOF
#!/usr/bin/php -q
<?php
\$i = ${NR_TRAITS};
while (\$i--) {
eval('class c' . \$i . ' {}');
}
require_once("$CLASSPHP");
die("End\n");
EOF
TRAIT_DEFS=""
for ((x=0; x<$NR_TRAITS; x++)); do
TRAIT="trait trait${x} { public function methodName() {} }\n"
TRAIT_DEFS="${TRAIT_DEFS}${TRAIT}"
done
TRAIT_DEFS=`echo -e $TRAIT_DEFS`;
TRAITS=""
INSTEAD_OF=""
for ((x=1; x<$NR_TRAITS; x++)); do
TRAIT=" trait${x}"
INSTEAD=" trait0::methodName insteadof trait${x};\n"
if (($x + 1 == $NR_TRAITS)); then
TRAITS="${TRAITS}${TRAIT}\n"
else
TRAITS="${TRAITS}${TRAIT},\n"
fi
INSTEAD_OF="${INSTEAD_OF}${INSTEAD}"
done
TRAITS=`echo -e $TRAITS`;
INSTEAD_OF=`echo -e $INSTEAD_OF`
cat > $CLASSPHP << EOF
<?php
namespace SPACE;
${TRAIT_DEFS}
class c {
use trait0,
${TRAITS}
{
${INSTEAD_OF}
}
}
EOF
chmod +x $TESTPHP
echo "Running php5 insteadof test-case..."
exec $TESTPHP
exit $?
ubuntu at t1:~⟫ bash ./test_insteadof.sh
Generating php5 test-case...
Running php5 insteadof test-case...
PHP Fatal error: Inconsistent insteadof definition. The method methodName is to be used from SPA
CE\trait0, but SPACE\trait0 is also on the exclude list in /tmp/test_phpinsteadof_85Gh.php on lin
e 46
255 ubuntu at t1:~⟫ sudo sed -e 's,trusty,trusty-proposed,g' /etc/apt/sources.list
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
#
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu trusty-proposed main
deb-src http://archive.ubuntu.com/ubuntu trusty-proposed main
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu trusty-proposed-updates main
deb-src http://archive.ubuntu.com/ubuntu trusty-proposed-updates main
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu trusty-proposed universe
deb-src http://archive.ubuntu.com/ubuntu trusty-proposed universe
deb http://archive.ubuntu.com/ubuntu trusty-proposed-updates universe
deb-src http://archive.ubuntu.com/ubuntu trusty-proposed-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://archive.ubuntu.com/ubuntu trusty-proposed multiverse
# deb-src http://archive.ubuntu.com/ubuntu trusty-proposed multiverse
# deb http://archive.ubuntu.com/ubuntu trusty-proposed-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu trusty-proposed-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu trusty-proposed-backports main restricted universe multive
rse
# deb-src http://archive.ubuntu.com/ubuntu trusty-proposed-backports main restricted universe mul
tiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty-proposed partner
# deb-src http://archive.canonical.com/ubuntu trusty-proposed partner
deb http://security.ubuntu.com/ubuntu trusty-proposed-security main
deb-src http://security.ubuntu.com/ubuntu trusty-proposed-security main
deb http://security.ubuntu.com/ubuntu trusty-proposed-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-proposed-security universe
# deb http://security.ubuntu.com/ubuntu trusty-proposed-security multiverse
# deb-src http://security.ubuntu.com/ubuntu trusty-proposed-security multiverse
ubuntu at t1:~⟫ sudo sed -i -e 's,trusty,trusty-proposed,g' /etc/apt/sources.list
ubuntu at t1:~⟫ sudo apt-get update && sudo apt-et install php5
Ign http://security.ubuntu.com trusty-proposed-security InRelease
Ign http://archive.ubuntu.com trusty-proposed InRelease
Ign http://security.ubuntu.com trusty-proposed-security Release.gpg
Ign http://security.ubuntu.com trusty-proposed-security Release
Ign http://archive.ubuntu.com trusty-proposed-updates InRelease
Get:1 http://archive.ubuntu.com trusty-proposed Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty-proposed-updates Release.gpg
Get:2 http://archive.ubuntu.com trusty-proposed Release [211 kB]
Ign http://archive.ubuntu.com trusty-proposed-updates Release
100% [Waiting for headers]^C130 ubuntu at t1:~⟫ sudo apt-get update && sudo apt-get install php5
Ign http://security.ubuntu.com trusty-proposed-security InRelease
Ign http://security.ubuntu.com trusty-proposed-security Release.gpg
Ign http://security.ubuntu.com trusty-proposed-security Release
Ign http://archive.ubuntu.com trusty-proposed InRelease
Ign http://archive.ubuntu.com trusty-proposed-updates InRelease
Hit http://archive.ubuntu.com trusty-proposed Release.gpg
Ign http://archive.ubuntu.com trusty-proposed-updates Release.gpg
Hit http://archive.ubuntu.com trusty-proposed Release
Ign http://archive.ubuntu.com trusty-proposed-updates Release
Get:1 http://archive.ubuntu.com trusty-proposed/main Sources [133 kB]
Err http://security.ubuntu.com trusty-proposed-security/main Sources
404 Not Found [IP: 91.189.91.24 80]
Err http://security.ubuntu.com trusty-proposed-security/universe Sources
404 Not Found [IP: 91.189.91.24 80]
Err http://security.ubuntu.com trusty-proposed-security/main amd64 Packages
404 Not Found [IP: 91.189.91.24 80]
Err http://security.ubuntu.com trusty-proposed-security/universe amd64 Packages
404 Not Found [IP: 91.189.91.24 80]
Ign http://security.ubuntu.com trusty-proposed-security/main Translation-en_US
Ign http://security.ubuntu.com trusty-proposed-security/main Translation-en
Ign http://security.ubuntu.com trusty-proposed-security/universe Translation-en_US
Ign http://security.ubuntu.com trusty-proposed-security/universe Translation-en
Get:2 http://archive.ubuntu.com trusty-proposed/universe Sources [26.1 kB]
Get:3 http://archive.ubuntu.com trusty-proposed/main amd64 Packages [139 kB]
Get:4 http://archive.ubuntu.com trusty-proposed/universe amd64 Packages [30.8 kB]
Get:5 http://archive.ubuntu.com trusty-proposed/main Translation-en [54.4 kB]
Get:6 http://archive.ubuntu.com trusty-proposed/universe Translation-en [22.0 kB]
Err http://archive.ubuntu.com trusty-proposed-updates/main Sources
404 Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com trusty-proposed-updates/universe Sources
404 Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com trusty-proposed-updates/main amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com trusty-proposed-updates/universe amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Ign http://archive.ubuntu.com trusty-proposed-updates/main Translation-en_US
Ign http://archive.ubuntu.com trusty-proposed-updates/main Translation-en
Ign http://archive.ubuntu.com trusty-proposed-updates/universe Translation-en_US
Ign http://archive.ubuntu.com trusty-proposed-updates/universe Translation-en
Fetched 406 kB in 13s (30.5 kB/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-proposed-security/main/source/S
ources 404 Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-proposed-security/universe/sour
ce/Sources 404 Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-proposed-security/main/binary-a
md64/Packages 404 Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-proposed-security/universe/bina
ry-amd64/Packages 404 Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed-updates/main/source/Sou
rces 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed-updates/universe/source
/Sources 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed-updates/main/binary-amd
64/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed-updates/universe/binary
-amd64/Packages 404 Not Found [IP: 91.189.92.201 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
100 ubuntu at t1:~⟫ sudo apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 php5-cli php5-common php5-readline
Suggested packages:
php-pear php5-user-cache
The following packages will be upgraded:
libapache2-mod-php5 php5 php5-cli php5-common php5-readline
5 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
Need to get 4,825 kB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libapache2-mod-php5 amd64 5.5.9+dfsg
-1ubuntu4.12 [2,208 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main php5-readline amd64 5.5.9+dfsg-1ubun
tu4.12 [12.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.1
2 [2,161 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main php5-common amd64 5.5.9+dfsg-1ubuntu
4.12 [443 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main php5 all 5.5.9+dfsg-1ubuntu4.12 [1,3
06 B]
Fetched 4,825 kB in 13s (362 kB/s)
(Reading database ... 51879 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.12_amd64.deb ...
Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.12) over (5.5.9+dfsg-1ubuntu4.11) ...
Preparing to unpack .../php5-readline_5.5.9+dfsg-1ubuntu4.12_amd64.deb ...
Unpacking php5-readline (5.5.9+dfsg-1ubuntu4.12) over (5.5.9+dfsg-1ubuntu4.11) ...
Preparing to unpack .../php5-cli_5.5.9+dfsg-1ubuntu4.12_amd64.deb ...
Unpacking php5-cli (5.5.9+dfsg-1ubuntu4.12) over (5.5.9+dfsg-1ubuntu4.11) ...
Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.12_amd64.deb ...
Unpacking php5-common (5.5.9+dfsg-1ubuntu4.12) over (5.5.9+dfsg-1ubuntu4.11) ...
Preparing to unpack .../php5_5.5.9+dfsg-1ubuntu4.12_all.deb ...
Unpacking php5 (5.5.9+dfsg-1ubuntu4.12) over (5.5.9+dfsg-1ubuntu4.11) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up php5-common (5.5.9+dfsg-1ubuntu4.12) ...
php5_invoke pdo: already enabled for cli SAPI
php5_invoke pdo: already enabled for apache2 SAPI
php5_invoke opcache: already enabled for cli SAPI
php5_invoke opcache: already enabled for apache2 SAPI
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.12) ...
php5_invoke pdo: already enabled for apache2 SAPI
php5_invoke readline: already enabled for apache2 SAPI
php5_invoke opcache: already enabled for apache2 SAPI
php5_invoke json: already enabled for apache2 SAPI
apache2_invoke php5: already enabled
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12
7.0.1.1. Set the 'ServerName' directive globally to suppress this message
...done.
Setting up php5-cli (5.5.9+dfsg-1ubuntu4.12) ...
php5_invoke pdo: already enabled for cli SAPI
php5_invoke readline: already enabled for cli SAPI
php5_invoke opcache: already enabled for cli SAPI
php5_invoke json: already enabled for cli SAPI
Setting up php5-readline (5.5.9+dfsg-1ubuntu4.12) ...
php5_invoke readline: already enabled for cli SAPI
php5_invoke readline: already enabled for apache2 SAPI
Setting up php5 (5.5.9+dfsg-1ubuntu4.12) ...
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.12) ...
ubuntu at t1:~⟫ bash ./test_insteadof.sh
Generating php5 test-case...
Running php5 insteadof test-case...
End
ubuntu at t1:~⟫
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1474276
Title:
PHP Fatal error: Inconsistent insteadof definition
To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1474276/+subscriptions
More information about the Ubuntu-server-bugs
mailing list