LoginSignup
5
6

More than 5 years have passed since last update.

osxのmampでxdebugを有効にする

Posted at

php.iniファイルの場所を確認

phpinfo();

Loaded Configuration File
/Applications/MAMP/bin/php/php5.5.18/conf/php.ini

php.iniファイルを編集

[xdebug]
zend_extension="/Applications/MAMP/bin/php/php5.5.18/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000

完了

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