Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7994907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:15:15+00:00 2026-06-04T14:15:15+00:00

I am using Netbeans to debug PHP. I dont have access to php.ini so

  • 0

I am using Netbeans to debug PHP. I dont have access to php.ini so I use .htaccess:

php_value   xdebug.remote_host   "localhost"    
php_value   xdebug.idekey               "netbeans-xdebug"
php_flag    xdebug.remote_autostart       Off
php_flag    xdebug.remote_enable          On
php_value   xdebug.remote_port            9000
php_value   xdebug.remote_handler         dbgp
php_flag    xdebug.profiler_enable        on
php_flag    xdebug.remote_connect_back    On
php_flag    xdebug.extended_info          On

sub.mydomain.com runs with port 8080 and 8090. I have previously used xdebug with Eclipse on this server.

The sub.mydomain.com server ‘s phpinfo() lists xdebug as installed together with the settings above:

Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Xdebug v2.1.3, Copyright (c) 2002-2012, by Derick Rethans

In Netbeans I have configured the “properties” and “run configuration” entries and port and id match also (9000, netbeans-xdebug).

There are many developers on sub.mydomain.com, might this be a problem if anyone uses port 9000?

Still if I run “debug” in Netbeans, there comes “Waiting for connection” forever.

What do I have to do?

Edit: fixed to localhost

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:15:16+00:00Added an answer on June 4, 2026 at 2:15 pm

    I have managed to start the debugger with the following config:

    php_value   xdebug.remote_host   "192.168.1.149"
    php_value   error_reporting               22527
    php_flag    xdebug.remote_autostart       Off
    php_flag    xdebug.remote_enable          On
    php_value   xdebug.remote_port            9009
    php_value   xdebug.remote_handler         dbgp
    php_value   xdebug.remote_log             "..."
    php_flag    xdebug.profiler_enable        off
    php_flag    xdebug.extended_info          On
    php_flag    xdebug.coverage_enable        On
    php_value   error_log                     "..."
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try using xdebug with NetBeans to debug PHP. I start debug, and NetBeans
When I debug a PHP project in Netbeans with xdebug, I have to select
I just started using Netbeans to debug PHP apps, but when I inspect any
I'm trying to debug some PHP using NetBeans PHP 6.8 with XAMPP on Windows
I'm trying to debug a method in Java using NetBeans. That method is: public
I'm trying to debug a method in Java using NetBeans. That method is: public
I want to debug a form submit using netbeans but cannot find the option
I am able to debug scala controller in play framework using netbeans IDE but
I am building a C++ application, using Netbeans 6.9 as my IDE. I have
I have signed my app using netbeans and exported it, uploaded to android market,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.