lamp-trusty64-fpm : small update phpMyAdmin and timeout
This commit is contained in:
parent
33bae37e1b
commit
aadd826a84
@ -5,7 +5,7 @@ DIR=/vagrant
|
||||
DIRDATA=$DIR/data
|
||||
MYSQL_PASS=scores
|
||||
MARIADB_VERSION="10.1"
|
||||
PHPMYADMIN_VERSION="4.5.4.1"
|
||||
PHPMYADMIN_VERSION="4.5.5.1"
|
||||
|
||||
# --- Add a file action.upgrade to perfom a system upgrade
|
||||
if [ -f $DIR/action.upgrade ]
|
||||
@ -78,6 +78,7 @@ then
|
||||
# --- Configuration PHP FPM
|
||||
if [ -f /etc/php5/fpm/php.ini ]
|
||||
then
|
||||
sudo sed -i -e 's/max_execution_time = 30/max_execution_time = 300/g' /etc/php5/fpm/php.ini
|
||||
sudo sed -i -e 's/short_open_tag = Off/short_open_tag = On/g' /etc/php5/fpm/php.ini
|
||||
sudo sed -i -e 's/;mbstring.internal_encoding = UTF-8/mbstring.internal_encoding = UTF-8/g' /etc/php5/fpm/php.ini
|
||||
sudo sed -i -e 's/;date.timezone =/date.timezone = Europe\/Paris/g' /etc/php5/fpm/php.ini
|
||||
|
@ -2,7 +2,7 @@
|
||||
AddType application/x-httpd-fastphp5 .php
|
||||
Action application/x-httpd-fastphp5 /php5-fcgi
|
||||
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
|
||||
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -pass-header Authorization
|
||||
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -pass-header Authorization -idle-timeout 310
|
||||
<Directory /usr/lib/cgi-bin>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
Loading…
Reference in New Issue
Block a user