Problem with PHP file

The PHP file is having

<img src="/home/huamin/Downloads/emu_wild_animal_bird.jpg" alt="picture description here">

And this file now exists on both




But I get this problem

when going to these


within the browser.
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
The 'img' has nothing to do with the 'Unable to Connect' error.  Firefox is telling you that it can't find a server at those addresses.  I don't usually have my web sites running at 'localhost'.  Maybe it should be a different address?  What do you get at "http://localhost/" without the 'info3.php'?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
This is not a PHP problem.  Here is my recommendation (this is what I do, and it works well for me).

Get a hosting account at a reputable hosting company.  You can find one by looking at the PHP "thanks to" web page.  These are companies that support the open-source community.  Pair and Rackspace come to mind.  Dreamhost and LiquidWeb are good.   I use and am pleased to recommend ChiHost.  I've had good experiences with HostGator.

When you get your hosting account, have them register your domain name and point it to your web hosting account.  The hosting company will have directions for you, showing how to use FTP or similar to publish your scripts on your web site.

When you build and publish web documents, put them on your site with a URL that allows access over the internet.  This is the "real world" of web publishing.  It costs only pennies a day, and it puts your work squarely in the mainstream.

Consider writing a blog to document your experiences as you do this.  WordPress is a good blogging tool (they also offer web site hosting).

If you have not already done so, look for others in your community who publish on the WWW.  There may be user groups you can join, or college courses you can take that teach the technologies.  Your first steps would be to learn HTML5, CSS3 and JavaScript.  You may want to learn something of jQuery, Node.JS and AngularJS.  Once you have some mastery of those, move up to PHP and databases.  This will take a few years, and there is a lot to learn, but the results will be most gratifying.
HuaMin ChenProblem resolverAuthor Commented:
Hi Dave,

I also got the same problem to go to

Dave BaldwinFixer of ProblemsCommented:
Then you probably do not have Apache installed on that system.
HuaMin ChenProblem resolverAuthor Commented:
Can you please advise which Apache I should set up to CentOS 6.5?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.