Error 503 - Localhost

Asked

Viewed 73 times

0

I just formatted my laptop. I installed the Ubuntu 18.04, Apache, Mysql and PHP. But when entering the page localhost, I get the following error:

https://i.stack.imgur.com/9Gjfc.png

How can I fix this?

  • What contents of the file index.php? What errors recorded in PHP and Apache logs?

1 answer

-1

I guess you don’t have the Apache initiated. Try this:

# Para ver se o tens o Apache iniciado:
sudo /etc/init.d/apache2 status

# Para iniciar o Apache:
sudo /etc/init.d/apache2 start

Maybe you have to do the same with the Mysql.

  • Still the same thing, the apache is incited but keeps giving the same error

Browser other questions tagged

You are not signed in. Login or sign up in order to post.