Title: php7
Last modified: February 7, 2019

---

# php7

 *  Resolved [Flankerator](https://wordpress.org/support/users/flankerator/)
 * (@flankerator)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php7-38/)
 * Hi Alex,
 * I have recently installed a theme that requires php7 but since i switched to 
   php7, i have been getting fatal error on php_everywhere. Can it run on php7?
   
   It was working fine on php5.4 but since i moved to php7 it kept on crashing on
   pages and posts where php-everywhere is being used.
 * This is what I’m getting (“my path” is replacing actual path):
 * Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /my
   path/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code:28 Stack
   trace: #0 /my path/wp-content/plugins/php-everywhere/shortcode.php(15): eval()#
   1 /my path/wp-includes/shortcodes.php(319): php_everywhere_func(Array, ”, ‘php_everywhere’)#
   2 [internal function]: do_shortcode_tag(Array) #3 /my path/wp-includes/shortcodes.
   php(197): preg_replace_callback(‘/\\[(\\[?)(displa…’, ‘do_shortcode_ta…’, ‘<head
   >\r\n<link r…’) #4 /my path/wp-includes/class-wp-hook.php(286): do_shortcode(‘
   <head>\r\n<link r…’) #5 /my path/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘
   <head>\r\n<link r…’, Array) #6 /my path/wp-includes/post-template.php(240): apply_filters(‘
   the_content’, ‘<head>\r\n<link r…’) #7 /my path/wp-content/themes/arcane/page.
   php(7): the_content() #8 /my path/wp-includes/template-loade in /my path/public_html/
   wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 28

Viewing 1 replies (of 1 total)

 *  Thread Starter [Flankerator](https://wordpress.org/support/users/flankerator/)
 * (@flankerator)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php7-38/#post-11182233)
 * Okk, it appears a lot of php extentions have been removed in php7 and replaced
   with new ones. So need to update my code.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘php7’ is closed to new replies.

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

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 1 reply
 * 1 participant
 * Last reply from: [Flankerator](https://wordpress.org/support/users/flankerator/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php7-38/#post-11182233)
 * Status: resolved