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 4322300
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T08:51:21+00:00 2026-05-21T08:51:21+00:00

I have my 1and1 hosted web site. I’ve got server-side php I need to

  • 0

I have my 1and1 hosted web site. I’ve got server-side php I need to debug.
All I’ve found mentions running/installing xdebug when you have a local web server
with php and mysql on a local web server.

However, I’m using the remote web server hosted at 1and1 hosting.
I’m using and loving netbeans, wow great IDE.

Anyways, how (if it’s even possible) can I install then use the xdebug
debugger to debug my php code running at 1and1 from within Netbeans?

I’m wondering if it is my hosting company (1and1) that has to have xdebug installed.
I’m running the latest version of Netbeans but when I press the debug button on
the toolbar I see an error message popup that says

“There is no connection from xdebug detected within 40 seconds. The reasons could be that xdebug is neither installed nor properly configured. Be sure that your php.ini file contains these entries:

xdebug.remote_enable=on  
xdebug.remote_handler=dbgp  
xdebug.remote_host=localhost (or hostname)  
xdebug.remote_port=9000

So I searched my harddisk, and despite having installed the full Netbeans
IDE, I have no php.ini file.

So can I make xdebug work remotely, ie. can I debug my php code as it runs on the
remote 1and1 web server, using Netbeans and xdebug?

I’ve only been using Netbeans for 2 days and for all I know, xdebug is not even a part
of Netbeans. Reason I say that is, I can ‘run’ my php remotely just fine — it executes on the remote 1and1 web server when I push ‘run’ inside Netbeans — and then the client side output on my local machine is correct. But I cannot step into the code with xdebug by pressing the ‘Debug’ button on the Netbeans toolbar — is it possible xdebug did not get installed correctly with Netbeans?

  • 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-05-21T08:51:22+00:00Added an answer on May 21, 2026 at 8:51 am

    xdebug should be installed inside the php folder and of course the php folder is located on the server where php is installed… at your hosting provider.

    I would not expect an hosting provider to install xDebug as it seems to me it would be a huge security hole.

    xDebug is not part of Netbeans and it is not part of PHP by default.

    Now, looking at things on a more positive viewpoint, if you are going to develop PHP, you NEED a local server. It’s very unprofessional to develop code directly on the live server.

    Grab a copy of xampp and install it on your computer. Grab a copy of xdebug and install it following the instructions. Restart Apache. There, now you have a testing server.

    Once you have a complete set-up on your computer, copy your PHP application’s folder inside the “htdoc” folder.

    NOW, and only now, should you consider developing in PHP. Develop locally, on your own testing server, xdebug will work whenever you start a debugging session from inside Netbeans.

    When everything works, upload your files on your hosted space.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site hosted on 1and1 and a couple of weeks ago I
Scenario : I have a PHP Forum and a Asp.Net site hosted on Linux
I have a plesk panel and root dedicated server on 1and1. I'm using custom
Have just started using Google Chrome , and noticed in parts of our site,
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have a n-tire web application and search often times out after 30 secs. How
My host : 1and1.com My setup : I have my main domain and a
I am a PHP programmer. I have no .Net coding experience (last seen it
Have a lot of troubles on production server. Some routing cause crashing of Application
Have you noticed that every 10 questions on this site is about jQuery? Anyway...

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.