aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-installer-fcgi/install.d
diff options
context:
space:
mode:
authorM.Gergo2018-03-28 20:55:57 +0200
committerM.Gergo2018-03-28 20:55:57 +0200
commit421914473feb547f5e16e7fe3c6945e8758e7160 (patch)
treea099caeb4cd8e9b86af40fcd4d6acad2fcfccb40 /mayor-installer-fcgi/install.d
parent8e3d4bca1304fab45d4d52111a8d08ca3bd29280 (diff)
downloadmayor-421914473feb547f5e16e7fe3c6945e8758e7160.tar.gz
mayor-421914473feb547f5e16e7fe3c6945e8758e7160.zip
installer fcgi
Diffstat (limited to 'mayor-installer-fcgi/install.d')
-rwxr-xr-xmayor-installer-fcgi/install.d/30php.sh23
1 files changed, 6 insertions, 17 deletions
diff --git a/mayor-installer-fcgi/install.d/30php.sh b/mayor-installer-fcgi/install.d/30php.sh
index 5f751018..49000c68 100755
--- a/mayor-installer-fcgi/install.d/30php.sh
+++ b/mayor-installer-fcgi/install.d/30php.sh
@@ -15,25 +15,14 @@ EOF
read -n 1 -p "A php.ini-t módosíthatom? (i/N)" -s DO
if [ "$DO" != "i" ]; then echo -e "\nNem módosítom a php.ini-t.\n"; exit 1; fi
+exit 1
-if [[ "x${RELEASE}" =~ ^x9.* ]]; then
-
- if [ ! -e /etc/php/7.0/apache2/php.ini.mayor ]; then
- cp /etc/php/7.0/apache2/php.ini /etc/php/7.0/apache2/php.ini.mayor
- fi
- cat /etc/php/7.0/apache2/php.ini.mayor | sed "s/memory_limit/memory_limit = 256M ; old value: /" > /etc/php/7.0/apache2/php.ini
- echo -e "256M"
-
-else
-
- echo -n " A PHP memória limit beállítása: "
- if [ ! -e /etc/php5/apache2/php.ini.mayor ]; then
- cp /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.mayor
- fi
-
- cat /etc/php5/apache2/php.ini.mayor | sed "s/memory_limit/memory_limit = 256M ; old value: /" > /etc/php5/apache2/php.ini
- echo -e "256M"
+echo -n " A PHP memória limit beállítása: "
+if [ ! -e /etc/php5/apache2/php.ini.mayor ]; then
+ mv /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.mayor
fi
+cat /etc/php5/apache2/php.ini.mayor | sed "s/memory_limit/memory_limit = 256M ; old value: /" > /etc/php5/apache2/php.ini
+echo 256M
echo " Az web szerver újraindítása"
/etc/init.d/apache2 restart