Question: |
Good evening!another problem:in the domain (in a folder) public_html/topearning.space I created the file .htaccess and put into it 2 line to run PHP instructions in hypertext markup language files according to the recommendations found in the Internet:RemoveHandler .html .htmAddType application/x-httpd-php .php .phtml .html .htmно they don`t work. Also tried with only the 2nd line is also not working.And here are the questions:1) is correctly written commands in this file?2) if it is correct - why do not work?to check used this: |
Answer: |
Hello http://www.ukrline.com.ua/faq.php Tell me how to make html files be processed as php? Code in .htaccess add the line AddHandler application/x-httpd-php .htm .html
AddHandler application/x-httpd-php5 .htm .html (depends on server settings) |
Question: |
Thanks , used the 1st string, but it`s still not working |
Answer: |
specify only the AddHandler application/x-httpd-php5 .htm .html |
Question: |
pointed out, again it didn`t work :(to check a separate file info.htm in which: - the opening combination of symbols file PHP - then only the phpinfo function with parentheses :) and the semicolon at the end - the end the combination of singalovada everything I write because in my previous post PHP code rubbed :) |
Answer: |
code RemoveHandler .html .htm AddType application/x-httpd-php .php .phtml .html .htm should not |
Question: |
Yes, I removed it |
Answer: |
which site can you see the problem? |
Question: |
http://topearning.space/info.htm |
Answer: |
the request sent to the administrator. |
Question: |
Thank you! |
Question: |
Well? |
Answer: |
the problem is still not solved, on the server updated the version of apache and php ? the old way does not work |
Question: |
clear.waiting good news :) |
Question: |
I saw that in the hypertext markup language the page is already working PHP code.Thank you! |
Answer: |
ok
|