AH00035: access to /index.php denied

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
jamest
Posts: 0
Joined: Thu Mar 31, 2016 8:19 am

AH00035: access to /index.php denied

Post by jamest »

Hi,

I was trying to setup wordpress on my server. I installed LAMP and then installed wordpress. But I am not able to load index page on my browser. Browser shows that it is a permission issue. Below pasted is the error that I am getting.

AH00035: access to /index.php denied (filesystem path '/var/www/html/index.php') because search permissions are missing on a component of the path

The permissions I gave is apache:nobody for www/html/ and 644 to index.php. Still I am getting permission error. Could you find me a solution to this?


sachin
Posts: 0
Joined: Thu Mar 31, 2016 8:33 am

Re: AH00035: access to /index.php denied

Post by sachin »

The issue that you are facing might be due to selinux.

Try the following commands

#getenforce

If it is in Enforcing mode, then

#setenforce 0

Restart httpd service (#service httpd restart)

This might fix your issue.


jamest
Posts: 0
Joined: Thu Mar 31, 2016 8:19 am

Re: AH00035: access to /index.php denied

Post by jamest »

Hi Sachin,

It worked for me. Thank you so much.


If you are looking for assistance in server management, please get in touch with our support.
Post Reply