How to determine which php.ini file PHP is using

The following command will list all of the PHP *.ini configuration files it is using. This is for php-cli.

me@box:~$ php --ini
Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File:         /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed:      /etc/php5/cli/conf.d/curl.ini,

Do this with Apache:

Delete a uid from a GPG Key

If you have already committed the UID for an already committed GPG key, you will no longer be able to delete the UID (deluid). You are only permitted to revoke it.

Refresh your key from a keyserver. This will restore the UID you thought
you could delete:
    gpg --keyserver -refresh-keys 0xdecafbad
now use gpg to revoke the UID
    gpg --edit-key 0xdecafbad
gpg displays a list of UIDs on the key. Enter the number of the UID you
wish to revoke. The list is redisplayed with an * next to the selected
one. now use the gpg command revuid to revoke:
    Command> revuid
    Really revoke this user ID? (y/N) y
    Please select the reason for the revocation:
      0 = No reason specified
      4 = User ID is no longer valid
      Q = Cancel
    (Probably you want to select 4 here)
    Your decision? 4
Answer the passphrase prompt and 'save' to update your keyring with the
modified key. Now send the key with revoked UID to the keyservers
    gpg --keyserver -send-keys 0xdecafbad


Create multiple WordPress accounts with the same email address

By default, WordPress only allows a single user account to be associated with a specific email address. If one attempts to do this, then this error is displayed:

 "ERROR: This email is already registered, please choose another one."

This plugin removes that restriction: