1
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.

同じApache下で複数環境ごとにPHPのxdebugの設定値を変更する

Posted at

ローカルでの開発時、たとえば VirtualHost とかで幾つかの擬似サイトを動かしている場合、Master Value の xdebug 設定値が全ての環境で効いてしまう。PHPStormなんか使っていると、効いて欲しくないところで中断しちゃう、とかある。

解決方法

各環境のドキュメントルートの .htaccess に、パラメタを設定すると良い。

.htaccess
php_value xdebug.remote_port 9999
1
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
1
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?