I assume you are trying to use php inside .html file?
Try adding .htaccess file or changing apache config with the following line:
AddHandler application/x-httpd-php .html
More Related Contents:
- Why am I Facing with this problem when run symfony? [closed]
- How to run deprecated php codes on the latest XAMPP [duplicate]
- How to configure XAMPP to send mail from localhost?
- PHP – SSL certificate error: unable to get local issuer certificate
- How to enable cURL in PHP / XAMPP
- Make XAMPP / Apache serve file outside of htdocs folder [closed]
- Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?
- Where does PHP’s error log reside in XAMPP?
- How to locate the php.ini file (xampp)
- Maximum execution time in phpMyadmin
- how to create virtual host on XAMPP [duplicate]
- Use php to set cron jobs in Windows
- Enabling the OpenSSL in XAMPP
- How to setup mail in XAMPP locally?
- How to enable curl in xampp? [duplicate]
- Class ‘COM’ not found
- MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
- Xampp Access Forbidden php
- UTF-8 encoded html pages show � (questions marks) instead of characters
- GMail fsockopen(): SSL operation failed error with Codeigniter and XAMPP
- How to connect sql server with php using xampp?
- Setting up SSL on a local xampp/apache server
- PHP on Windows with XAMPP running 100 times too slow
- access denied for user @ ‘localhost’ to database ” [closed]
- how to configuring a xampp web server for different root directory
- mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it
- PHP not working in XAMPP
- using mod_rewrite with XAMPP and windows 7 – 64 bit?
- Xdebug V3 doesn’t stop breakpoints in VSCode
- Running ImageMagick on XAMPP 1.8.3 with Windows 7