[3639] php5-json failed
-
Hi
I just tried to upgrade to 3639, but i always get the error
Checking package: php5-json.................................Failed!
Does anyone now how to solve this?
-
What operating system? If Debian or Ubuntu what’s the output of
apt-cache search php5-json
? -
Debian 7
php5-common - Common files for packages built from the php5 source
-
@Polii123 Same here
-
@Tom-Elliott said:
What operating system? If Debian or Ubuntu what’s the output of
apt-cache search php5-json
?php5-json is in the php5-common package.
-
To test if json is available in php, I’ve modified
confirmPackageInstallation()
in svn/trunk/lib/ubuntu/functions.sh :confirmPackageInstallation() { for x in $packages; do dots "Checking package: $x" if [ "$osid" -eq 1 ]; then rpm -q $x >/dev/null 2>&1 elif [ "$osid" -eq 2 ]; then if [ "$x" = "php5-json" ]; then php -m $x 2>/dev/null | grep '^json' >/dev/null 2>&1 else dpkg -l $x 2>/dev/null | grep '^ii' >/dev/null 2>&1 fi elif [ "$osid" -eq 3 ]; then pacman -Q $x >/dev/null 2>&1 fi errorStat $? done }
Not sure if redhat based have the same problem (@Wayne-Workman ? )
-
This should be fixed in the latest trunk.
Please have a look and let us know how it goes.
-
@Tom-Elliott said:
Please have a look and let us know how it goes
On my debian 7 it’s OK. Thx for the fix.
-
Now it is working again, thanks.
-
Ran into this again with r3706–>r3711
Debian GNU/Linux 7 \n \l
needed:
apt-get install libapache2-mod-php5
Tom fixed this in r3712. Thanks again Tom.