PHP errors in a new MAMP -


i download absolutely new, last version of mamp 3.5.

i go phpinfo , says php version 7.0.0 , configuration file (php.ini) path is: /applications/mamp/bin/php/php7.0.0/conf.

i go php.ini in path , change errors on: display_errors = on. check that: error_reporting = e_all.

i stop servers , start servers. reload page in browser. check phpinfo , display_errors on.

i not see errors.

i have checked solutions in web, name few: mamp config help, display php errors
why mamp doesn't display errors? how display errors on mamp?

i tried , not see php errors. else can do?

preface php code this. force error display.

ini_set('display_errors', 'on'); error_reporting(e_all); 

also check .ini files in following locations:

applications/mamp/bin/php/(php version)/conf/php.ini

applications/mamp/conf/php/(php version)/conf/php.ini

they should both set for:

display_errors = on 

edit: should clarify this, may point of confusion: should restart mamp server when changes complete.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -