adrianol Posted November 13, 2020 Share Posted November 13, 2020 Hi I can't run php in a html file on johhny. What do I need to do? Link to comment Share on other sites More sharing options...
maicol07 Posted November 13, 2020 Share Posted November 13, 2020 @adrianol you can't execute PHP code in an HTML file.You need to change the file extension from .html to .phpThen you can write HTML code with PHP code Link to comment Share on other sites More sharing options...
wolstech Posted November 13, 2020 Share Posted November 13, 2020 It is possible to add a handler to make HTML files process as PHP, but the typical recommendation is to do what maicol07 said and change the extension to .php Link to comment Share on other sites More sharing options...
Recommended Posts