0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Q. apacheのバーチャルホスト毎の設定でpost_max_size変えたい

Posted at

A. apacheのconfか、.htaccessで出来る。

post_max_size "8M" PHP_INI_PERDIR

PHP_INI_PERDIRはディレクトリごとの設定変更が可能なディレクティブです。.htaccessによる変更もできます。php.iniファイルでの設定ももちろん可能です。しかし、PHPプログラムからの変更はできません。

--- apache設定の追加例

// PHP_Value PHP設定ディレクティブ1 設定値1
// PHP_Value PHP設定ディレクティブ2 設定値2

PHP_Value post_max_size 512M
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?