Php dont have permisson to access

megatron

Verified User
Joined
May 31, 2011
Messages
18
Hello all

None of the domain can run php file in direct admin , All get this error " You don't have permission to access "

But when I checked the vps I found this

[root@node8 ~]# php -v
PHP 5.2.17 (cli) (built: May 21 2011 19:45:02)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies


Let me know what is possible solution for this.
 
what OS

What OS

I had a ton of permission issues with ubuntu server ... I have been using CentOS ... I would ask the DA support guys ... they could probably tell you right away :)
 
I mean to say that when I check in my root , Php is running as I posted first. But whenever we put php file in any domain , then it shows "You don't have permission to access "
eg. domain.com/phpinfo.php

then it is not running. Even PHP access is ON in Direct Admin .

I'm very curiously, what you mean by



??? How can it be? And what is there in logs?
 
So, you should read apache logs then and learn details on why you've got the error.

p.s. Hire somebody from the forums, if you don't know hot how to work with logs.
 
Back
Top