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

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -