Possible solutions of your questions

  hosting
<< Previous       processing php code in html pages

Question: How to enable php processing code in html pages ? Default is off. Edit in .htaccess , namely adding AddType application/x-httpd-php .php .htm .html offers only to save the page as a file. You probably are using fastcgi there it is enabled differently. Give an example of how to solve the Ukraine.com.ua << This situation occurs when you are trying to override the files processed PHP in the file .htaccess: RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .htmlЭту design can be used only in the case when PHP is running in mod_php mode. On our servers PHP runs in a different mode - fastcgi, so to override the handlers also need to be different.How to fix. In order to further processed PHP files with the html extension: for this in control panel in the section \"Hosting - My sites - site Settings\" enter in the PHP file html extension and save the settings. After that in the file .htaccess remove all rows that contains \"AddType\" and \"RemoveHandler\". Within 15 minutes the changes will take effect.>>
Answer:

Hello. on our servers mode mod_lsapi

specify .htaccess

AddHandler application/x-httpd-ea-php56 .html .htm

Question: OK. Already finished writing. Not yet processed. Understand about 15-20 minutes we have to wait ?
Question: I does did .htaccess of the root FTP
Answer:

no. should rabotti immediately. .haccess should be in the site root

Question: Added .htaccess in the site root. Not working. ( In .htaccess the only line - AddHandler application/x-httpd-ea-php56 .html .htm
Question: On the website you will see a text that in php index.html. When running on the local server it is not. Only html
Answer:

the problem is checked

Question: Ok
Question: Launched on the local server with the same .haccess same is not working. But this does not mean anything. We have different Apache
Answer:

on the local server you will not have to work, you do not  mod_lsapi and not cpanel

the request is sent to developers

Answer:

http://i-home.com.ua/test.html

the code in .htaccess

AddHandler application/x-httpd-lsphp .html .htm

 

Question: All OK. Works ! Thank you !!! test.html - delete
Answer:

Thank you, that appealed to customer support.


<< Previous