# PHP Page Trying To Open As Application/File?

**URL:** <https://forum.kirupa.com/t/php-page-trying-to-open-as-application-file/326230>\
**Category:** programming\
**Created:** [November 30, 2011, 6:14pm UTC](https://forum.kirupa.com/t/php-page-trying-to-open-as-application-file/326230 "2011-11-30T18:14:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hrl2k](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hrl2k](https://forum.kirupa.com/u/Hrl2k)\
**Post date:** [November 30, 2011, 6:14pm UTC](https://forum.kirupa.com/t/php-page-trying-to-open-as-application-file/326230/1 "2011-11-30T18:14:18Z")

</div>

I’m having an issue that my php-coder friend isn’t even sure the answer to so I’ve been told you guys are a big help. I’m about to use an old template to make a much broader site for my employers restaurant. This is the very simple layout that it’s going to be based off of, and the entire site works very well:

[http://www.hurleyhafen.com/new/](http://www.hurleyhafen.com/new/).

So I tried moving the website, as is, to a new server. I renamed what needed to be renamed in the header.php… This is where the [[COLOR=darkgreen]new[/COLOR][COLOR=darkgreen] [/COLOR][COLOR=darkgreen]site[/COLOR]](http://www.phpbuilder.com/board/showthread.php?p=10992017#) will be.

[http://garibaldisrestaurant.com/new](http://garibaldisrestaurant.com/new)

Why would it try to open as an application? It’s the exact same .php file with a couple of non-major changes. I looked all through the code and there is nothing out of the ordinary to my amateur eyes.

Here’s the [[COLOR=darkgreen]header[/COLOR] with the correct full-path changed: http://garibaldisrestaurant.com/new/header.php](http://www.phpbuilder.com/board/showthread.php?p=10992017#)

Trying to think of what else might be affecting it.  
I think it probably will be a [[COLOR=darkgreen]server[/COLOR]](http://www.phpbuilder.com/board/showthread.php?p=10992017#) issue with our host right? If you tell me to do SSH/linux stuff, go slow cause I rarely run shell commands like that ![](http://www.phpbuilder.com/board/images/smilies/smile.gif)

Thanks to anyone who knows, Im sure its a minor issue!
