internal server error after changing file permission

mr-cracker

Verified User
Joined
Sep 17, 2009
Messages
54
Hello,
i'm moving to a new server, so after moving files and db i run command because php commands like fopen and fwrite doesn't work with default settings of directadmin.

at /home/admin i run chown -R apache:apache domains

setting owner to apache so php runs properly, but since doing that i'm receiving

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


how can i fix this please,
 
Cause you did gave wrong permission...

owner must be the username, not apache.

Directadmin doenst block fopen fwrite, check php.ini

Regards
 
i didn't say block it, i said it didn't work

setting it to chown -R admin:admin domains gives Forbidden error

can you advise regarding this please
 
Now please check to see what it changed permissions to, and let us know :) so the thread is complete.

Jeff
 
Back
Top