0

I am a rookie in PHP , i got an error 500 Internal Server Error when i test a POST .

I try to find out what's the issue happen and i find the answer that may be is permissions .

So i try to use chmod function ,i don't know it's correct or wrong , because i still got the error 500 Internal error.

Any one can teach me how to set the function correct ? Any help would be appreciated , thanks in advance.

Here is my structure: enter image description here

i use the code like this , is this correct ?

chmod('../v1/index.php', 0644);
Morton
  • 5,380
  • 18
  • 63
  • 118

0 Answers0