xdebug with litespeed help "not loaded as zend extension"

Discussion in 'PHP' started by kjavitz, Apr 15, 2013.

  1. kjavitz

    kjavitz New Member

    Hi,

    I know xdebug is loading as a zend extension cause I have in php.ini:

    zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so

    but phpinfo says it's not a zend extension (rather a regular php extension) and I can't get PHPSTORM to recognize an incoming debug connection. I have port set to 9000 for xdebug

    I followed the instructions from xdebug for installation:

    Code:
    Download xdebug-2.2.2.tgz
    Unpack the downloaded file with tar -xvzf xdebug-2.2.2.tgz
    Run: cd xdebug-2.2.2
    Run: phpize (See the FAQ if you don't have phpize.
    
    As part of its output it should show:
    
    Configuring for:
    ...
    Zend Module Api No:      20090626
    Zend Extension Api No:   220090626
    If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.
    
    Run: ./configure
    Run: make
    Run: cp modules/xdebug.so /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    Edit /usr/local/lib/php.ini and add the line
    zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
    Restart the webserver

    Here is the full xdebug output from phpinfo:

    xdebug

    Code:
    xdebug support	enabled
    Version	2.2.2
    IDE Key	PHPSTORM
    
    XDEBUG NOT LOADED AS ZEND EXTENSION
    
    Supported protocols	Revision
    DBGp - Common DeBuGger Protocol	$Revision: 1.145 $
    
    Directive	Local Value	Master Value
    xdebug.auto_trace	Off	Off
    xdebug.cli_color	0	0
    xdebug.collect_assignments	Off	Off
    xdebug.collect_includes	On	On
    xdebug.collect_params	0	0
    xdebug.collect_return	Off	Off
    xdebug.collect_vars	Off	Off
    xdebug.coverage_enable	On	On
    xdebug.default_enable	On	On
    xdebug.dump.COOKIE	no value	no value
    xdebug.dump.ENV	no value	no value
    xdebug.dump.FILES	no value	no value
    xdebug.dump.GET	no value	no value
    xdebug.dump.POST	no value	no value
    xdebug.dump.REQUEST	no value	no value
    xdebug.dump.SERVER	no value	no value
    xdebug.dump.SESSION	no value	no value
    xdebug.dump_globals	On	On
    xdebug.dump_once	On	On
    xdebug.dump_undefined	Off	Off
    xdebug.extended_info	On	On
    xdebug.file_link_format	no value	no value
    xdebug.idekey	PHPSTORM	no value
    xdebug.max_nesting_level	100	100
    xdebug.overload_var_dump	On	On
    xdebug.profiler_aggregate	Off	Off
    xdebug.profiler_append	Off	Off
    xdebug.profiler_enable	Off	Off
    xdebug.profiler_enable_trigger	Off	Off
    xdebug.profiler_output_dir	/tmp	/tmp
    xdebug.profiler_output_name	cachegrind.out.%p	cachegrind.out.%p
    xdebug.remote_autostart	Off	Off
    xdebug.remote_connect_back	Off	Off
    xdebug.remote_cookie_expire_time	3600	3600
    xdebug.remote_enable	On	On
    xdebug.remote_handler	dbgp	dbgp
    xdebug.remote_host	201.194.148.230	201.194.148.230
    xdebug.remote_log	/tmp/log/xdebug.log	/tmp/log/xdebug.log
    xdebug.remote_mode	req	req
    xdebug.remote_port	9000	9000
    xdebug.scream	Off	Off
    xdebug.show_exception_trace	Off	Off
    xdebug.show_local_vars	Off	Off
    xdebug.show_mem_delta	Off	Off
    xdebug.trace_enable_trigger	Off	Off
    xdebug.trace_format	0	0
    xdebug.trace_options	0	0
    xdebug.trace_output_dir	/tmp	/tmp
    xdebug.trace_output_name	trace.%c	trace.%c
    xdebug.var_display_max_children	128	128
    xdebug.var_display_max_data	512	512
    xdebug.var_display_max_depth	3	3
  2. NiteWave

    NiteWave Administrator

Share This Page