Kinder Cappy Kinder Cappy - 1 year ago 59
PHP Question

Php file not found on Windows hosting

Windows hosting on godaddy. I have 4 pages, main page is Index.html and the rest 3 are .php pages. When I upload the Index.php file the site doesn't work, but when I and replace the Index.php file with Index.html. The site works perfectly. What is the problem with the Index.php file?

Answer Source

php is extention start with


just make new file as sample.php and type this code as sample than test

<!DOCTYPE html>

<h1>My first PHP page</h1>

echo "Hello World!";


and check is it working or not if its working so you are doing wrong with your pages

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download