Title: shortcode-exec-php doesn&#8217;t work with php 7.4
Last modified: March 17, 2023

---

# shortcode-exec-php doesn’t work with php 7.4

 *  [jpa971](https://wordpress.org/support/users/jpa971/)
 * (@jpa971)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-exec-php-doesnt-work-with-php-7-4/)
 * Hello, i migrate my website to a new server in PHP 7.4. My site use WordPress
   4.9.22
 * I use the plugin shortcode-exec-php with the command mysql_connect(), but this
   command doesn’t exist in PHP 7.4. What can i do?
 * thanks

The topic ‘shortcode-exec-php doesn’t work with php 7.4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exec-php.svg)
 * [Exec-PHP](https://wordpress.org/plugins/exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exec-php/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jpa971](https://wordpress.org/support/users/jpa971/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-exec-php-doesnt-work-with-php-7-4/)
 * Status: not resolved