How to update encryption key in php?

one text

I'm using openssl_encrypt() function with AES cipher in php to encrypt and decrypt some of my data and store it in database. I want to update my encryption/decryption key every 15 days or so manually. How can I achieve this? and is it possible to decrypt previously encrypted data, with the old encryption key, with new key?

Source