Home > Article > Backend Development > mkdir(): Insufficient permissions when running php script in ubuntu?
In ubuntu, php does not have enough permissions to use mkdir(). My directory structure is as follows opt/lampp/htdocs/yunzhicms/thinkphp/library/think/template/driver/File.php
In ubuntu, php does not have enough permissions to use mkdir(). My directory structure is as follows opt/lampp/htdocs/yunzhicms/thinkphp/library/think/template/driver/File.php
chown -R your apache user/user group your website directory.