PHP file "saves as" rather than loads

Discussion in 'General Web Coding' started by david3rd, Feb 15, 2008.

  1. david3rd

    david3rd Perch

    A client is hosting their own server and we are trying to install the SunShop shopping cart ( We've installed this cart at Jodo in the past with no issues. But on this client's server we're having an odd problem.

    During the install process, it goes to a page called install2.php (not the first page of the process, so other .php pages load just fine). When you navigate to install2.php though, it tries to save the file itself, rather that load the file in the browser.

    It's a windows server with php5.

    Anybody know what may be causing this?

  2. Stephen

    Stephen US Operations Staff Member

    That is very odd, as IIS bases its "download or execute" instructions from the "web server extensions" and if it worked for one it shoudl work for all the php files. The only thing I can thinkis that maybe it is a zend or ioncube encoded file and it is kicking it back out? But even then it should display a message saying it is encoded.
  3. david3rd

    david3rd Perch


    On one computer FireFox spits out the following rather than trying to download the file:

    That link to zend goes nowhere.... but would that indicate a corruption in the file itself, or a corruption in the zend install? We have re-uploaded the file several times, even trying it in binary for kicks, but nothing works.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services