Interesting, Abdelmalek. You are using the "Pro" version of MAMP, which appears to do things a little differently. Thanks for posting your solution as it may help others.
(In XAMPP there is a similar menu. Your solution makes me wonder which exact php.ini file got modified?)