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
#!/bin/sh # File: apache-php.sh # Changes: # 20010219 Ola Lundqvist # 20011022 Luca De Vitis # Introduced the error variable. # o /[[:space:]][[:space:]]*/[[:space:]]\+/ # o / */[[:space:]]\+/ # o / */[[:space:]]*/ # 20020116 Ola Lundqvist # Documented the error variable. # 20040525 Jeremy Laine # Switched to modules-config. # 20040806 Pierre Habouzit # Changed from modules-config to apache-modconf. Just a name # change, no functionality changed. # 20040820 Jeremy Laine # Replace remaining calls to modules-config by apache-modconf. # Needs: $phpver - the php version to use. # $phpini - the php config file to use. # $server - the apache server to use, # anything that matches /etc/$server/*.conf # Description: Verifies that the php module is loaded in the apache config file. # Sets: $status = {error, nothing, include, uncomment} # $error = error message (if $status = error) status=error error="" if [ -z "$phpver" ] ; then error="No php version to check for." elif [ -z "$phpini" ] ; then error="No php ini file to check for." elif [ ! -f $phpini ] ; then error="Php config file $phpini not found." elif [ -z $(which apache-modconf) ] ; then error="Could not find apache-modconf." else phpverm="mod_"$phpver phpstatus=`apache-modconf $server query $phpverm || true` if [ -z "$phpstatus" ] ; then apache-modconf $server enable $phpverm # Uncomment successful. status=uncomment else status=nothing fi fi