PHP mkdir() permissions

前端 未结 4 2018
北海茫月
北海茫月 2021-01-04 23:00

I have a Linux server with appache as the web server. In my PHP script I am making directories with 0777 mode. the code is pretty simple as follows:

<         


        
4条回答
  •  迷失自我
    2021-01-04 23:13

    You can try:

    chmod ( string $filename , int $mode )
    

    See if that can fix the permissions issue.

提交回复
热议问题