I'm a NEWB
I have a fresh install of Slackware 12.2, kernel 2.6.27.7-smp.
I'm trying to get a web server going. I've got Apache and PHP up and running.
I don't know where to begin with mySQL, so I thought I'd begin with a front-end to help me out. I'm trying to follow the instructions here
http://slackwiki.org/PhpMyAdmin
First it says to download to /usr/src/sourcepkg . The next instruction says to
Code:
tar /usr/src/source/phpMyAdmin-XXX.tar.bz2
, so I created the dir 'source' in /usr/src to put the file into.
Per the instructions, I extracted in /var/www, created the symbolic link, jumped to the section "httpd (apache2) under Slackware 12", created the /etc/apache/conf.d/phpMyAdmin.conf file, added the line to the /etc/httpd/phpMyAdmin.conf file.
Under "Configuration" it says to restart with
Code:
/etc/apache/rc.httpd restart
That fails with:
bash: /etc/apache/rc.httpd: No such file or directory
So I Googled around and restarted with:
Code:
apachectl -k restart
I think it restarted, but it gave the message:
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Back to the instructions, when I try to go to
http://localhost/phpMyAdmin
I get:
Forbidden
You don't have permission to access /phpMyAdmin on this server.
The instructions say "If you have set a password for your MySQL root user, you will have an error"
I have never set a password anywhere. I'm assuming one is set by default in Slackware 12.2.
It then says to "Edit /var/www/phpMyAdmin/config.inc.php"
When I cd to /var/www/phpMyAdmin, I get:
bash: cd: /var/www/phpMyAdmin: No such file or directory
So I poke around and there is a /var/www/phpMyAdmin-3.1.1-all-languages folder that contains config.sample.inc.php, so I cp config.sample.inc.php to config.inc.php, and edit.
First the instructions say:
Code:
Change to something unique:
$cfg['blowfish_secret']=;
It has the line $cfg['blowfish_secret'] = ''; I try adding 'somethingunique' (literally) in the single quotes.
Then it says:
Code:
Change:
$cfg['Servers'][$i]['auth_type'] = 'config';
To:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
When I scroll down, there is already a line:
Code:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
So I don't change anything.
I then refresh the page and I still get the same:
Forbidden
You don't have permission to access /phpMyAdmin on this server.
If anyone can help me with this, or just point me to something that will tell me how to use mySQL with my current install, that would be great!