problem opening a file

Discussion in 'PHP' started by varul, May 2, 2008.

  1. #1
    Hi everybody here,
    I have the problem that the following information given below get displayed when I try to access a file using fopen.I am using LAMP configuration. How do i get permission to access the file?
    Help me out...

    Warning: fopen: failed to open stream: Permission denied


    Any rely regarding this issue would be greatly appriciated...
     
    varul, May 2, 2008 IP
  2. lanmonkey

    lanmonkey Active Member

    Messages:
    549
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #2
    you on windows or linux?
     
    lanmonkey, May 2, 2008 IP
  3. suraj4u

    suraj4u Well-Known Member

    Messages:
    514
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    120
    #3
    He said LAMP (Linux, Apache, MySQL, PHP)

    So U have to change the chmod to write (full permission 777)
     
    suraj4u, May 2, 2008 IP