To run the application in localhost, make sure your php.ini file e following requirements.
Try changing the following info on the php.ini file
max_input_time 30000
memory_limit 512MB
post_max_size 512MB
upload_max_filesize 128MB
max_execution_time 30000
Also, make sure you are using an updated version of PHP, version 7.4 or higher.
In the command line type the following to check the current PHP version "PHP -v".