I've installed XAMPP on my Linux computer and server and database are running. Now I have a question how to execute my existing PHP-Files from /home
path?
So far I have saved all of my PHP files in ./home
directory (e.g. /home/Path-to-PHP-Files/Development_01/....php
) and until now I have uploaded them with FTP to server. In order to save myself from constant uploading, I thought that usage with XAMPP is faster and more elegant.
I found out that XAMPP apparently wants to save the PHP files in /opt/lampp/htdocs
directory. Unfortunately I can neither call my PHP files from .home
-directory in browser nor can I copy them to /opt/lampp/htdocs
because this path is read-only.
How can I configure XAMPP to make my PHP files run in /home
directory?