Jump to content

Xamaa

Members
  • Content count

    1
  • Joined

  • Last visited

  1. I have a local server for development purpose which runs Wampserver 3.2.3, Apache 2.4.46 and php 5.6.40. I recently decided to copy my production site down to local server to be certain that the two are totally synchronized. All went reasonably well, but I have run into one issue. When I try to view files located in my store (osCommerce 2.3.4) the browser treats it as a download rather than web page to be rendered. Firefox, Chrome and Edge all seem to handle it the same way. Other web pages outside the scope of the store all perform normally. The store files render properly on the production server. It smells like a configuration issue but I don't know where to go with it. OsCommerce includes an .htaccess file which has this line: "AddHandler application/x-httpd-php56 .php .php5 .php4 .php3". Taking it out has no effect. Either way, Firefox displays the unformatted script and downloads the file. I notice Firefox is reporting its type as x-httpd-php. I have tinkered with the local htaccess file and the Apache config file but no luck. Any ideas?
×