php - Operation not permitted - unlink on local machine -


im trying unlink folder on local version of site.

i error:

operation not permitted 

any ideas how can unlink work on local machine? im using mamp.

see documentation:

unlink — deletes file

and

see also: rmdir() - removes directory

you have directory. need use rmdir, not unlink.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -