Welcome to the Linux Foundation Forum!

still trying for php

I'm still trying to get php to run on my computer. Have installed mysql, httpd, php.

Both browsers say they cannot open localhost. Does that provide a clue?

One person said I had to move to another computer on the network to open the scripts. Is it correct that I cannot open them on the computer it is set up on?

Comments

  • Posts: 647
    Hard to help if you don't provide configuration.

    The most probable reason that it doesn't work is that your httpd is not listening in the "localhost interface (lo)". Use something like:
    1. Listen *:80

    To listen in all your interfaces (NOTE: security risk)

    Regards
  • Posts: 2,177
    You can also use the netstat command to check and see if the desired port is open with the command "netstat -l"

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training