Title: PHP Exec &#8211; good news
Last modified: August 19, 2016

---

# PHP Exec – good news

 *  [ozcam](https://wordpress.org/support/users/ozcam/)
 * (@ozcam)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/php-exec-good-news/)
 * OK after many hours of testing I have finally got php code to execute in my sidebars,
   posts and pages.
    Hers how I did it.
 * Required Plug ins
    1.Exec PHP 2. Role Manager 3.Disable WPAUTOP 4. Optional ..
   I also used a plug in called parameter which passes a variable to a post or page
   through a url ( very handy ) Settings in wordpress 1.[leave unchecked] WordPress
   should correct invalidly nested XHTML automatically ..(in the write settings)
   2. [check] Disable the visual editor when writing (your profile) Thats it..

The topic ‘PHP Exec – good news’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ozcam](https://wordpress.org/support/users/ozcam/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/php-exec-good-news/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
