InMotion Hosting Support Center

failed to add apache handler

Category: Cpanel

InMotionFans
n/a Points
Asked:
2016-07-17 10:53 am EST

Hits: 72
failed to add apache handler on cpanel.
i put this AddHandler application/x-httpd-php .html .htm on the .htaccess file but the file with .html extension cannot read the script inside <? .... ?>

thanks,
Hans

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

scott
Staff
43,761 Points
2016-07-18 1:34 pm EST
Hello Hans,

Thank you for your question on adding an apache handler so that html can read php code. You may want to try the code below. It is slightly different but should work for you:
AddHandler application/x-httpd-php5 .html .htm

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!