So I'm trying out Slackware, I like it, I have old computers and it's faster than Debian 8. I currently operate a Debian 8 VPS but I'm working on a local machine at the moment.
After following the instructions here:
http://www.slackwiki.com/PhpMyAdmin
I kept running into problems with Forbidden, access to /phpmyadmin denied... There was some confusion since I'm used to /var/www/html not /var/www/htdocs, regardless I switched those around, but I was not able to get around this problem.
Looking at the symbolic links, when clicking on them, I was told "Broken link" so I suspect that could be a problem.
The phpmyadmin folder was in /usr/src/source/phpmyadmin where the symbolic link was set by:
ln -sf phpMyAdmin-XXX phpMyAdmin
While in the /var/www directory.
I don't know if it's obviously a bad idea to have phpmyadmin publicly accessible. Probably is.
I have the phpMyAdmin.conf in the /etc/httpd/conf.d directory
This is what I have in the phpMyAdmin.conf file
Alias /phpmyadmin /var/www/html/phpmyadmin
<Location /var/www/html/phpmyadmin>
Options Indexes FollowSymLinks
Require all granted
</Location>
I added the line
Include /etc/httpd/conf.d/phpMyAdmin.conf at the bottom of httpd.conf
After copying the folder to /var/www/html directly, I am able to get into phpmyadmin, but now I'm being prompted to install php5.5+ not what I have now which is 5.4.20 this came default with 14.1
Anyway, man I miss apt-get install
I'm not sure if my VPS provider uses Slackware as an OS I've seen Debian and CentOS on there. I'll probably stick to Debian 8 at the moment for the live server, but on these old computers, I wouldn't mind running Slackware for being faster.
So is it bad to do what I did? If so, how should I fix it?
Looking at my configuration for Debian phpmyadmin is in the /usr/share directory and there's an alias to it. So this is probably not good. I'm going to see about importing the debian phpmyadmin conf settings into the phpmyadmin conf file for slackware.