I've uploaded laravel 4 app to hostgator and have problems with mkdir() function, it doesn't allow me to create folders even native laravel classes such us File throw an error because File.php also uses mkdir() , I tryed to have parent directory 777 , however it doesn't solve the problem, still 'Permission denied', how do I solve the problem? or maybe there are other good hostings? where I'll not have this error
You php apache user may be different try change owner to the directory to php apache user.
For laravel app directory permisssions
Directories should be 755
Files should be 644
storage & bootstrap/cache 777
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.