How to stop outgoing emails being sent through postfix from your local machine in Mac OS X ?


In latest versions of Mac OS X, by default the postfix is set to send emails from your local machine to outside world. This might cause you troubles if you are developing applications on your local machine and your application has email sending functionality to customers. Unfortunately if you have some customers’ email addresses in …     continue reading  

ERROR: failed to mkdir C:\php\pear\tests\PHP_CodeSniffer\CodeSniffer\Core\File [Solved]

If your PHP installation has been done somewhere else other than the C:\ drive, then “pear install” command may throw errors. Example: Here in my case, the xampp has been installed into E:\ drive and the “pear install” throws error.

Solution: I get into the “pear” directory and checked config values set for different …     continue reading  

Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]

Image: Flicker

The other day, I had some problem setting up latest WordPress coding standard for PHP CodeSniffer on a Windows machine. It was throwing some errors/warnings like the below. There were some others, but eventually we had fixed some of those. However the WP coding standards were not getting listed in phpcs.

Here are the …     continue reading