Search

Language:  
Search for:

Available article translations:

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

APPLIES TO:
  • Parallels Plesk Panel 11.x for Windows
  • Parallels Plesk Panel 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.



bbe0373935bc886984e30ddeb0b46919 56797cefb1efc9130f7c48a7d1db0f0c 49af2da0f2dd4c81e962790bbbd0c2b4 5fc602d72ea565f353b9320e2ef62a1b 04f1b0f9f311a40f2f06e7821a7faf9a

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 9 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification