I am going to build a small application to index my photographs. I thought it would be fun to build it with PHP and MySQL/Maria DB as the backend support.
I am getting errors configuring the stack.
I got the Apache HTTP up and configured,
I got the PHP installed,
I installed MySQL and set a root password,
I wanted to make sure I was good with the PHP to MySQL linkage, so I am installing PHPMyAdmin.
I test it out and I get a Forbidden from the browser.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<p>You don't have permission to access /phpmyadmin/
on this server.</p>
Looking at the log, I have this error.
[Fri Apr 26 14:27:34.076641 2013] [mpm_prefork:notice] [pid 8919] AH00163: Apache/2.4.4 (Fedora) PHP/5.4.13 configured -- resuming normal operations
[Fri Apr 26 14:27:34.076712 2013] [core:notice] [pid 8919] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Apr 26 14:27:41.776158 2013] [authz_core:error] [pid 8922] [client 192.168.1.39:58443] AH01630: client denied by server configuration: /usr/share/phpMyAdmin/
What am I doing wrong? I thought I had a permissions problem with /usr/share/phpMyAdmin, so I changed phpMyAdmin.conf like this.
# Apache 2.4
Require ip 127.0.0.1
Require ip ::1
# Apache 2.2
Deny from all
Allow from 192.168.1.0/24
Allow from 192.168.1.39/24
Allow from 127.0.0.1
Allow from ::1
My IP is 192.168.1.39 from the router, and the workstation is working on the internet. I am using Fedora 18.
- Raj Upadhyaya