AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.119.119.191


Current Path : /usr/share/bug/php5.6-cli/
Upload File :
Current File : //usr/share/bug/php5.6-cli/script

#!/bin/sh

MATCH="^[[:space:]]*($|;)"

echo "==== Additional PHP 5.6 information ====" >&3
echo "" >&3
echo "++++ PHP 5.6 SAPI (php5.6query -S): ++++" >&3
/usr/sbin/php5.6query -S >&3
echo "" >&3
echo "++++ PHP 5.6 Extensions (php5.6query -M -v): ++++" >&3
/usr/sbin/php5.6query -M -v >&3
echo "" >&3

echo "++++ Configuration files: ++++" >&3
"**** /etc/php/5.6/cli/php.ini ****" >&3
grep -Ev "$MATCH" /etc/php/5.6/cli/php.ini >&3
echo "" >&3
find /etc/php/5.6/cli/conf.d/ -name '*.ini' | \
while read CONF; do
    echo "**** $CONF ****" >&3
    grep -Ev "$MATCH" "$CONF" >&3
    echo "" >&3
done