• Mbstring not found error while installing mailparse PHP extension

    Today I had to install mailparse via PEAR. On installing I came across one of the errors: mbstring not found despite of it was right there. One of the simplest option to fix it is given below. Though I am working on MAMP but it will work with anyone since it’s part of PHP Source. Go to your PHP Source Library. In my case it is: [crayon-6107b25a96735453185587/] and add following lines in mbfilter.h [crayon-6107b25a9673b620320087/] and then run PEAR command again [crayon-6107b25a9673d458250610/] If all goes well it should give something like: [crayon-6107b25a9673e750385835/] Manually add entry of the extension in your php.ini file and it should be available for work.