Home Linux Community Forums Software Desktop still trying for php

still trying for php

Link to this post 09 Jan 12

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?

Link to this post 09 Jan 12

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)


Link to this post 15 Jan 12

You can also use the netstat command to check and see if the desired port is open with the command "netstat -l"

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board