Browse Source

Remove php.ini modification

master
Julien VAUBOURG 8 years ago
parent
commit
2f123f903b
  1. 2
      conf/phpfpm_wifiadmin.conf
  2. 1
      scripts/install

2
conf/phpfpm_wifiadmin.conf

@ -196,5 +196,7 @@ catch_workers_output = no
;
; Note: path INI options can be relative and will be expanded with the prefix
; (pool, global or /usr)
php_value[max_execution_time] = 600
php_value[upload_max_filesize] = 10G
php_value[post_max_size] = 10G

1
scripts/install

@ -168,7 +168,6 @@ sudo sed 's|<TPL:PHP_NAME>|wifiadmin|g' -i /etc/php5/fpm/pool.d/wifiadmin.conf
sudo sed 's|<TPL:PHP_USER>|admin|g' -i /etc/php5/fpm/pool.d/wifiadmin.conf
sudo sed 's|<TPL:PHP_GROUP>|admins|g' -i /etc/php5/fpm/pool.d/wifiadmin.conf
sudo sed 's|<TPL:NGINX_REALPATH>|/var/www/wifiadmin/|g' -i /etc/php5/fpm/pool.d/wifiadmin.conf
sudo sed 's|^;\?\s*max_execution_time.\+|max_execution_time = 600|' -i /etc/php5/fpm/php.ini
# Fix sources
sudo sed "s|<TPL:NGINX_LOCATION>|${url_path}|g" -i /var/www/wifiadmin/config.php

Loading…
Cancel
Save