Home > Backend Development > PHP Tutorial > mac下自带的apache的php配置在哪里?

mac下自带的apache的php配置在哪里?

WBOY
Release: 2016-06-06 20:26:28
Original
1708 people have browsed it

我在etc目录下只找到php.ini.default。。但应该是php.ini文件吧?

在问题显示出来之前,其实已经找到了相关的文章,解决的方案是:

<code>sudo cp /etc/php.ini.default /etc/php.ini
sudo chmod u+w /etc/php.ini</code>
Copy after login
Copy after login

它会帮我生成php.ini文件,然后生成之后,对它进行处理即可。

回复内容:

我在etc目录下只找到php.ini.default。。但应该是php.ini文件吧?

在问题显示出来之前,其实已经找到了相关的文章,解决的方案是:

<code>sudo cp /etc/php.ini.default /etc/php.ini
sudo chmod u+w /etc/php.ini</code>
Copy after login
Copy after login

它会帮我生成php.ini文件,然后生成之后,对它进行处理即可。

通过phpinfo()php --ini查看

MAMP,带沙盒的php+Apache +MySQL

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template