Problem
I recently started using Linux on one of my laptops. I installed XAMPP (LAMPP), which I really like on Mac and Window OS, to develop WordPress themes, etc.
I continue to run into annoying resolution issues that I understand are part of the Linux learning curve. I do not own terminal commands.
Before doing anything, I was not able to import files from any other Wordpress from other computers without access errors.
Using the terminal, I changed the permissions in the htdocs folder:
sudo chmod 777 -R /opt/lampp/htdocs
Solving one problem, it seemed to me that my WP files were recognized, but now I canβt connect to the database that I created in phpMyAdmin using the correct database name, root as a user and nothing for the password, which works fine when I create a WordPress installation from this laptop.
I get these problems only when importing files into htdocs from zip or otherwise.
Question
Is there a set of best practices for setting up XAMPP (LAMPP) in a Linux box so that there are no resolution problems or other problems that prevent you from using the local installation for Wordpress (and other programs).
Thanks!
source share