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



Your IP : 3.141.192.174


Current Path : /usr/share/bug/libapache2-mod-php5.6/
Upload File :
Current File : //usr/share/bug/libapache2-mod-php5.6/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/apache2/php.ini ****" >&3
grep -Ev "$MATCH" /etc/php/5.6/apache2/php.ini >&3
echo "" >&3
find /etc/php/5.6/apache2/conf.d/ -name '*.ini' | \
while read CONF; do
    echo "**** $CONF ****" >&3
    grep -Ev "$MATCH" "$CONF" >&3
    echo "" >&3
done