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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:15:38+00:00 2026-05-26T17:15:38+00:00

I using XAMPP and I have configure it in order to have virtual hosts

  • 0

I using XAMPP and I have configure it in order to have virtual hosts for each project I create localy.

In my php.ini I have enabled xdebug, and my scripts are working properly. I mean that any time there is a warning, notice, error, are reported by the xdebug.

Now I would like to enable the Xdebug profiler, and I have make the following changes into my php.ini in order to allow the Xdebug profiler to generate the log file:

; xdebug.profiler_enable
; Type: integer, Default value: 0
; Enables Xdebugs profiler which creates files in the profile output directory. Those files can be
; read by KCacheGrind to visualize your data. This setting can not be set in your script with ini_set
; ().
xdebug.profiler_enable = 1

; xdebug.profiler_output_dir
; Type: string, Default value: /tmp
; The directory where the profiler output will be written to, make sure that the user who the PHP
; will be running as has write permissions to that directory. This setting can not be set in your
; script with ini_set().
xdebug.profiler_output_dir ="D:\Web Development Projects\Profile"

I restart my Apache, but still when I run my scripts there is no file generated in folder Profile.

Is there anything else I have to do ?

I have read that in order to enable the Profiler : http://xdebug.org/docs/profiler


After some research, I add that code at the end of the index.php in a WordPress installation I have in my server:

echo xdebug_get_profiler_filename();

After I run my WordPress, at the footer I get that result:

D:/Web Development Projects/Profile/xdebug_profile._::1320916508_018294

but when I go to the folder

D:/Web Development Projects/Profile/

the file is not appeared there ? Any idea ?

  • 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-26T17:15:39+00:00Added an answer on May 26, 2026 at 5:15 pm

    First of all, you need to make sure that the user under which your webserver runs at actually has write permissions to the directory that you specified— and it needs to exist.
    It is also possible that Xdebug doesn’t like spaces in paths, Although that should work just fine, I would try setting:

    xdebug.profiler_output_dir = "D:/Web Development Projects/Profiler"
    

    As the \ + char might be an escape sequence.

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

Sidebar

Related Questions

I'm using xampp for my php. And I have download a code igniter and
I am using XAMPP to create php projects. My system is: name=con7 and local
I have a project written with zend framework. I was using xampp for my
As a PHP developer, I have been using Xampp for running PHP and MySQL
I am using XAMPP, Apache 2.2.17. I have added virtual host but my virtual
I was using xampp to develop locally and then I installed the PHP from
I'm using XAMPP (latest version) on OS 10.6.2, that's bundled with PHP 5.3.0 I
I am trying to install Moodle 1.9 using XAMPP on a virtual machine running
I have an Apache server installed on my windows machine using XAMPP. Now I'm
i have working codes from my server which is really working using Xampp server

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.