# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
The user and the group of httpd are “daemon”. Now in a terminal type the following command:
chown -R daemon:daemon /path/to/htdocs/directory
Sometimes this command must be executed after type
Now Gii can write files into protected folder with chmod 775 permissions