Title: exec-php to work in php 7 needs this&#8230;
Last modified: December 17, 2018

---

# exec-php to work in php 7 needs this…

 *  [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/exec-php-to-work-in-php-7-needs-this/)
 * This plugin requires a number of changes to work with php 7.
 * In exec-php.php
    $GLOBALS[‘g_execphp_manager’] =& new ExecPhp_Manager(); must
   be changed to $GLOBALS[‘g_execphp_manager’] = new ExecPhp_Manager();
 * In includes/manager.php from line 36
    change each =& to =
 * In includes/admin.php lines 53,56,57,63,64,79 change =& to =
 * In includes/cache.php line 22,39 change =& to =
 * In includes/ajax.php line 64 change =& to =

Viewing 1 replies (of 1 total)

 *  [Flankerator](https://wordpress.org/support/users/flankerator/)
 * (@flankerator)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/exec-php-to-work-in-php-7-needs-this/#post-11146721)
 * [@bobjgarrett](https://wordpress.org/support/users/bobjgarrett/) Can’t thank 
   you enough.

Viewing 1 replies (of 1 total)

The topic ‘exec-php to work in php 7 needs this…’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Flankerator](https://wordpress.org/support/users/flankerator/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/exec-php-to-work-in-php-7-needs-this/#post-11146721)
 * Status: not resolved