Si la commande php –ini retourne quelque chose du genre
php --ini Configuration File (php.ini) Path: /opt/local/etc/php5 Loaded Configuration File: (none) Scan for additional .ini files in: /opt/local/var/db/php5 Additional .ini files parsed: /opt/local/var/db/php5/intl.ini, /opt/local/var/db/php5/openssl.ini
Alors il suffit de faire
cd /opt/local/etc/php5 sudo ln -s /Applications/MAMP/conf/php5.3.27/php.ini php.ini
La commande php –ini doit ensuite retourner le bon fichier
Configuration File (php.ini) Path: /opt/local/etc/php5 Loaded Configuration File: /Applications/MAMP/conf/php5.3.27/php.ini Scan for additional .ini files in: /opt/local/var/db/php5 Additional .ini files parsed: /opt/local/var/db/php5/intl.ini,
3 Responses
L’inverse : sudo ln -s /opt/local/etc/php5/php.ini-development php.ini
Merci !!