i need to create a symbolic link within my php code i tried to do it but it gives me a error with permissions

is there a way to create them under root or something. and then change back to my web user?