Catalina

Mac OS Catalina apache does not read my User files

do you have this error message and you did not find any solution to solve it 


Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/Users/{user name}/Documents/{your index.php path} (include_path='.:') in Unknown on line 0

 

Please follow the below steps 

1- Open "System Preferences"

2- Find "Security and Privacy"