You don't have permission to access /index.php on this server
  • 2005/11/22 23:34

  • 2tunes

  • Just popping in

  • Posts: 5

  • Since: 2005/11/1


I installed Fedora3 which has PHP4.x and installed MySQL5. I then tested the apache server and found got it working. I then wrote a test php script <?phpinfo()?> (or something like that) that produced a php page with all the details confirming that php is working.

But when I go to the server to install I get

You don't have permission to access /index.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.0.52 (Fedora) Server at _default_ Port 80"

I've checked and rechecked permissions and changed owner several times but nothing I do seems to work. This server is on the intranet.

Beyond The Reach Of Satellite

Re: You don't have permission to access /index.php on this server
  • 2007/10/18 3:48

  • kazoink

  • Just popping in

  • Posts: 1

  • Since: 2007/10/18

I experienced the same problem when I attempted to install XOOPS on my Fedora box. I had initially used the mv command to move all the files from the htdocs directory in the XOOPS package to my server's document root. Attempting to access any of those files would result in an access denied error (even the css file).

The solution for me ended up being to copy the files (using cp) rather than move them. I can not offer any information as to why this would fix the issue as ownership and permissions are exactly the same as when the files were moved, but it seemed to be the solution for me.

Hope this helps.


Who's Online

50 user(s) are online (26 user(s) are browsing Support Forums)

Members: 0

Guests: 50



Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits