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

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -