I am using the potable version of XAMMP, and the server starts up perfectly (when I do the tests on my personal pc) when the folder is located on the C:/ drive, which if it cannot be opened in D or another path because it throws the following error:
Now in my work I don't have permissions to add anything to drive C , so I only have to install it on drive D , I know that I probably have to change some paths in the configuration documents to make it work on drive D , like " ServerRoot" or something like that. I am researching the documentation, but I would still like the advice of someone who knows how to configure it as required.
As you mentioned, you must modify the files httpd.conf, php.ini and httpd-xampp.conf and change the references to the disk or folder you are using. in the config button you have access to these 3 files and with a ctrl+R you should be able to easily replace these references to the current disk.
Well the solution was to use the setup_xampp file, which set me some variables automatically.
Then change the port 80 to 8080 in the httpd.conf configuration (the old reliable one in XAMPP)
Finally restart the apache server and voila! :D