You can easily figure out if the problem is with PHP or the entire server configuration by accessing a static file. So, I did that on your site: https://acianf.com.br/media/com_admin/js/admin-help.js. I still get a 504. Since no PHP is involved, this means a server configuration issue.
You could always delete the .htaccess file and see if you get any progress. If you do, something in your .htaccess is causing a problem and your web server hang instead of sending out an error page. Otherwise, the problem is in the configuration of the server itself.
Typically, I would expect to see that if there was a reverse proxy in front of the web server software e.g. NginX acting as a reverse proxy for Apache. If the backend web server process was terminated it would result in a 504 from the reverse proxy. If they are communicating over a pipe and the pipe's broken, same deal. So, why don't you try restarting the whole server to see if it's something that simple?
That's as far as I can go. I have never performed systems administration at a low level on a cPanel/WHM host; that's something I am only using as a client of a different hosting provider. If I get an error like that, I reach out to them. In this case, you are the host, so you get to figure out what is going on. Sorry. That's the downside of being your own host: you have to have the knowledge and time to do systems administration for the server software stack you chose.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!