Brian Perondi … Ideas At Random

Change the PHP version in .htaccess

I was getting an alert in the WordPress dashboard that I needed to update my PHP version.

I looked at my server config and it was the correct version, so I needed to see how to have my install recognize the server’s php version.

Found two articles that led me to a fix … I needed to edit my .htaccess file and update the php version … I made an update similar  to what is described in these articles where I updated the AddHandler application/<php version> to the matching php version on the server.

“… Just copy the line with AddHandler application/<php version> from that file into your wordpress .htaccess file. Be sure it matches exactly though” – via beyondmydoor.com

“How to change the PHP version” – supporthost.com