WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
<?= ?> does not work
Posted by:
mashka10
(---.dyn.columbia.edu)
Date: October 10, 2012 11:19PM
Works fine on MAMP and other web-servers. WAMP ignores it. Why? I installed the version with PHP 5.4.3.
Options:
Reply
•
Quote
Re: <?= ?> does not work
Posted by:
RiggsFolly
(---.ppp.as43234.net)
Date: October 11, 2012 01:24AM
Wamps default install has short_open_tag = Off
edit the php ini file and change it to
short_open_tag = On
To edit the ini file use
left click on wampmanager -> PHP -> php.ini
there is more than one php.ini to allow for php and apache version swapping. Use this to ensure you get the right file.
Options:
Reply
•
Quote
Re: <?= ?> does not work
Posted by:
mashka10
(---.beren.guest.wireless.yu.edu)
Date: October 11, 2012 07:58PM
Thanks! Never thought of it being disabled!
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login