Here there is a good configuration for your PHP environment. It is a good checklist to use, for example, when you update MAMP.

Open your php.ini, located at /Applications/MAMP/bin/php/php5.6.10/conf/php.ini.
Keep attention to the version of PHP you are using with MAMP!

Then, find those lines and edit them:

Those are the base modifications you have to do to have a good development environment.

Maybe you want also activate some extensions and this requires edit the php.ini file too:

WARNING!

Setting all the errors to be shown is the worst practice in production as those errors may provide an attacker a lot of useful information about your system: on production, ever turn off all the errors! Ever!

Remember to “Make. Ideas. Happen.”.

I wish you flocking users, see you soon!

2 Responses

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *