Find all files with the extensions .php or .sh in the current working directory and its subdirectories, and give them executable permissions.
find $(pwd) -maxdepth 2 -type f \( -name "*.php" -o -name "*.sh" \) -exec chmod a+x {} +