403 Forbidden error error when using Duplicator plugin to migrate website to Cyberpanel

I tried to migrate my website from the old server to Cyberpanel by using Duplicator plugin. After I transfer installer.php and zip file to public_html, I cannot install it and it shows 403 Forbidden error. I tried to change permission to 777, but it does not work. How can I fix it?

Server OS version: Ubuntu 22.04
Cyber Panel version:
Current Version: 2.3
Build: 4
Current Commit: c8da443334b8815ec250a0fba606e75355f641cd
Latest Version: 2.3
Latest Build: 4
Latest Commit: c8da443334b8815ec250a0fba606e75355f641cd


I fixed it by changing PHP version from 8.2 to 8.1.