Hallo to all web developers, I have a problem in load PHP in mozilla fire fox. . .I am using XAMPP web server. My PHP file is currently stored in this path C:\xampp\htdocs\test\index.php. Whenever I run my PHP in mozilla it won't display anything even just a simple "hello world."

<?php
echo "hello world";
?>

How am I going to configure my firefox? Do I have to change the network settings of my firefox? Please help me

Member Avatar for diafol

Nothing to do with firefox (I don't think). Try:

http:// localhost/test/index.php

If this doesn't work search for vhosts on this forum.

Member Avatar for diafol

Ah, I see. How about:

In the "Connection Settings" dialog of the Firefox preferences, there should be a field "No proxy for". Ensure that 'localhost' and 127.0.0.1 are entered here.

Otherwise, I don't know. Sorry.

I will try this, thank you so much for the advise. . .I hope this will work.

I found out the problem, the web browser is the problem. . .some files of my web browser are broken. . I re-install the web browser than BOM! it worked. . .=)

hello web developers, I have a problem with my Mozilla firefox. I am using xampp but whenever I try to open my file in php, it then start to open new browsing tags. and nothing will be displayed.

please is there a way I can configure my xampp or Mozilla Firefox?

Member Avatar for diafol

Start your own thread. Ensure apache is running

Try: http://localhost:8080 , if you chances port. if not.. put 80 instea of 8080. See if it works.
On chrome i didn't had to put port, but in firefox i had to put port and it showed up.

I dont know why, but works.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.