简体   繁体   中英

display_errors remains off (php.ini)

I'm currently running MAMP Pro on OSX 10.9.2.

I'm running PHP 5.3.6.

I've tried to set display_errors = On in the php.ini file but phpinfo() keeps showing it as Off. I looked for possible answers but what I found repeatedly was people mentioning there was a second display_errors line further down which was setting the value back to Off. This is not my case, I don't have that second line in my php.ini file.

The file I'm modifying is /Applications/MAMP/bin/php/php5.3.6/conf .

I hope someone can help me with this.

You can disable or enable error message in MAMP Pro UI Interface. You can follow this documentation of MAMP: http://documentation.mamp.info/en/mamp-pro/server/php and this SO Answer: https://stackoverflow.com/a/19951357/817365

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM