Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Developer portal installation php-mbstring problem

Hello all,

I found problem in Developer Portal Installer (4.15.04.01)

ftp.apigee.com/apigee_enterprise_OPDK/Developer_Services/DeveloperServices-4.15.04.01.tar

Problem probably is only on Red Hat only, my is Red Hat Enterprise Linux Server release 6.3

sub-script lib/install-required-pkgs.sh wants to install php-mbstring

if [[ $separate_mbstring_install -eq 1 ]]; then
  mbstring_rpm_file=$( curl ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/ 2>/dev/null | grep " php-mbstring" | head -n1 | sed -E 's/ +/ /g' | cut -d " " -f9 )
  rpm -Uv ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/${mbstring_rpm_file} >> $logfile 2>&1
fi

site returns php-mbstring-5.3.3-40.el6_6.x86_64.rpm and I met with version conflict on my system because php-mbstring-5.3.3-26.el6_6.x86_64.rpm is required (Unfortunately can't paste log file).

I solved it by find good version, install it manually, and comment that if-condition in a code and re-launch networked-install.sh again.

rpm -Uv ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.3/x86_64/updates/security/php-mbstring-5.3.3-26.el6.x86_64.rpm

Update installer script please.

0 4 1,974
4 REPLIES 4