Ok on the MySQL question. I should have clarified, could also be MariaDB. So the error about the DB is because of being installed within the XMAPP package, and not installed for "system wide use", so that is why the DB was not found.
I'll have to go check the link reference. To me, XAMPP is generally geared to a Windows based installation, and NOT for Linux (although it's possible, which could be a simplified solution for some users, depending upon skill level). With Linux, you can install the same packages yourself -- as it's only 3. Apache is already apparently installed, so the other packages would be: MariaDB (or MySQL), and PHP. The AMP portion in the middle of that acronym means Apache, MySQL (or MariaDB), and PHP. The leading X in the acronym implies the OS in use: If Windows, then you have WAMP (windows with those 3 packages), if Linux then you have LAMP (Linux with those 3 packages), and if Mac then you have MAMP (Mac with those 3 packages). That's all there is to it! ... I can help install any of the AMP portions, if needed. Technically speaking, the AMP packages can be individually installed on to any system without needing XAMPP.
The point of using
ack was to simply find out what your APACHE_RUN_GROUP value was, which happened to be the same as mine. The www-data portion, is used in step 2, after the
: ... This was only to check if your 18 version may have changed. Ack is a 'friendlier' search utility than grep for some, and it also highlights the match(es), which you might have noticed.
Nothing needed inside the curly braces at steps 4 and 5 are run as-is.
The curly braces within
find command is replaced by any (file or directory) found by the find parameters.
No, you're not missing anything (so far, I think) ... we might have crossed each other during my edits yesterday (Saturday)
Writable by the webserver simply means the
www-data group user, so this would be applied to the group permissions, and NOT to 'other'.
See item #3 in my previous comment, that should take care of the first writable message.
For the companies directory:
- Get to the KwaMoja directory:
- Then run:
sudo chmod 775 companies
That should take care of those last 2 install messages, but if not, let me know!
Seems that you're very close! (though you may still see the DB error, because of what I mentioned at the start of this comment)