[K12OSN] Mysql and php

Scott Sherrill scott at remc1.org
Wed Sep 7 20:38:39 UTC 2005


Jennifer Waters wrote:

>I am trying to get some php files to work on my Apache
>Server.  I have mysql and php loaded onto the server. 
>This is what I get when I try to load a php file.
>
>php-5.0.4-10.4
>mysql-4.1.12-2.RC4.1
>Apache 2.0.54
>
>Forbidden
>
>You don't have permission to access /info.php on this
>server.
>
>Additionally, a 403 Forbidden error was encountered
>while trying to use an ErrorDocument to handle the
>request.
>Apache/2.0.54 (Fedora) Server at MadisonHS Port 80
>
>I have tried reloading this several times and I get
>the same answer.  I have given mysql a password and
>still am having problems.
>
>Any suggestions?
>  
>

Jennifer -

If you are going to use php and mysql together you also need the package 
php-mysql and maybe mysql-server

Also I would also consider restarting apache.  If you added those 
modules I *think* it has to be restarted in order to see them (service 
httpd restart)

Lastly, look at the permissions on the file.  If the file isn't readable 
by the world (or your apache account), you will get the same message too.

Scott




More information about the K12OSN mailing list