shorttags and phtml-files

Problems with the Windows version of XAMPP, questions, comments, and anything related.

shorttags and phtml-files

Postby askbar » 17. February 2010 10:14

Just to inform you,
  • phtml-files are not parsed as php-files by defaul with the lates version of XAMPP (at least not on mine). Find the httpd-xampp.conf in the apache/conf/extra directive and add "AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt" after the "LoadModule php5_module modules/php5apache2_2.dll". Restart Apache and phtml-files should be barsed as well.
  • php-short tags are default turned off (<? $do_some_php_stuff ?>), if you need them you can find the setting "short_open_tag" in the php.ini file
Ask at
billige tilbud, finder du på
Posts: 1
Joined: 17. February 2010 09:29

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 79 guests