Ubuntu 9.04(デスクトップ版)でLAMPサーバーを実行しています。私は Ubuntu を初めて使用するので、ほとんどの作業は Synaptic Packet Manager を使用して行いました。次に、php5-common を削除し、次の方法で php5 をインストールしました。apt-get install php5
エラー報告は次のように設定されています。error_reporting = E_ALL & ~E_NOTICE
Xdebug をインストールし、php.ini ファイルに以下を挿入しました。
zend_extension=/usr/lib/php5/20060613/xdebug.so
[debug]
; Remote settings
xdebug.remote_autostart=off
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
; General
xdebug.auto_trace=off
xdebug.collect_includes=on
xdebug.collect_params=off
xdebug.collect_return=on
xdebug.default_enable=on
xdebug.extended_info=1
xdebug.manual_url=http://www.php.net
xdebug.show_local_vars=0
xdebug.show_mem_delta=0
xdebug.max_nesting_level=100
;xdebug.idekey=
; Trace options
xdebug.trace_format=0
xdebug.trace_output_dir=/tmp
xdebug.trace_options=0
xdebug.trace_output_name=crc32
; Profiling
xdebug.profiler_append=0
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=0
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=crc32
現在、特定のプロジェクトについて、ページに次のコード行があります。
include_once(something.php);
さて、something.php は存在しません。これは含まれていて必須ではないため、エラーは発生しないと思いますが、XDebug によってエラー レポートが表示されます。誰も助ける方法を知っていますか?