Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
# File: php.get
# Changes:
# 20010219 Ola Lundqvist
# 20010430 Ola Lundqvist
# Removed bash specific dependency.
# 20011022 Luca De Vitis
# Allowed reinclusion.
# 20020116 Ola Lundqvist
# Documented the reinclusion.
# 20020126 Ola Lundqvist
# Removed reinclusion.
# Needs: /usr/share/wwwconfig-common/php.get
# $extensions - what php extensions to check for!
# Description: Sets the phpver and phpini variables to the version
# of php that are installed.
# Sets: $phpver = {php3, php4}
# $phpini = {/etc/php4/apache/php.ini, /etc/php3/apache/php3.ini}
for A in php3 php4 ; do
B=$(echo "$A" | sed -e "s|4||g;")
I=/etc/$A/apache/$B.ini
if [ -f $I ] ; then
phpver=$A
phpini=$I
fi
done
phpini=${phpini:-none}