Last active
December 16, 2015 08:49
-
-
Save jaimeivan/5408577 to your computer and use it in GitHub Desktop.
Habilitar los errores de php en el MAMP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.- Creamos un script (phpinfo.php) que muestre: las propiedades que tiene php | |
2.- Ya ejecutado buscamos el dato | |
Loaded Configuration File : /Applications/MAMP/bin/php/php5.4.10/conf/php.ini | |
3.- En el archivo php.ini buscamos las lineas mencionadas y las cambiamos a On | |
4.- Guardamos y reiniciamos servidores |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[php] | |
... | |
display_errors = On | |
display_startup_errors = On | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
phpinfo(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment