CrazyEngineers
  • Failed to open a file in PHP

    karthie

    Member

    Updated: Oct 25, 2024
    Views: 951
    Hi friends,

    While trying to open a file, Im getting this error "failed to open stream: Permission denied" in php even i set 777 permission to file and php safe mode OFF, this happens in online host. Do you have any idea..
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • hardtarget

    MemberMar 5, 2010

    karthie
    Hi friends,

    While trying to open a file, Im getting this error "failed to open stream: Permission denied" in php even i set 777 permission to file and php safe mode OFF, this happens in online host. Do you have any idea..
    The uploads directory must have write permission for whatever user account the web server is running under,

    it seems you have provided 777 permission for the uploading via FTP, though it fails with permission denied error,

    Then you must need to contact the host company, to have the write permission for the root directory, This will fix permission deny problem, ofcourse i hope so...
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register