2
5

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.

php.iniの場所をパッと探せるコマンド

Posted at

php.iniの場所を探すだけなら、以下の2つが探しやすそう。

$ php -i | grep php.ini

Configuration File (php.ini) Path => /etc/php/7.1/cli
Loaded Configuration File => /etc/php/7.1/cli/php.ini
$locate php.ini

/etc/php/7.1/cli/php.ini
/etc/php/7.1/fpm/php.ini
/usr/lib/php/7.1/php.ini-development
/usr/lib/php/7.1/php.ini-production
/usr/lib/php/7.1/php.ini-production.cli

(参考)
http://tweeeety.hateblo.jp/entry/20121218/1355802787

2
5
1

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
2
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?