希望能够有傻瓜化的一步一步的教程,我在php.ini中添加了如下代码
[xdebug]
zend_extension_ts=D:/WAMP/php5/ext/php_xdebug-2.2.0RC2-5.3-vc9-nts.dll
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.trace_output_dir="D:/WAMP/debug"
xdebug.profiler_enable=On
xdebug.profiler_output_dir="D:/WAMP/debug"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
也将php_xdebug-2.2.0RC2-5.3-vc9-nts.dll放到了PHP5的ext目录下了但是就是不行,希望各位师兄能够一步一步教我,谢谢了

解决方案 »

  1.   

    netbeans在ubuntu 里不是一般的有毛病...
      

  2.   

    PHP Version 5.3.10 System  Windows NT SARA-PC 6.1 build 7601 (Windows 7 Business Edition Service Pack 1) i586  
    Build Date  Feb 2 2012 20:26:31  
    Compiler  MSVC9 (Visual C++ 2008)  
    Architecture  x86  
    Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--disable-isapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" "--disable-static-analyze"  
    Server API  Apache 2.0 Handler  
    Virtual Directory Support  enabled  
    Configuration File (php.ini) Path  C:\Windows  
    Loaded Configuration File  D:\WAMP\php5\php.ini  
    Scan this dir for additional .ini files  (none)  
    Additional .ini files parsed  (none)  
    PHP API  20090626  
    PHP Extension  20090626  
    Zend Extension  220090626  
    Zend Extension Build  API220090626,TS,VC9  
    PHP Extension Build  API20090626,TS,VC9  
    Debug Build  no  
    Thread Safety  enabled  
    Zend Memory Manager  enabled  
    Zend Multibyte Support  disabled  
    IPv6 Support  enabled  
    Registered PHP Streams  php, file, glob, data, http, ftp, zip, compress.zlib, phar  
    Registered Stream Socket Transports  tcp, udp  
    Registered Stream Filters  convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*   This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
     
      

  3.   

    --------------------------------------------------------------------------------PHP Credits--------------------------------------------------------------------------------Configuration
    apache2handler
    Apache Version  Apache/2.2.22 (Win32) PHP/5.3.10  
    Apache API Version  20051115  
    Server Administrator  [email protected]  
    Hostname:Port  www.php.org:0  
    Max Requests  Per Child: 0 - Keep Alive: on - Max Per Connection: 100  
    Timeouts  Connection: 300 - Keep-Alive: 5  
    Virtual Server  Yes  
    Server Root  D:/WAMP/apache2  
    Loaded Modules  core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5  Directive Local Value Master Value 
    engine 1 1 
    last_modified 0 0 
    xbithack 0 0 
    Apache Environment
    Variable Value 
    HTTP_ACCEPT  application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*  
    HTTP_ACCEPT_LANGUAGE  zh-CN  
    HTTP_ACCEPT_ENCODING  gzip, deflate  
    HTTP_THREADID  5840  
    HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; qdesk 2.3.1186.202; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; SE 2.X MetaSr 1.0)  
    HTTP_HOST  www.php.org  
    HTTP_CONNECTION  Keep-Alive  
    PATH  C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\WAMP\mysql5\bin;  
    SystemRoot  C:\Windows  
    COMSPEC  C:\Windows\system32\cmd.exe  
    PATHEXT  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC  
    WINDIR  C:\Windows  
    SERVER_SIGNATURE  no value  
    SERVER_SOFTWARE  Apache/2.2.22 (Win32) PHP/5.3.10  
    SERVER_NAME  www.php.org  
    SERVER_ADDR  127.0.0.1  
    SERVER_PORT  80  
    REMOTE_ADDR  127.0.0.1  
    DOCUMENT_ROOT  D:/WAMP/website/  
    SERVER_ADMIN  [email protected]  
    SCRIPT_FILENAME  D:/WAMP/website/427/index.php  
    REMOTE_PORT  49956  
    GATEWAY_INTERFACE  CGI/1.1  
    SERVER_PROTOCOL  HTTP/1.1  
    REQUEST_METHOD  GET  
    QUERY_STRING  no value  
    REQUEST_URI  /427/index.php  
    SCRIPT_NAME  /427/index.php  
    HTTP Headers Information
    HTTP Request Headers 
    HTTP Request  GET /427/index.php HTTP/1.1  
    Accept  application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*  
    Accept-Language  zh-CN  
    Accept-Encoding  gzip, deflate  
    ThreadID  5840  
    User-Agent  Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; qdesk 2.3.1186.202; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; SE 2.X MetaSr 1.0)  
    Host  www.php.org  
    Connection  Keep-Alive  
    HTTP Response Headers 
    X-Powered-By  PHP/5.3.10  
    Keep-Alive  timeout=5, max=100  
    Connection  Keep-Alive  
    Transfer-Encoding  chunked  
    Content-Type  text/html;charset=gb2312  
    bcmath
    BCMath support  enabled  Directive Local Value Master Value 
    bcmath.scale 0 0 
    calendar
    Calendar support  enabled  
    com_dotnet
    COM support enabled 
    DCOM support disabled 
    .Net support enabled Directive Local Value Master Value 
    com.allow_dcom 0 0 
    com.autoregister_casesensitive 1 1 
    com.autoregister_typelib 0 0 
    com.autoregister_verbose 0 0 
    com.code_page no value no value 
    com.typelib_file no value no value 
    Core
    PHP Version  5.3.10  Directive Local Value Master Value 
    allow_call_time_pass_reference Off Off 
    allow_url_fopen On On 
    allow_url_include Off Off 
    always_populate_raw_post_data Off Off 
    arg_separator.input & & 
    arg_separator.output & & 
    asp_tags Off Off 
    auto_append_file no value no value 
    auto_globals_jit On On 
    auto_prepend_file no value no value 
    browscap no value no value 
    default_charset UTF-8 UTF-8 
    default_mimetype text/html text/html 
    define_syslog_variables Off Off 
    disable_classes no value no value 
    disable_functions no value no value 
    display_errors On On 
    display_startup_errors On On 
    doc_root no value no value 
    docref_ext no value no value 
    docref_root no value no value 
    enable_dl Off Off 
    error_append_string no value no value 
    error_log no value no value 
    error_prepend_string no value no value 
    error_reporting 22519 22519 
    exit_on_timeout Off Off 
    expose_php On On 
    extension_dir D:/wamp/php5/ext D:/wamp/php5/ext 
    file_uploads On On 
    highlight.bg #FFFFFF #FFFFFF 
    highlight.comment #FF8000 #FF8000 
    highlight.default #0000BB #0000BB 
    highlight.html #000000 #000000 
    highlight.keyword #007700 #007700 
    highlight.string #DD0000 #DD0000 
    html_errors On On 
    ignore_repeated_errors Off Off 
    ignore_repeated_source Off Off 
    ignore_user_abort Off Off 
    implicit_flush Off Off 
    include_path .;C:\php\pear .;C:\php\pear 
    log_errors On On 
    log_errors_max_len 1024 1024 
    magic_quotes_gpc Off Off 
    magic_quotes_runtime Off Off 
    magic_quotes_sybase Off Off 
    mail.add_x_header On On 
    mail.force_extra_parameters no value no value 
    mail.log no value no value 
    max_execution_time 30 30 
    max_file_uploads 20 20 
    max_input_nesting_level 64 64 
    max_input_time 60 60 
    max_input_vars 1000 1000 
    memory_limit 128M 128M 
    open_basedir no value no value 
    output_buffering no value no value 
    output_handler no value no value 
    post_max_size 8M 8M 
    precision 14 14 
    realpath_cache_size 16K 16K 
    realpath_cache_ttl 120 120 
    register_argc_argv Off Off 
    register_globals On On 
    register_long_arrays Off Off 
    report_memleaks On On 
    report_zend_debug On On 
    request_order GP GP 
    safe_mode Off Off 
    safe_mode_exec_dir no value no value 
    safe_mode_gid Off Off 
    safe_mode_include_dir no value no value 
    sendmail_from no value no value 
    sendmail_path no value no value 
    serialize_precision 17 17 
    short_open_tag On On 
    SMTP localhost localhost 
    smtp_port 25 25 
    sql.safe_mode Off Off 
    track_errors On On 
    unserialize_callback_func no value no value 
    upload_max_filesize 7M 7M 
    upload_tmp_dir no value no value 
    user_dir no value no value 
    user_ini.cache_ttl 300 300 
    user_ini.filename .user.ini .user.ini 
    variables_order GPCS GPCS 
    windows.show_crt_warning Off Off 
    xmlrpc_error_number 0 0 
    xmlrpc_errors Off Off 
    y2k_compliance On On 
    zend.enable_gc On On 
    ctype
    ctype functions  enabled  
    date
    date/time support  enabled  
    "Olson" Timezone Database Version  2011.14  
    Timezone Database  internal  
    Default timezone  ROC  Directive Local Value Master Value 
    date.default_latitude 31.7667 31.7667 
    date.default_longitude 35.2333 35.2333 
    date.sunrise_zenith 90.583333 90.583333 
    date.sunset_zenith 90.583333 90.583333 
    date.timezone ROC ROC 
    dom
    DOM/XML  enabled  
    DOM/XML API Version  20031129  
    libxml Version  2.7.7  
    HTML Support  enabled  
    XPath Support  enabled  
    XPointer Support  enabled  
    Schema Support  enabled  
    RelaxNG Support  enabled  
    ereg
    Regex Library  Bundled library enabled  
    filter
    Input Validation and Filtering  enabled  
    Revision  $Revision: 321634 $  Directive Local Value Master Value 
    filter.default unsafe_raw unsafe_raw 
    filter.default_flags no value no value 
    ftp
    FTP support  enabled  
    hash
    hash support  enabled  
    Hashing Engines  md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5  
    iconv
    iconv support  enabled  
    iconv implementation  "libiconv"  
    iconv library version  1.11  Directive Local Value Master Value 
    iconv.input_encoding ISO-8859-1 ISO-8859-1 
    iconv.internal_encoding ISO-8859-1 ISO-8859-1 
    iconv.output_encoding ISO-8859-1 ISO-8859-1 
    json
    json support  enabled  
    json version  1.2.1  
    libxml
    libXML support  active  
    libXML Compiled Version  2.7.7  
    libXML Loaded Version  20707  
    libXML streams  enabled  
    mbstring
    Multibyte Support  enabled  
    Multibyte string engine  libmbfl  
    HTTP input encoding translation  disabled  mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Multibyte (japanese) regex support  enabled  
    Multibyte regex (oniguruma) version  4.7.1  Directive Local Value Master Value 
    mbstring.detect_order no value no value 
    mbstring.encoding_translation Off Off 
    mbstring.func_overload 0 0 
    mbstring.http_input pass pass 
    mbstring.http_output pass pass 
    mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml) 
    mbstring.internal_encoding no value no value 
    mbstring.language neutral neutral 
    mbstring.strict_detection Off Off 
    mbstring.substitute_character no value no value 
    mcrypt
    mcrypt support enabled 
    mcrypt_filter support enabled 
    Version  2.5.8  
    Api No  20021217  
    Supported ciphers  cast-128 gost rijndael-128 twofish cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes arcfour  
    Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream