Use portable XAMMP on disk D

0

I am using the drinking version of XAMMP, and it raises me perfectly the server (when I do the tests on my personal pc) when the folder is located on the disk C: /, what if you can not is open it on the D or another route because it throws the following error:

Now in my work I do not have permission to add anything to the C drive, so I just have to install it on the D drive, I know I probably have to change some routes in the configuration documents to work on disk D, like the "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.

    
asked by angelo1793 27.09.2018 в 16:15
source

2 answers

0

Well the solution was to use the file setup_xampp, which I set some variables automatically.

Then change port 80 to 8080 in the httpd.conf configuration (the old reliable one in XAMPP)

Finally restart the apache server and go! : D

    
answered by 27.09.2018 / 16:47
source
1

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 button config 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.

    
answered by 27.09.2018 в 16:24