欢迎来到湖口家园

hahah

Drupal is a CMS (Content Management System) open-source written in PHP.

群晖安装drush以及drupal console

admin 提交于 周日, 01/07/2018 - 07:21

区分两个概念,1、系统php版本,对应php cli 版本 2、套件中的php

php -v

PHP 5.6.11 (cli) (built: Jul 13 2017 05:29:56)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

系统对应的配置

/usr/local/etc/php56/conf.d/webstation-extensions.ini

增加扩展

extension = tokenizer.so

扩展存放位置为/usr/local/lib/php56/modules ,同时赋予正确的权限,我这里直接 sudo chmod 777 -R modules

然后编译tokenizer.so

cd /volume2/homes/admin 进入用户主目录

cd php-5.6.11

标签

upstream sent too big header while reading response header from upstream

admin 提交于 周三, 12/20/2017 - 13:22

修改nginx.conf配置

proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

fastcgi_max_temp_file_size 0;
fastcgi_buffers 128 2048k;
fastcgi_buffer_size 2048k;

fastcgi_read_timeout 600;
fastcgi_send_timeout 600;

client_body_buffer_size      128k;
client_max_body_size 2048m;
client_header_buffer_size    1k;
large_client_header_buffers  4 4k;
output_buffers               1 32k;
postpone_output              1460;

 

标签