error with file info.php

xlinux

Verified User
Joined
May 4, 2012
Messages
72
hi i am new error . i hope everyone will help me

i just used info.php to view all info . i create file info.php into rootdocument domain

i type firefox domain/info.php

but i see error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
 
zEitEr said:
Hello,

What you see with

Code:

ls -la info.php

?

what path you want me ls -la . i create file info.php in rootdocument of domain

as: /usr/local/directadmin/data/users/user1/httpd.conf
 
what path you want me ls -la . i create file info.php in rootdocument of domain

as: /usr/local/directadmin/data/users/user1/httpd.conf

this is your result

-rw-r--r-- 1 root root 21 May 11 15:43 info.php
 
So try to

Code:
chown user1:user1 info.php

If you are using a suPHP all PHP scripts should be owned by users, not root.
 
Back
Top