Nobbie wrote:This is totally wrong - dont you have any Windows knowledge?? You cannot apply simply an IP, it must be a "Windows Share". And of course User System must have sufficient access rights. You have to configure that Share properly on the mentioned Server. As you still do not tell us anything about that "thing", i cannot go any further.
I set up a VM with an LInux server (in text mode) with Nginx and compiled Xdebug in PHP 7, but my development environment is on my local machine and I was not able to use Xdebug remotely. So I shared through Samba the Nginx Document Root and installed Xampp on my Windows.
For me it is better to configure Xdebug locally and so I was trying to map my Samba drive to Xampp's Document Root.
Nobbie wrote:This is plain nonsense, it is meant for portable Xampp version only (installed on an USB stick). You might have corrupted your configuration by doing this useless step.
I remember reading that it is not good practice to use in using network sharing, but I had no other choice.
Nobbie wrote:a) do NOT(!) run Xampp as a service (you have to configure that in the Xampp dialog). Instead start Apache and MySQL NOT automatically and not as a service, after you login to Windows start the Xampp Controlcenter and start Apache and MySQL via Mouseclick. If you do it correctly, Apache and MySQL are NOT running as System user, but instead with YOUR UserId and with the same rights.
I did not run Xampp as a service and it still had a problem.
Nobbie wrote:b) edit your Apache Configuration and change "X:" into "X:/", as you only provided a drive letter (what is not sufficient), you also have to apply a folder (at least root folder "/").
I had already tried using the configuration in several ways: "X:", "X:/" and "X: /", but none of them worked out.
Yet I have found a way that is working. I installed Xampp inside within my X: mapping and in Document Root it looked like this:
- Code: Select all
DocumentRoot "X:/"
<Directory "X:/">
Thanks for the help and ideas. It's settled. Now I can run Xdebug on my Netbeans perfectly.