"Connection refused by localhost..." but why?
I was trying a simple php script for learning myself. The file was created in vi editor and the filename is 'hello.php'. The file is saved in /home/mydir directory. The script is as follows :
Code:
html> Please help me with your opinion what is the mistake I am doing. Regards |
The only way you would be able to access the file like that would be if you were running a web server on your machine and /home/mydir was the default directory for the web server.
|
Actually I am not able to httpd on. Is the problem generating from this? If I want to turn on httpd service then I am getting an error message
Quote:
|
All times are GMT -5. The time now is 01:58 AM. |