php - Filesystem mkdir Failed to create "/client/" symfony -
bonjour,
i using mkdir function of filesystem bundle. need create folder each client add 777 permission symfony folders
chmod -r 777 /symfony/path/
but thrown exception "/client/" , "/client"
have missed something?
my controller easy
private function addfolder () { $fs = new filesystem(); $fs->mkdir('/client/'); return; }
it's running on macosx
thanks support
this because trying create client
directory in root folder - should not using /
@ beginning of path since means path specification starts @ root.
just replace /client/
client/
, should
Comments
Post a Comment