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

  • marc
    marc 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:
    Listen *:80
    

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

    Regards
  • mfillpot
    mfillpot 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"

Categories

Upcoming Training