自定义Heroku Apache buildpack

时间:2016-06-26 07:28:52

标签: php apache heroku dokku

我想更改Apache配置,但在部署这些设置后我被禁止可能是我在这里做错了什么的问题

web: vendor/bin/heroku-php-apache2 -C httpd.inc.conf -i php.ini public/

httpd.inc.conf

Timeout 30
KeepAlive On
MaxKeepAliveRequests 50
KeepAliveTimeout 10

<IfModule prefork.c>
    StartServers          3
    MinSpareServers       2
    MaxSpareServers       5
    MaxClients            10
    MaxRequestsPerChild   1000
</IfModule>

的php.ini

memory_limit = 512M
post_max_size = 150M
upload_max_filesize = 100M
max_execution_time = 86400
max_file_uploads = 40

0 个答案:

没有答案
相关问题