Php echo not working in phtml templates

Recommended Answers

All 3 Replies

any help? test

did you AddHandler php-cgi .phtml ... ?

do as suggested above and then maybe you want to experiment something like this...

if you know where to find httpd.conf on your server, then you can add .phtml into your directory index directives like so

DirectoryIndex index.php index.phtml index.html index.htm index.cgi

by default php can parse .inc, .tpl, php3 and phtml. I am wondering why your server couldn't do the .phtml file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.