Title: Problems with PHP.INI
Last modified: March 12, 2021

---

# Problems with PHP.INI

 *  Resolved [ibiza69](https://wordpress.org/support/users/ibiza69/)
 * (@ibiza69)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/)
 * Hi, we are facing problems trying to add the PHP.INI code to our sites, everytime
   we place all our sites get totally blocked.
 * Custom Code > Root htaccess File Custom Code > 1. CUSTOM CODE TOP PHP/PHP.INI
   HANDLER/CACHE CODE:
 * # PHP/php.ini handler htaccess code
    AddHandler application/x-httpd-ea-php72 .
   php .php7 .phtml
 * After placing the code, we reload the htaccess files and setup wizard, but always
   get blocked, so we have to delete htaccess files and make them again without 
   that sentence (PHP.INI)
 * This are the messages it shows after adding the code:
 * – It seems that your PHP installation does not have the MySQL extension, necessary
   to make WordPress work.
 * – Your PHP installation appears to be missing the MySQL extension which is required
   by WordPress.
 * How could we solve this situation? Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [ibiza69](https://wordpress.org/support/users/ibiza69/)
 * (@ibiza69)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/#post-14171356)
 * Hi, thanks in advance, we could fix it!!!
 * Thanks once more!
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/#post-14173420)
 * Are you saying that you already fixed the problem?
 *  Thread Starter [ibiza69](https://wordpress.org/support/users/ibiza69/)
 * (@ibiza69)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/#post-14173473)
 * [@aitpro](https://wordpress.org/support/users/aitpro/) yesss, the problem was
   because the sentence:
 * # PHP/php.ini handler htaccess code
    AddHandler application/x-httpd-ea-php72 .
   php .php7 .phtml
 * We had ‘alt’, instead of ‘ea’ 😳, we found it and solved it!
 * Our server was burned in fire at OVH in Estrasburg a pair of days ago and we 
   had to recondig this small things, but now evrything is fine!
 * Thanks a lot as always!!!
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/#post-14174079)
 * Great! Thanks for confirming you got things fixed.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with PHP.INI’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/problems-with-php-ini/#post-14174079)
 * Status: resolved