mkdir()
is in your PHP installation and is working; the error actually shows that you’re trying to create a directory inside a directory that doesn’t exist.
You may need to pass true
as the third parameter to make it work recursively, i.e. mkdir($path, 0777, true)
1
solved PHP doesn’t recognize mkdir