How to disable "detect_unicode" setting from php.ini? (trying to install Composer) -


i've been trying install composer on machine (os x 10.6) no success far.

as per composer docs, executed in terminal:

curl -s http://getcomposer.org/installer | php#!/usr/bin/env php

and output:

the detect_unicode setting must disabled. add following end of php.ini: detect_unicode = off

of course, in php.ini: detect_unicode = off, located @ /etc/php.ini.default

php -info tells me php.ini file being loaded /etc/ (output is: configuration file (php.ini) path => /etc)

but, outputs: detect_unicode => on => on

why php.ini.default not loading settings , how disable effecively detect_unicode?

most no ini file @ being loaded, don't know if /etc/php.ini.default seen or not php. same said in can't set/find detect_unicode off - should run php -i | grep ini , check file loaded, edit it. if none loaded, make sure put php.ini file configuration file path value, in case /etc/php.ini seems.


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -