Home >Backend Development >PHP Tutorial >Lion system /usr/bin/php default php.ini_PHP tutorial

Lion system /usr/bin/php default php.ini_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 14:58:27817browse

Today, a command line php program encountered an error date e(); time zone setting problem. You need to set the default time zone through php.ini

OSX system, command line php, does not enable php.ini. You need to create one yourself

sudo cp /private/etc/php.ini.default /private/etc/php.ini

Source of this article: http://www.iamued.com/development/php/2053.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/363863.htmlTechArticleToday, a command line php program encountered an error dat e(); the time zone setting problem requires php. ini to set the default time zone OSX system, command line php, and php.ini is not enabled. You need to customize it...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn