Hey guys,

I apologize for such a beginner question, but here goes:

I'm trying to run PHP on my Network Solutions hosted Apache server, however when I type the URL of a php file, the browser attempts to download it instead of read and display it. I signed up with NS under the impression that I was getting PHP included. When I checked my Account Summery it states that PHP is "available".

My issue is, over the past 2 weeks I had to screw around with htaccess a bit to get SSI functioning. I'm wondering if somewhere along the lines I deleted a line of text that would have enabled PHP in htaccess. I did some research and threw a bunch of different lines into my htaccess file, which now looks like a complete mess I'm sure.

Would you be able to check my htaccess file and make sure that there isn't anything else that I can do on my end to get PHP enabled? I have a ticket in with Network Solutions but they aren't exactly A-Class customer service.

AddType text/html .shtml .html .htm
AddHandler server-parsed .shtml .html .htm
AddType x-mapp-php5 .php
AddHandler application/x-php .html .htm
AddHandler x-httpd-php5 .php .htm .html
Options Indexes FollowSymLinks Includes

Thank you.

    If you are hosting 3rd party like network solutions, you have to ask them to move you onto, or (install/activate) php on your package. Unless your doing a dedicated hosting package where you can install yourself, the file is downloading because apache isnt recognizing PHP and thats something they have to instlal on the servers

      Write a Reply...