This release added support for automatic updates from phpids.org, this means you don’t have to wait for Mute Screamer to be updated to get the latest rules and converter for PHPIDS.
The update process will check phpids.org for changes to default_filter.xml and Converter.php. If an update is found it will be displayed on the Updates page in the WordPress admin.
As we are updating Mute Screamer core files we want to be very careful about what is to be updated. That is why when going through the update process you will be shown a diff of the changes to be applied to either default_filter.xml and/or Converter.php.
This lets you see exactly what is going to be changed and gives you a chance to review the changes to make sure they are legit. It was also a good excuse to use the diff engine included in WordPress that is used for comparing post revisions. As always have a backup of your site before running any updates.
Download Mute Screamer
Please use the PHP formula at homebrew-php
. This formula is updated and tested by many more users, and should be considered the go to forumla for PHP. You can also find additional PHP related formulae over at the homebrew-php repository.
Here are some notes on installing PHP 5.3.3 (the latest version at time of writing) with Homebrew, an awesome package manager for OS X.
- If you haven’t done so already, install Hombrew. Check out the installation instructions over at the Hombrew wiki.
- Grab the latest copy of my PHP brew and copy it into your Homebrew Formula directory.
curl -O https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb
mv php.rb `brew --prefix`/Library/Formula
- To see the available options:
brew options php
- Run the brew install php command. The following will install PHP with Apache and MySQL support.
brew install php --with-apache --with-mysql
Or if you want to install php-fpm:
brew install php --with-fpm
Update: You can also just:
# How much do you trust me...
brew install https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb --with-apache --with-mysql
Once thats done you should be good to go.
Note: Depending on your setup you may want to add the following to your .bash_profile:
echo 'export PATH='`brew --prefix php`'/bin:$PATH' >> .bash_profile
This will ensure that BASH has the correct path to the PHP you just installed.
Bonus Points: xdebug
Install xdebug (there’s a brew for that) a great tool to help debug your PHP code:
brew install xdebug