issues with apache and "<?" vs "<?php"
Posted by: bugmenot (---.hsd1.ca.comcast.net)
Date: October 15, 2006 09:51PM

Guys I just installed wamp's latest version and it is amazing.

I am having one problem though. I installed a third party package that has php files with first line as
<?
as opposed to
<?php

and somehow wamp-apache fails to recognize it as php and shows me the source code. I tried to change first line to <?php and it works just fine. I am not able to find the root cause of this, from what I understand if the file extension is .php (which it is) apache should be able to execute it.

Any tips?
Thanks


Options: ReplyQuote
Re: issues with apache and "
Posted by: yfastud (---.cable.mindspring.com)
Date: October 16, 2006 01:28AM

Enable short_open_tag in php.ini in wamp/php

Hope this help

Options: ReplyQuote
Re: issues with apache and "
Posted by: bugmenot (---.hsd1.ca.comcast.net)
Date: October 16, 2006 01:45AM

Thanks that helped

Options: ReplyQuote


Sorry, only registered users may post in this forum.