Search

Language:  
Search for:

Available article translations:

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

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



f4c89357a6ff7298f273cb70f9d95452 56797cefb1efc9130f7c48a7d1db0f0c c81e59b61af9dca603ba03b14aabe968 42844a8183c58f5bd71c7d59929707e6 e26cd5a43fdb23cb2c65dd477ab20f95

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0
- 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