Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to edit php.ini file

Hi All,


I am installing osTicket on my Mac Mini Server running 10.6.8.


I need to enable short_open_tag. I believe I need to make a change to the php.ini file.


I have tried to open it through terminal through the following comands:


  1. cd /etc
  2. sudo nano php.ini

got the error message Error opening terminal: xterm-256color.


so then I tried

  1. cd /etc
  2. sudo pico php.ini

and got the same error message.


My Question is, to enable short_open_tag, do I need to edit the php.ini file or not. If I do, how? If not, how to I enable short_open_tag?


Thanks in advance

Mac mini, Mac OS X (10.6.8)

Posted on Jun 17, 2012 7:20 PM

Reply
1 reply

Jun 17, 2012 9:53 PM in response to khkewsupport

The xterm-256 error is a problem with the terminal window itself. I'm not sure about the php.ini edits you want to do, but to fix the xterm error...

Open up terminal.

In the terminal menu, choose preferences.

Click the settings button at the top.

Click the advanced tab on the right.

Change xterm-256 color to xterm-color.


Quit terminal and re-open it.

That should fix your problem.

HTH

-Graham

How to edit php.ini file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.