Turn off output_buffering in Apache Web Server in order to flush output to browser.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-04-13 14:29:21 +00:00
parent 1fd0952983
commit 7b4e9cfc9d

View File

@ -133,9 +133,9 @@ set -x
# Copy php.ini file into /opt/xcat/ui and turn off output_buffering
if [ -e "/etc/redhat-release" ]; then
sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
/bin/sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
else # SUSE
sed /etc/php5/apache2/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
/bin/sed /etc/php5/apache2/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
fi
# Automatically put encrypted password into the xCAT passwd database