XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. Some people have a problem with directory restricted access and now learn how to XAMPP-VM htdocs Directory Permission
XAMPP-VM for Mac. This new app makes it really easy to run XAMPP for Linux on your Mac with just a few clicks. No VirtualBox needed!
Make sure you have installed XAMPP-VM on Mac machine
Step 1: Start and Stop XAMPP
To get started with the new stack manager, launch it as usual and click the “Start” button to start the hypervisor. This will also start all the XAMPP-VM services.
Go to Application ➝ XAMPP ➝ Klick on tab “general”
There are multiple templates versions of Prestashop on Google Cloud Marketplace, on this tutorial we are going to use Prestahop Certified by Bitnami, let’s install it
Step 2: Enable Network and Port
The XAMP-VM manager provides a graphical interface to forward ports between XAMPP-VM and the host system. It comes with forward from port 80 to port 8080 on the host, enable
localhost:8080 -> 80 (Over SSH). Then you can access phpMyAdmin
http://localhost:8080/phpmyadmin and other App.
Step 3: Mount Data Volume
To access XAMPP directories and copy or move files between your host and XAMPP using the Finder. got to “Volumes” tab of the stack manager and click “Mount” to explore directories.
Step 4: Create a Directory
You can now create the directory for your app or web root directory, Go to Finder ➝ localhost IP ➝ right click to create own folder
Step 5: Grant Directory Permission
Copy, paste or move file on these folder may be restricted. you need grant permission the folder. to this run command below on the terminal
chown -R daemon:daemon /opt/lampp/htdocs/axfon
sudo chmod -R 777 /opt/lampp/htdocs/axfon/
Then you can now do many things on these folder and to access your app access on web browser
http://localhost:8080/axfon (change with your own folder name)
If this tutorial could help you, please rate above Star button rating and share to help others find it! Feel free to leave a comment below.