Run php code inside html files on centos7

General support questions
Post Reply
ag171141
Posts: 1
Joined: 2018/10/04 13:13:43

Run php code inside html files on centos7

Post by ag171141 » 2018/10/04 13:17:52

Hello,

How i can run php code inside htlm file on centos7 on a vps.
I've try with a .htaccess on /var/www/html but is not working.
This is the code:

Code: Select all

AddHandler application/x-httpd-php5 .html .php .htm

Post Reply