Search

Language:  
Search for:

Available article translations:

[HOWTO] How to process files with .html extension through PHP (Windows)

Article ID: 115774, created on Mar 21, 2013, last review on May 10, 2014

APPLIES TO:
  • Plesk 11.x for Windows
  • Plesk 10.x for Windows

Answer

1. Open IIS Manager, go to site properties, and open Handler Mappings.
 
2. Find existing PHP mappings for PHP:



3. Open the phtml handler and copy the path to Executable:



4. Create a new module mapping, choose the module appropriate for PHP execution mode (IsapiModule if PHP is running through ISAPI, FastCgiModule if PHP is running as a FastCGI application, or CgiModule if PHP is running as a CGI application), put *.html into the request path, and define a name for the handler mapping (e.g., PHP5-ISAPI-html). In Request Restrictions, enable Invoke handler only if request is mapped to file or folder:



5. Apply settings: Click on "OK" twice and then choose Yes when IIS manager asks whether the module should be enabled.

Instructions on how to set up the Apache web server to process HTML files with PHP can be found in KB article #115773.



bd7fc88cf1b01f097749ae6f87272128 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 c796c01d6951fa24ed54c7f1111667c6

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification