apache - PHP-Warning: mkdir() [function.mkdir]: Permission denied in Mac -


i tried search in google , solution found changing httpd.conf user _www own login name restart apache didn't work.. did in terminal. change group _www nobody ... didn't work also.

could me this. in advance.

the problem isn't httpd.conf file directory in want create new directory. make sure user under php executed has right create directory there. find out user (maybe _www mentioned that) can use phpinfo() command.

this how (default ubuntu configuration) phpinfo looks like:

configuration -> apache2handler -> user/group: www-data(33)/33

meaning want change owner or group of said folder www-data (or whatever suits) , give owner or group write permissions


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -