Home > php教程 > php手册 > Lion系统 /usr/bin/php 默认php.ini

Lion系统 /usr/bin/php 默认php.ini

WBOY
Release: 2016-06-13 11:40:48
Original
792 people have browsed it

今天一个命令行php程序,运行出现错误 dat e();时区设置的问题,需要通过php.ini来设置默认时区

OSX系统,命令行php,并没有启用php.ini 需要自己创建一个

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

本文来源:http://www.iamued.com/development/php/2053.html

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template