I have saved my view file in netbeans IDE as .phtml. File has both php scripting and HTML5 within it.
Through WAMP, when i try to open, only the coding is displayed..
Could anyone help please??
Thanks in advance…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try creating a .htaccess file with the following content
If it works, you know your Server is not configured to run phtml as php by default.
Might also try
php5-scriptinstead ofx-httpd-php5