Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

SilverStripe Help:


Reply

3 Posts   1611 Views

Avatar
Uncle Davey

18 May 2007 at 4:09pm Community Member, 10 Posts

Hi team. I`ve just started with your tutorials and have the check-php.php up that says "Please set PHP option short_open_tag to true..." etc.

Do I need to edit the php.ini file? If so, how do I open this file in "Textmate" to ammend?

Thanks for your help. I`m pretty new to PHP. Cheers.

Avatar
Willr

18 May 2007 at 4:43pm Forum Moderator, 5511 Posts

yes you will have to edit php.ini. short_open_tags is about line 81 for me. You should just need to find this /php/php.ini file and open it in any text editor never used TextMate so cant provide instructions for that. Do a quick search for short_open_tag and change it to On and you should be sweet.

Avatar
Uncle Davey

18 May 2007 at 6:08pm Community Member, 10 Posts

Thanks for your help Willr.

Here is the solution for Mac users using Textmate to open the php.ini file for editing:

Type in "Terminal" mate /usr/local/php5/lib/php.ini

Line 128 (in the Textmate editor) short_open_tag = On

Thanks again.