在yosemite中更改php ini文件时,mysql上传大小不会改变

After updating to Yosemite there were a lot of changes including php and mysql versions.

I copied php.ini.default to php.ini.

Although I changed max_upload_size value (to 50M) in /etc/php.ini file, the max upload size in phpMyAdmin has not been changed. Yes, I did not forget to restart apache.

phpinfo() from /Library/WebServer/Documents shows php.ini path as /usr/local/php5/lib.

Hence editing php.ini with max_upload_size to increased value did the job.

Thanks!!